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

[RESOLVED]Help me understand why my video isn't playing

I just created a private channel for my viewing pleasure, but when I try to play the first video it hangs at "Receiving..." I've tried hosting the video files on both my localhost and web server (HostNine) but to no avail.


<!-- categories -->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<categories>
<category title="The Twilight Zone (1959)" description="Rod Serling's seminal anthology series" sd_img="http://localhost/roku/artwork/The.Twilight.Zone.(1959).SD.jpg" hd_img="http://localhost/roku/artwork/The.Twilight.Zone.(1959).HD.jpg">
<categoryLeaf title="Season 1" description="This title needs a description" feed="season1.xml" />
</category>
</categories>


<!-- season1.xml -->
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed>
<resultLength>1</resultLength>
<endIndex>1</endIndex>
<item sdImg="http://localhost/roku/artwork/" hdImg="http://localhost/roku/artwork/">
<title>Where Is Everybody? (Season 1, Episode 1)</title>
<contentId>10001</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<media>
<streamFormat>mp4</streamFormat>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://localhost/roku/video/The.Twilight.Zone.(1959)/The.Twilight.Zone.(1959).S01E01.mp4</streamUrl>
</media>
<synopsis>A man finds himself in a town devoid of people and with no memory of who he is.</synopsis>
<genres>Clip</genres>
<runtime>2102</runtime>
</item>
</feed>


Please help! My wife is getting angry that I've spent so much time on this.

https://owner.roku.com/add/CQTGF
0 Kudos
9 REPLIES 9
destruk
Binge Watcher

Re: Help me understand why my video isn't playing

Does any message show up in the diagnostic screen when you try to start playback?
telnet ipaddressofroku 8085
0 Kudos
TheEndless
Channel Surfer

Re: Help me understand why my video isn't playing

"destruk" wrote:
Does any message show up in the diagnostic screen when you try to start playback?
telnet ipaddressofroku 8080

Psst.. 8085 😉
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Binge Watcher

Re: Help me understand why my video isn't playing

ergh...corrected...been a long day of editing xml... 🙂
0 Kudos
clonemaster
Visitor

Re: Help me understand why my video isn't playing

Here is what I have...


joshua@ubuntu:~$ telnet 192.168.2.4 8085
Trying 192.168.2.4...
Connected to 192.168.2.4.
Escape character is '^]'.
0
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 85ms
Parse Took: 2ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 9ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 231
Can't parse feed
showPosterScreen | msg = | index = 0
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 154ms
Parse Took: 2ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 9ms
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 63ms
Parse Took: 1ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 16ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 240
Can't parse feed
showPosterScreen | msg = | index = 0
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 127ms
Parse Took: 3ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 8ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 241
Can't parse feed
showPosterScreen | msg = | index = 0
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 161ms
Parse Took: 2ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 9ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 321
Can't parse feed
showPosterScreen | msg = | index = 0
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 277
Can't parse feed
showPosterScreen | msg = | index = 0
------ Running ------
created feed connection for http://joshua.mallory.com/roku/xml/categories.xml
url: http://joshua.mallory.com/roku/xml/categories.xml
Took: 243ms
Parse Took: 2ms
begin category node parsing
number of categories: 1
ParseCategoryNode: category
category: The Twilight Zone (1959) | Rod Serling's seminal anthology series
categoryLeaf: Season 1 [This title needs a description]
ParseCategoryNode: categoryLeaf
added new child node
Traversing: 10ms
showHomeScreen | msg = | index = 0
list item selected | index = 0
created feed connection for season1.xml
url: season1.xml
Request Time: 263
Can't parse feed
showPosterScreen | msg = | index = 0
0 Kudos
renojim
Community Streaming Expert

Re: Help me understand why my video isn't playing

The "Can't parse feed" is your problem. Maybe you should post the XML.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
clonemaster
Visitor

Re: Help me understand why my video isn't playing

"renojim" wrote:
The "Can't parse feed" is your problem. Maybe you should post the XML.

-JT


Yeah I saw that too but can't find any problems with the XML. I included my code in the first post.
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: Help me understand why my video isn't playing

"clonemaster" wrote:
created feed connection for season1.xml


I'm pretty sure you need to give it a complete URL as the value of the feed attribute.
0 Kudos
clonemaster
Visitor

Re: Help me understand why my video isn't playing

"RokuChris" wrote:

I'm pretty sure you need to give it a complete URL as the value of the feed attribute.


You're right, FIXED!
0 Kudos
clonemaster
Visitor

Re: [RESOLVED]Help me understand why my video isn't playing

Thanks to everyone for their help!
0 Kudos