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

Removing the Stars on Live Stream Videoplayer

I have an app that runs live streaming, and when I submitted it, I got a response about adding text inside the appDetailScreen.brs file

screen.setstaticratingenabled(false)


I was told

Please use SetStaticRatingEnabled(False) on your springboard

If your channel is based on the videoplayer example you can go into the preshowdetails function and the refreshShowDetails functions and add screen.setstaticratingenabled(false), if you remove the line, the stars will show.


but when I placed the code inside the appDetailScreen.brs I couldn't compile the app to package it.
0 Kudos
12 REPLIES 12
RokuMarkn
Visitor

Re: Removing the Stars on Live Stream Videoplayer

What was the error message from the debugger?

--Mark
0 Kudos
SevensOrtiz
Visitor

Re: Removing the Stars on Live Stream Videoplayer

no the error message was an Email from Joel regarding the problems with our app. He advised me to add the line "screen.setstaticratingenabled(false)" to the appdetailscreen.brs
0 Kudos
RokuMarkn
Visitor

Re: Removing the Stars on Live Stream Videoplayer

You said after you added that line, the app wouldn't compile. I'm asking what the error message was when the compile failed.

--Mark
0 Kudos
SevensOrtiz
Visitor

Re: Removing the Stars on Live Stream Videoplayer

Application Received: 335759 bytes stored.

Install Failure: Compilation Failed.
0 Kudos
SevensOrtiz
Visitor

Re: Removing the Stars on Live Stream Videoplayer

This is where I placed it

Function refreshShowDetail(screen As Object, showList As Object, showIndex as Integer) As Integer
print "refreshShowDetail -------------------------->appDetailScreen"

if validateParam(screen, "roSpringboardScreen", "refreshShowDetail") = false return -1
if validateParam(showList, "roArray", "refreshShowDetail") = false return -1

show = showList[showIndex]

'Uncomment this statement to dump the details for each show
'PrintAA(show)

screen.ClearButtons()
'screen.AddButton(1, "resume playing")
screen.AddButton(1, "play ")
screen.setstaticratingenabled(false)
screen.SetContent(show)
screen.Show()

End Function
0 Kudos
RokuJoel
Binge Watcher

Re: Removing the Stars on Live Stream Videoplayer

When you upload your channel to your device, you should also be running a telnet session to the device on port 8085 so you can see if there are any errors and troubleshoot those errors.

- Joel
0 Kudos
TheEndless
Channel Surfer

Re: Removing the Stars on Live Stream Videoplayer

"SevensOrtiz" wrote:
Unzip failed. Invalid or corrupt zip archive. Unloading.

Your code looks fine. It sounds like you're trying to upload a bad zip file.
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
SevensOrtiz
Visitor

Re: Removing the Stars on Live Stream Videoplayer

Application Received: 335759 bytes stored.

Install Failure: Compilation Failed.

is actually what i got sorry
0 Kudos
SevensOrtiz
Visitor

Re: Removing the Stars on Live Stream Videoplayer

Everything will be going great, but once I put that code line inside the brs file, it crashes.
0 Kudos