Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
uarlive
Visitor

Problems with video player example

Hello.

I have a line of code (category) i am trying to remove from the video player example. When i remove the TED line of code the channel will not load. but if i leave it inserted everything works fine. all help is appreciated. thanks.

here is the xml file i am editing.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>

<!-- banner_ad: optional element which displays an at the top level category screen -->
<banner_ad sd_img="http:/
<category title="Technology" description="TED Talks on Technology" sd_img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/TED_Technology.png" hd_img="http://rokudev.roku.com/rokudev/examples/videoplayer/images/TED_Technology.png">
<categoryLeaf title="The Mind" description="" feed="http://rokudev.roku.com/rokudev/examples/videoplayer/xml/themind.xml"/>
</category>


<category title="" description="" sd_img="" hd_img="">

<categoryLeaf title="Music Videos" description="" feed="" />
<categoryLeaf title="EPKs" description="" feed="" />
<categoryLeaf title="Interviews" description="" feed="" />
<categoryLeaf title="Live Performances" description="" feed=""/>


</category>

</categories>
0 Kudos
4 REPLIES 4
destruk
Binge Watcher

Re: Problems with video player example

If you remove the main category line then it can't parse the child catagories. You'll want to modify the parsing routine in the script if you want to remove that.
As far as the video player xml goes - the genre is actually the "actors", and the ContentType holds the invalid value of "Talk". It could use an update, perhaps in the next SDK release they'll fix a few things.
0 Kudos
uarlive
Visitor

Re: Problems with video player example

thanks. can you tell me which script i need to edit?
0 Kudos
destruk
Binge Watcher

Re: Problems with video player example

categoryfeed.brs and showfeed.brs
0 Kudos
uarlive
Visitor

Re: Problems with video player example

thanks.
0 Kudos