Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mitchstein
Roku Guru

Json File "Series" sample feed

after manyt weeks of working with roku tech support we got the series feed to injest here is a snipet:

{
    "providerName": "TVByDemand Productions",
    "lastUpdated": "2017-06-12T10:38:28+00:00",
    "language": "en",
    "series": [{
        "id": "1",
        "title": "Bonanza",
        "seasons": [{
            "seasonNumber": 1,
            "episodes": [{
                "id": "2085",
                "title": "S1E12 The Hanging Posse",
                "content": {
                    "dateAdded": "2016-03-03T12:35:13+00:00",
                    "videos": [{
                        "url": "http://www.tvbydemand.com..................shed.ism/manifest",
                        "quality": "SD",
                        "videoType": "SMOOTH"
                    }],
                    "duration": 3623
                },
                "thumbnail": "http://www.tvbydemand.com/images/bonanza.JPG",
                "episodeNumber": 12,
                "releaseDate": "1959-11-09",
                "shortDescription": "S1E12 The Hanging Posse"
            }]
        }],
        "genres": ["comedy"],
        "thumbnail": "http://www.tvbydemand.com/images/bonanza.jpg",
        "releaseDate": "1952-01-01",
        "shortDescription": "Bonanza"
    }]
}


Hope this helps people out..

I was told to add in adbreaks to insert the ad break line after the duration line in each episode.
Also for some reason it is not displaying in the channel properly, they assured me they are working on it.
http://www.TVByDemand.com
0 Kudos
21 REPLIES 21
rbrooks80
Visitor

Re: Json File "Series" sample feed

This helped answer a question I've had- thanks for sharing!

I do have one question in relation- 

When it comes to the json scripting for multiple episodes in a series, how did you input them in so that multiple episodes would be listed under a specific series and season?  

So far whenever i try to place more than one episode of a series into the scripting, it will only display the last episode placed in, and ignores the ones that came before it.  Was curious if you could share how/if you were able to make it work on your end so that you could list multiple episodes from a series?

Any advise would be appreciated.

Thanks again.
0 Kudos
Zelkowo
Visitor

Re: Json File "Series" sample feed

Awesome thanks for posting...  Roku's documentation is pretty good, but nothing beats an actual example.
All of my work so far has been with the short form videos, but I want to start building series into my platform.

Question, related to series:  is it REQUIRED that a series contain closed captioned object?  Looking at your example I don't see one.  In calling something a "TV Series", are there any ADA guidelines we need to follow i.e. closed captioning?
0 Kudos

Re: Json File "Series" sample feed

Closed captioning is not required even though the documentation says it is.
0 Kudos
newchannel
Roku Guru

Re: Json File "Series" sample feed

Thank you for the json.

I can't figure how to setup a playlist for a series to be added to a category. 

I have playlists working for my other content. I see the series id in the json example is 1. For the id's  for a playlist is it the series id of 1 that gets added?

In all of my other playlists for content, I have the id's listed for each of my videos. Is a playlist coded differently for a series?

Thank you.

EDITED: Got the series json added and working. The problem was a bad video url. I am now trying to "season 2". This one has me stumped because at the end of the code my brackets are not coming out right and al of my changes aren't working. ugh...back to the drawing board. 

Does anyone have a json sample for adding multiple seasons? 

Thank youl
http://www.victoryNOWfilmsandtv.com
0 Kudos
mitchstein
Roku Guru

Re: Json File "Series" sample feed

"newchannel" wrote:
Thank you for the json.

I can't figure how to setup a playlist for a series to be added to a category. 

I have playlists working for my other content. I see the series id in the json example is 1. For the id's  for a playlist is it the series id of 1 that gets added?

In all of my other playlists for content, I have the id's listed for each of my videos. Is a playlist coded differently for a series?

Thank you.

EDITED: Got the series json added and working. The problem was a bad video url. I am now trying to "season 2". This one has me stumped because at the end of the code my brackets are not coming out right and al of my changes aren't working. ugh...back to the drawing board. 

Does anyone have a json sample for adding multiple seasons? 

Thank youl

I tried and tried, I eventually just gave up on the series, it's way too complicated of a setup to maintain. I instead setup multiple channels using the straight media designation..
I even had a tech support guy from Roku work with me, we got the syntax 100% for the entire Bonanza series, but then we could not get anything to display on the channel..

But if you ever get it working please send up a template..
http://www.TVByDemand.com
0 Kudos
newchannel
Roku Guru

Re: Json File "Series" sample feed

I will share it with you if I ever get it working. I've been looking at coming up with other ways to get the content added. Taking way too much time away from getting all of my channels converted over to the DP.. I've got a few other problems because the credit object and short description for movies is not working. Another mountain to tackle. 

New to json so trying to learn all I can.

Thanks again for sharing your json. it was a huge help.
http://www.victoryNOWfilmsandtv.com
mitchstein
Roku Guru

Re: Json File "Series" sample feed

yeah, my json file imported, but then it wouldn't display any videos in the channel. And tech support just stopped.. It was taking so much time, like you said, I just gave up and made several DP channels using the basic media element to hold all my content.. I have 4 working channels now. Still all in all Roku has the easiest platform to develop for. Eventually I'm going to learn thier language and write a custom channel.. But first I'm working on visual studio 2016 pro.. I need to make an android and kodi application for the website first..

Now I'm also working on installing wordpress on one of my windows servers to try that guys plugin, plus play with some of the other wordpress features that may compliment some of the things I want to do to modernize my website, figure I'd play with that json file plugin as well when I get some free time, if anything comes of it I'll post the results here..
http://www.TVByDemand.com
0 Kudos
newchannel
Roku Guru

Re: Json File "Series" sample feed

I'm glad you found a work around to get your channels going. I have 10 channels to change over with DP and some are subscription based. I was reading about a wordpress plug-in the other day that looked promising. My website isn't monetized right now. Maybe I'll get around to doing that once I get all of my channels converted. I hope you get everything working like you want. DP looks great as long as I can get my json to work. It's working except for the short description and I was going to add the credits object but I might just skip it to save time right now. The release date is taking my time too..it stopped working and have no idea why. When it said 2015 it worked but changing it to a very old date like 1930..well the release date disappears ..lol back to the drawing board 🙂
http://www.victoryNOWfilmsandtv.com
0 Kudos
Baradanikto
Roku Guru

Re: Json File "Series" sample feed

Please take a moment to look at the software I have written to create and manage JSON feeds.  I wrote it to make creating and managing my channel a lot easier.   And, I've used it to create several series with episodes with no problems.  Several users on this forum have purchased it.  There's really no reason to struggle with the JSON syntax when there are solutions that make it easier to manage.

The software is called JSON Feed Manager.  There's a demo available and a tutorial video.
FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos