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: 
37mediagroup
Roku Guru

Re: Sample Direct Publisher Feed

Ken,

  I too was thouroughly confused when I first started. I know a bit about web design and code, but JSON was unfamiliar to me.  I seemed way in over my head.  However, I disagree with part of your sentiments, as just "replacing links" was really all I was looking for.  I don't find that actual "coding", but all I was asking for was a sample template. 

 What's not mentioned in the tutorial is that all you need to do is copy the mumbo jumbo text/code from their sample feed:  https://api.myjson.com/bins/4tu28  and paste it into a JSON validator like here:  http://jsonlint.com/  and it nicely formats your code for you. All you then need to do is replace the names, descriptions, IDs, and mostly the video link URL.  Just getting a URL should be pretty easy, I can't see how Roku could find it video any other method.

After all, let's not make it too simple. Gotta hope Roku can seperate the wheat from the chaff, otherwise it'll turn into YT.
0 Kudos
newchannel
Roku Guru

Re: Sample Direct Publisher Feed

Thank you Pasnow. 

So I can add all of the info for the channel into one json file and put it on my server and then use the url to that one file, correct? I don't need to make a json for each category, genre etc? What about saving the JSON..."encoding" should it be the utf-8?

And Ken, I too have been feeling frustrated. I wanted to learn what to do but couldn't find the missing pieces.
http://www.victoryNOWfilmsandtv.com
0 Kudos
Baradanikto
Roku Guru

Re: Sample Direct Publisher Feed

Hi RokuChrisT,

I'm trying to get my feed status updated, but, it's been several hours (overnight) and the status has not changed from:


"Please come back to this page in a few minutes to see the new feed status."



I'm not using JSON.  I've tried to build an MRSS feed (xml file) from the MRSS Feed Specification[/url:21w2z0u5], but, I don't get any feed status.  I could not find an examp...
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
hpdean
Visitor

Re: Sample Direct Publisher Feed

@newchannel

Yes, all the categories and video urls, etc., are in one file. Here is my channel with three categories using the TV Specials object. See the categories/playlist at the bottom of the file.
http://hproku.s3.amazonaws.com/JSON/content-feed.json
0 Kudos
newchannel
Roku Guru

Re: Sample Direct Publisher Feed

hpdean,

Thank you! Big help. I can make one file and then put the .JSON file on my AWS server and then use the url to the file..do I have it right?

Whew, I believe it's beginning to make sense. 

When you save the information in the JSON as a .json file, in the save panel on computer are you using the utf-8 setting?

Thank you for the help.
http://www.victoryNOWfilmsandtv.com
0 Kudos
hpdean
Visitor

Re: Sample Direct Publisher Feed

I do mine in dreamweaver, so I dont have to choose one of those but I am sure that will work. Also, remember when you upload your file to AWS, switch back to the old console and change your metadata to content-type and then type in "applicatiom.json"
0 Kudos
newchannel
Roku Guru

Re: Sample Direct Publisher Feed

hpdean,

I've been using Cloudberry to access the aws. It has made the process for the other channels I made a lot easier. Not sure how to do the metadata change you mentioned..Do you mean on the server or in the json file itself? I'll have to look into that part.

EDIT: Just looked up info for changing content-type using cloudberry and they have a tutorial in case it helps anyone else. I have not attemped it yet but looks like a good tutorial.

https://www.cloudberrylab.com/blog/how-to-add-custom-content-types-with-cloudberry-s3-explorer/

Thanks again for helping hpdean.
http://www.victoryNOWfilmsandtv.com
0 Kudos
37mediagroup
Roku Guru

Re: Sample Direct Publisher Feed

I would try just pasting it into Notepad if you don't have any coding software. Eclipse or Notepad++, free software should work as well. Anyway one novice coding thing to look out for, if you copy & paste video sections to make more, please note that the last video in the list cannot have a comma after the last }] bracket.  All others will end }], meaning more to follow, so they need the comma. However I ran into "Invalid JSON" on my first due to still having a comma in the last one, with nothing more to follow. Beginners mistake:)
0 Kudos
newchannel
Roku Guru

Re: Sample Direct Publisher Feed

Pasnow,

Thank you for this tip...   😄
http://www.victoryNOWfilmsandtv.com
0 Kudos
a3mediallc
Visitor

Re: Sample Direct Publisher Feed

All these examples are failing the Categories check in the publisher, which is what my programmer and I are having trouble with.

Thanks in advance for the help!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.