ginedy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2015
12:00 PM
Urgent Help please, completely lost.
Hi Roku Forum users. My Roku package or (channel) was sent back to me and not made public because I had a few issues to take care of first. I fixed them all but one. Roku wants me to put an "error message when live is not available" how or where do I go to add this? Is that a line on my xml feed or what? Im working with BrightScript.
Thanks,
Ben
Thanks,
Ben
3 REPLIES 3

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2015
03:31 PM
Re: Urgent Help please, completely lost.
in your video playback function's if/then section, check for msg.isRequestFailed() and if that is true, pop a dialog box that says "sorry, live stream is not available at this time".
- Joel
- Joel
ginedy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2015
11:03 AM
Re: Urgent Help please, completely lost.
@Rokujoel, Is this the way to do a dialog box, and where do I insert this code?? Working with BrightScript
Thanks for all your help.
Function ShowMessageDialog() As Void
port = CreateObject("roMessagePort")
dialog = CreateObject("roMessageDialog")
dialog.SetMessagePort(port)
dialog.SetTitle("[Message dialog title]")
dialog.SetText("[Message dialog text............]")
dialog.AddButton(1, "[button text]")
dialog.EnableBackButton(true)
dialog.Show()
While True
dlgMsg = wait(0, dialog.GetMessagePort())
If type(dlgMsg) = "roMessageDialogEvent"
if dlgMsg.isButtonPressed()
if dlgMsg.GetIndex() = 1
exit while
end if
else if dlgMsg.isScreenClosed()
exit while
end if
end if
end while
End Function
Thanks for all your help.
Function ShowMessageDialog() As Void
port = CreateObject("roMessagePort")
dialog = CreateObject("roMessageDialog")
dialog.SetMessagePort(port)
dialog.SetTitle("[Message dialog title]")
dialog.SetText("[Message dialog text............]")
dialog.AddButton(1, "[button text]")
dialog.EnableBackButton(true)
dialog.Show()
While True
dlgMsg = wait(0, dialog.GetMessagePort())
If type(dlgMsg) = "roMessageDialogEvent"
if dlgMsg.isButtonPressed()
if dlgMsg.GetIndex() = 1
exit while
end if
else if dlgMsg.isScreenClosed()
exit while
end if
end if
end while
End Function
kthao
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2015
07:14 AM
Re: Urgent Help please, completely lost.
Did you figure out how to do this? ? I have the same issue and don't know where to put the code.