Forum Discussion
Still no answers from Roku or anything of best functional value from anybody else. Same problems and lack of DOCUMENTATION exist. There is still nothing in the "Direct Publisher to SDK Conversion Guide" about CATEGORIES!
It was (other than graphics for stuff) the MAIN functionality of Direct Publisher but there is no documentation on how to replicate it during a conversion!
In the words of Joe Biden . . . COME ON MAN!
Looking at the JSON feed in the "scenegraph-master-sample" I now wonder if the JSON for Direct Publisher is NOT what SceneGraph can use. I tried finding a JSON feed for Roku SDK specification but all I find is the Direct Publisher one. Since it is specifically labeled as being for Direct Publisher does it include things that SDK examples CANNOT USE?! (Such as the Categories functions!)
Some actual statements from ROKU seem to be in order, since all the "Categories" in the GridScreen example in the master ZIP have every "Named Category" in a different sub-list under the heading of the "Specific Category Named" in the JSON feed. So they don't use any Category functions to compile and sift and sort the feed contents based on TAGS for listing in the rows/categories displayed.
If they actually wanted to be helpful (which the obviously DON'T!) they would just publish the Roku Channel SDK so people can see what they do on their own stuff.
- Baradanikto2 years agoRoku Guru
jsonnentag Have you tried using the wizard tool I wrote? It was designed to relieve the stress of converting from DP to SceneGraph. And, yes, it will parse your feed file according to your defined categories.
- jsonnentag2 years agoStreaming Star
I guess you are referring to this here:
https://github.com/rrirower/DP2SceneGraphWizard
What does this mean exactly?
"NOTE: Your feed file MUST use an extension of '.JSON' or '.XML' and MUST conform to the Direct Publisher JSON and MRSS feed specifications AND define Category objects."
What kind of "Category objects" are required? Only the list of specific episodes or are the Tag based categories supported as well?
Right now (and since I setup the Direct Publisher JSON feed 6 years ago) DP was set to use TAGS to determine what items to list in which Categories. The Note states Categories must be defined, but are both types of categories supported?
https://developer.roku.com/docs/specs/direct-publisher-feed-specs/json-dp-spec.md#content-categories
The feed specification says:
"* A category must contain either a playlistName or query field."
Are both supported in your wizard or only the "playlistName" style where "itemIds" are listed out for each Category? (Either way - whichever you set things up for - I'm going to have to manufacture something before it could hope to work at all.)
- Baradanikto2 years agoRoku Guru
The wizard tool generates code that supports the full Json spec. So, categories are fully supported. Categories based on queries and playlists are supported.
If you have further questions or would like to discuss further, please do so on the GitHub site.