# It helps to create an area of series

**URL:** <https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [February 11, 2015, 6:41pm UTC](https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667 "2015-02-11T18:41:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugetv](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hugetv](https://forum.developer.roku.com/u/hugetv)\
**Post date:** [February 11, 2015, 6:41pm UTC](https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667/1 "2015-02-11T18:41:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hugetv](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hugetv](https://forum.developer.roku.com/u/hugetv)\
**Post date:** [February 12, 2015, 8:20pm UTC](https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667/2 "2015-02-12T20:20:43Z")

</div>

could help me with this

---

<div class="post-metadata">

**Author:** ![RokuJoel](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RokuJoel](https://forum.developer.roku.com/u/RokuJoel)\
**Post date:** [February 12, 2015, 9:36pm UTC](https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667/3 "2015-02-12T21:36:12Z")

</div>

Lets say you have xml representing the various series:

```auto

<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

---

<div class="post-metadata">

**Author:** ![hugetv](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@hugetv](https://forum.developer.roku.com/u/hugetv)\
**Post date:** [February 12, 2015, 9:54pm UTC](https://forum.developer.roku.com/t/it-helps-to-create-an-area-of-series/5667/4 "2015-02-12T21:54:10Z")

</div>

Thank you friend
