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: 
hugetv
Visitor

It helps to create an area of series

Hi all I want to make a section for the series of films so so can enter example

Serie 1
|_ sub serie
|_ sub serie

Serie 2
|_ sub serie
|_ sub serie
Our system http://www.rokumanager.com
0 Kudos
3 REPLIES 3
hugetv
Visitor

Re: It helps to create an area of series

could help me with this
Our system http://www.rokumanager.com
0 Kudos
RokuJoel
Binge Watcher

Re: It helps to create an area of series

Lets say you have xml representing the various series:


<items>
<item>
<itemtype>series</itemtype>
<title>Flash Gordon</title>
<episodes>12</episodes>
<HDposter>http://myserver.com/series/flashgordon/seriesposterHD.jpg</HDposter>
<SDposter>http://myserver.com/series/flashgordon/seriesposterSD.jpg</SDPoster>
<episode_list_url>http://myserver.com/series/flashgordon.xml</episode_list_url>
<description>The original scifi series</description>
</item>
<item>
<itemtype>series</itemtype>
<title>Buck Rogers</title>
<episodes>22</episodes>
<HDposter>http://myserver.com/series/buckrodgers/seriesposterHD.jpg</HDposter>
<SDposter>http://myserver.com/series/buckrodgers/seriesposterSD.jpg</SDPoster>
<episode_list_url>http://myserver.com/series/buckrodgers.xml</episode_list_url>
<description>The original scifi series</description>
</item>
<item>
<itemtype>movie</itemtype>
<title>Space Cruiser Yamato</title>
<HDposter>http://myserver.com/movies/yamatoHD.jpg</HDposter>
<SDposter>http://myserver.com/movies/yamatoSD.jpg</SDPoster>
<description>The 2010 live action Star Blazers movie!</description>
<streams>
<stream>
<url>http://myserver.com/movies/yamato384k.mp4</url>
<bitrate>384</bitrate>
<quality>false</quality>
</stream>
<stream>
<url>http://me.com/yamato2500k.mp4</url>
<bitrate>2500</bitrate>
<quality>true</quality>
<stream>
</streams>
</item>
</items>


So when the user selects a series, you check if the content type is a single item or a series. If it is a movie, then launch an roSpringboardScreen to display the movie and let the user play it, otherwise use the episode_list_url to retrieve the list of episodes as xml, parse that data then create a new roPosterScreen and display that content there.

- Joel
0 Kudos
hugetv
Visitor

Re: It helps to create an area of series

Thank you friend
Our system http://www.rokumanager.com
0 Kudos