destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2011
01:54 PM
Improper Stream URL reboots Roku
faulty reboot crash code is:
m.filesystem=CreateObject("roFileSystem")
If m.filesystem.exists("ext1:/")
this.player.SetContentList([{
Stream: { ext1: "/test.mp4" }
StreamFormat: "mp4"
}])
correct code is:
m.filesystem=CreateObject("roFileSystem")
If m.filesystem.exists("ext1:/test.mp4")
this.player.SetContentList([{
Stream: { url: "file://ext1:/test.mp4" }
StreamFormat: "mp4"
}])
Would it be possible to add the "invalid URL" error message and properly handle the error to prevent a reboot in the firmware?
m.filesystem=CreateObject("roFileSystem")
If m.filesystem.exists("ext1:/")
this.player.SetContentList([{
Stream: { ext1: "/test.mp4" }
StreamFormat: "mp4"
}])
correct code is:
m.filesystem=CreateObject("roFileSystem")
If m.filesystem.exists("ext1:/test.mp4")
this.player.SetContentList([{
Stream: { url: "file://ext1:/test.mp4" }
StreamFormat: "mp4"
}])
Would it be possible to add the "invalid URL" error message and properly handle the error to prevent a reboot in the firmware?
1 REPLY 1

RokuKevin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2011
10:44 AM
Re: Improper Stream URL reboots Roku
We don't like crashes either.... I've opened a bug.
--Kevin
--Kevin