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: 
ioan
Roku Guru

Remove star rating from Details Screen?

Is it possible for a video?

TIA
https://github.com/e1ioan/
http://rokucam.com
0 Kudos
4 REPLIES 4
TheEndless
Channel Surfer

Re: Remove star rating from Details Screen?

screen.SetStaticRatingEnabled(False)
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
pigeonx
Visitor

Re: Remove star rating from Details Screen?

Where does one paste "screen.SetStaticRatingEnabled(False)"? what brs file?
0 Kudos
destruk
Binge Watcher

Re: Remove star rating from Details Screen?

Whichever brs file has your details screen in it. Before you call Show() but after the screen object is created.
0 Kudos
Mister_DNA
Visitor

Re: Remove star rating from Details Screen?

"pigeonx" wrote:
Where does one paste "screen.SetStaticRatingEnabled(False)"? what brs file?


In the videoplayer example, it's in the appDetailScreen.brs file, right at the top:

I did this, and it worked:
Function preShowDetailScreen(breadA=invalid, breadB=invalid) As Object
port=CreateObject("roMessagePort")
screen = CreateObject("roSpringboardScreen")
screen.SetDescriptionStyle("video")
screen.SetMessagePort(port)
screen.SetStaticRatingEnabled(False)
if breadA<>invalid and breadB<>invalid then
screen.SetBreadcrumbText(breadA, breadB)
end if

return screen
End Function
If you want a vision of the future, imagine a boot stamping on a human face - forever. - George Orwell
0 Kudos