Forum Discussion

dew's avatar
dew
Visitor
14 years ago

Remove the star rating on the videoplayer example

Hi can someone tell me how to remove the star rating on the roSpringboard Screen
I found this in the component reference
Void SetStaticRatingEnabled(Boolean isEnabled)
if I remove this code or if I set it to false it will disable the stars but I can not find this code in any of the videoplayer examples files, can someone please point me in the right direction
any help would be most appreciated.
Cheers
DEW

4 Replies

  • Here is what I did in Videoplayer with the appDetailScreen.brs find this area in the 4.1 SDK files. You have to do this twice screen.SetStaticRatingEnabled(false) that's it.


    screen.ClearButtons()
    if regread(show.contentid) <> invalid and regread(show.contentid).toint() >=30 then
    screen.AddButton(1, "Resume Playing")
    screen.AddButton(2, "Play from Beginning")
    screen.SetStaticRatingEnabled(false)
    else
    screen.addbutton(2,"Play")
    screen.SetStaticRatingEnabled(false)
    end if
    screen.SetContent(show)
    screen.Show()

    End Function
  • Hi thank you very much that works great. I have one more question if you can help I need to change the font color on that page. ie. title, genres, synopsis.

    I have another thread I started but I have yet had no reply
    viewtopic.php?f=34&t=46809

    Thanks again for your help
    Cheers
    DEW
  • There are more but you can start by inserting these into appMain.brs
    and playing around to see what works.

    theme.BackgroundColor = "#87CEFA"
    theme.SpringboardRuntimeColor = "#9400D3"
    theme.SpringboardSynopsisColor = "#000000"
    theme.SpringboardGenreColor = "#282828"
    theme.SpringboardTitleText = "#282828"
    theme.FilterBannerActiveColor = "#8E8E8E"
    theme.FilterBannerInactiveColor = "#473C8B"
    theme.FilterBannerSideColor = "00FF00"
    theme.FilterBannerActiveColor = "#FF00FF"
    theme.FilterBannerInactiveColor = "#FF00FF"
    theme.FilterBannerSideColor = "FF00FF"
  • Hi Thanks for your help . It is starting to make sence now.
    Cheers
    DEW