Forum Discussion

newchannel's avatar
newchannel
Roku Guru
8 years ago

json "Seasons" help

I've gotten season 1 working for a series. Can't get season 2 of the same series to work. Any json snippets someone can share?

Thank you.

4 Replies

  • LDMnetwork's avatar
    LDMnetwork
    Channel Surfer

    Can you share the Json code for getting season to work. I have a channel and want to sort my videos by seasons.

    • Baradanikto's avatar
      Baradanikto
      Roku Guru

      I provide free software to create and manage a channel feed.  With it, you can set up Series with Seasons easily.  Check my signature below for information.

  • Hi newchannel,

    To create a series with seasons you need to have seasons key with seasonsNumber, here is a sample JSON (BTW you can create this feed on our OTTfeed.com platform in 1 minute):

    {
        "providerName": "OTTfeed.com"
        , "lastUpdated": "2021-11-19T12:08:11+00:00"
        , "language": "en-US"
        , "series": [{
            "id": "ORwGYpnJ8SVgj7Tt5E5L"
            , "title": "OTTfeed Sample Series"
            , "genres": ["technology"]
            , "releaseDate": "2021-11-01"
            , "thumbnail": "https://ottfeed.com/GCUGbgJZalE6XOuIzJVV/OTTfeed-series.png"
            , "shortDescription": "OTTfeed.com is all-in-one video feed management system for Roku Direct Publisher, Roku, FireTV Channel and other custom OTT apps."
            , "longDescription": "OTTfeed.com is all-in-one video feed management system for Roku Direct Publisher, Roku, FireTV and other custom OTT apps. Manage your OTT channel content with ease and speed. Connect your Vimeo Pro, create custom ad breaks and group content into categories, seasons and playlists."
            , "tags": ["OTTfeed.com"]
            , "rating": {
                "rating": "UNRATED"
                , "ratingSource": "USA_PR"
            }
            , "seasons": [{
                "seasonNumber": 1
                , "episodes": [{
                    "id": "ORwGYpnJ8SVgj7Tt5E5L1tHaubQawflBrP7gRNVDZ"
                    , "title": "OTTfeed platform"
                    , "content": {
                        "dateAdded": "2021-01-23T16:37:44+00:00"
                        , "videos": [{
                            "url": "https://player.vimeo.com/external/503843051.m3u8?s=3974cdc322b7403d53d41cb8fb3fd609244f2e38&oauth2_token_id=1428871640"
                            , "quality": "FHD"
                            , "videoType": "HLS"
                        }]
                        , "duration": 15
                        , "language": "en-US"
                    }
                    , "thumbnail": "https://i.vimeocdn.com/video/1042458273-46eb2ecd529e8629c86c9e6245297bb99abb04d64672b44cddff1a1bb0325c95-d_1920x1080?r=pad"
                    , "episodeNumber": 1
                    , "shortDescription": "All-in-one feed management system for Roku Direct Publisher, Roku Channel and custom OTT apps"
                    , "longDescription": "All-in-one feed management system for Roku Direct Publisher, Roku Channel and custom OTT apps"
                    , "rating": {
                        "rating": "UNRATED"
                        , "ratingSource": "USA_PR"
                    }
                    , "releaseDate": "2021-01-23"
                    , "tags": ["ottfeed"]
                }, {
                    "id": "ORwGYpnJ8SVgj7Tt5E5L1oO4O0XMsyP1kMnrFCLlZ"
                    , "title": "Problems with Roku Direct Publisher? Time to upgrade"
                    , "content": {
                        "dateAdded": "2021-02-25T14:57:43+00:00"
                        , "videos": [{
                            "url": "https://player.vimeo.com/external/516726184.m3u8?s=77e90efd263991c4917192333d4cc663ca889407&oauth2_token_id=1428871640"
                            , "quality": "FHD"
                            , "videoType": "HLS"
                        }]
                        , "duration": 24
                        , "language": "en-US"
                    }
                    , "thumbnail": "https://i.vimeocdn.com/video/1069956014-88eb6bace237dc7869506c12da9a93eaa6bd972b29691733a35f434e70fe8abb-d_1920x1080?r=pad"
                    , "episodeNumber": 2
                    , "shortDescription": "Upgrade to a custom Roku app & supercharge your content and ad revenue with a feature-rich and fully customizable app on a small-scale budget. Request a demo at OTTfeed.com."
                    , "longDescription": "Upgrade to a custom Roku app & supercharge your content and ad revenue with a feature-rich and fully customizable app on a small-scale budget. Request a demo at OTTfeed.com."
                    , "rating": {
                        "rating": "UNRATED"
                        , "ratingSource": "USA_PR"
                    }
                    , "releaseDate": "2021-11-01"
                    , "tags": ["OTTfeed.com"]
                }]
            }, {
                "seasonNumber": 2
                , "episodes": [{
                    "id": "ORwGYpnJ8SVgj7Tt5E5L2dYxEDlmTNUptzTgh4moe"
                    , "title": "Video feed management system for Roku DP"
                    , "content": {
                        "dateAdded": "2021-03-01T15:58:50+00:00"
                        , "videos": [{
                            "url": "https://player.vimeo.com/external/518189117.m3u8?s=3e4d9eea851bee3be13fafcfd234c07082dd83c2&oauth2_token_id=1428871640"
                            , "quality": "FHD"
                            , "videoType": "HLS"
                        }]
                        , "duration": 87
                        , "language": "en-US"
                    }
                    , "thumbnail": "https://i.vimeocdn.com/video/1073219831-70319d7bc392d2e2bc88e414426cfcf79d7b3c08163b4d04c17405c3fce1f450-d_1920x1080?r=pad"
                    , "episodeNumber": 1
                    , "shortDescription": "OTTfeed.com is all-in-one feed management system for Roku Direct Publisher, Roku Channel and custom OTT apps. Request a demo at OTTfeed.com."
                    , "longDescription": "OTTfeed: all-in-one feed management system for Roku Direct Publisher, Roku Channel and custom OTT apps. Request a demo at OTTfeed.com."
                    , "rating": {
                        "rating": "UNRATED"
                        , "ratingSource": "USA_PR"
                    }
                    , "releaseDate": "2021-11-01"
                    , "tags": ["OTTfeed.com"]
                }, {
                    "id": "ORwGYpnJ8SVgj7Tt5E5L282uDwjS4T9XIOKCSsdFE"
                    , "title": "OTTfeed Custom Roku App Preview"
                    , "content": {
                        "dateAdded": "2021-04-16T07:49:11+00:00"
                        , "videos": [{
                            "url": "https://player.vimeo.com/external/537609090.m3u8?s=4e3ccc1413677e45b054f60ed46c51fa8d4e84b5&oauth2_token_id=1428871640"
                            , "quality": "FHD"
                            , "videoType": "HLS"
                        }]
                        , "duration": 130
                        , "language": "en-US"
                    }
                    , "thumbnail": "https://i.vimeocdn.com/video/1112879014-999c735a9fed16419b69863399f0a75d27994f30d88c57c24ed8a9e832c465b6-d_1920x1080?r=pad"
                    , "episodeNumber": 2
                    , "shortDescription": "Take full control off your Roku channel, grow your audience and increase your ad revenue with our state of the art turn-key app with no coding or hidden cost."
                    , "longDescription": "Take full control off your Roku channel, grow your audience and increase your ad revenue with our state of the art turn-key app with no coding or hidden cost."
                    , "rating": {
                        "rating": "UNRATED"
                        , "ratingSource": "USA_PR"
                    }
                    , "releaseDate": "2021-11-02"
                    , "tags": ["OTTfeed.com"]
                }]
            }]
        }]
        , "categories": [{
            "name": "Latest"
            , "order": "most_recent"
            , "query": "OTTfeed.com"
        }]
        , "playlists": []
    }

    Download the file:
    https://ottfeed.com/GCUGbgJZalE6XOuIzJVV/OTTfeed-RDP-series-seasons.json

    Also, here are our latest post:

    Increase your Roku ad revenue by 3x

    How to generate Vimeo API access token for Roku Direct Publisher channel or any other OTT app

    Everything you need to know before you start your Roku Direct Publisher channel

    And our Solutions:

    - Manage your Roku Direct Publisher video content from Vimeo Pro with OTTfeed.com platform

    - Custom Roku Solution

    - Custom FireTV Solution

  • LDMnetwork's avatar
    LDMnetwork
    Channel Surfer

    This is my code that I have.  Can someone change my code to reflect a series and season 

    {
    "providerName": "Hosttec Solutions",
    "language": "en-US",
    "lastUpdated": "2017-02-07T18:12:32.125Z",
    "tvSpecials": [
    {
    "id": "647121359",
    "title": "EL Lantio Rudio Season 2 EP 5",
    "shortDescription": "Today we speak about PR Debit, A lost in the Latino Community, Jay Lo and more.",
    "thumbnail": "https://i.vimeocdn.com/video/1302909206-99d72b32701f61e95712d45dee0169de1670cd95a4bb4b8af_800x450.png",
    "episodeNumber": 5,
    "releaseDate": "2021-11-17T20:15:25-05:00",
    "genres": [
    "educational",
    "history",
    "news",
    "reality"
    ],
    "tags": [
    "educational",
    "history",
    "news",
    "reality"
    ],
    "content": {
    "dateAdded": "2021-11-17T20:48:38-05:00",
    "duration": 3571,
    "videos": [
    {
    "url": "https://player.vimeo.com/external/647121359.sd.mp4?s=1a74cd5f7deee0fd37899ab6bc6375d4ed9aa993&profile_id=165",
    "quality": "HD",
    "videoType": "MP4",
    "bitrate": 1586158

    }
    ]
    }
    }
    ],
    "playlists": [
    {

    "name": "ELLatinoRudio",
    "itemIds": [
    "647121359"

    },
    {
    "name": "EL Latino Rudio",
    "playlistName": "ELLantioRudio",
    "order": "manual"