alexboyer
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013
01:28 PM
GetIndex() returns -5
Anyone know what this means? It's not in the documenation.
This is for roVideoScreenEvent
This is for roVideoScreenEvent
4 REPLIES 4

RokuMarkn
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013
01:58 PM
Re: GetIndex() returns -5
I assume this is after isRequestFailed()? -5 is a media error; most likely the stream format is not supported. I have updated the documentation.
--Mark
--Mark
alexboyer
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013
02:12 PM
Re: GetIndex() returns -5
Ok, thanks.
I am having difficulty with playback. It's going through the motions but fails at some point:
Output:
Thanks again.
I am having difficulty with playback. It's going through the motions but fails at some point:
while true
msg = wait(0, m.screen.GetMessagePort())
print "Message = "; msg.GetMessage()
if msg.isRequestFailed() then
print "play failed: "; msg.GetInfo()
end if
end while
Output:
Message = Stream started.
Message = License acquisition status
Message = The requested operation is not implemented.
Message =
play failed: MediaFormat: <Component: roAssociativeArray>
Thanks again.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013
02:15 PM
Re: GetIndex() returns -5
You'll also get a -5 if the stream URL returns a 404. I'd suggest adding an roSystemLog and listening for http.connect and http.error to see if that sheds more light on the issue.
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
alexboyer
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013
04:07 PM
Re: GetIndex() returns -5
Thanks, the systemLog helped loads!