Forum Discussion
Mister_DNA
14 years agoVisitor
Thank you, thank you, thank you! That worked perfectly, although I did run into another problem (more on that in a sec).
For anyone else who might be interested, here is a link to the altered showFeed.brs and appDetailScreen.brs files; all you need to do is paste them into your source folder (be sure to backup the originals). These files are a little different than the zip file destruk made available.
For starters, this doesn't default to a rating. If you don't have <rating>Acceptable rating as per SDK documentation</rating> in your xml files, no rating will show up.
Also, the appDetailScreen.brs has the following line added to it: "screen.SetStaticRatingEnabled(False)" - remove it if you want the stars to show up.
And finally, the showFeed.brs has the following lines in it:
What this means is that if your content is HD, you will see the "HD" icon along with the 4 dots as your video is loading. The downside: all the content is displayed on the details screen as being HD, regardless of the reolution/bitrate.
That's where I ran into a problem, albeit a very minor one. Previously, the HD icon only showed up if HD content was loading. That's still the case, but now there's an HD icon on every single video, next to the ratings. I experimented with ways of making it go away, but I couldn't do that and still have the HD icon appear when HD content was loading. It's no big deal, really. For the time being, I can live with it. If anyone else wants to use those files and doesn't want the HD icon, just change the "true" to "false".
destruk, thanks again for your help. It is greatly appreciated.
For anyone else who might be interested, here is a link to the altered showFeed.brs and appDetailScreen.brs files; all you need to do is paste them into your source folder (be sure to backup the originals). These files are a little different than the zip file destruk made available.
For starters, this doesn't default to a rating. If you don't have <rating>Acceptable rating as per SDK documentation</rating> in your xml files, no rating will show up.
Also, the appDetailScreen.brs has the following line added to it: "screen.SetStaticRatingEnabled(False)" - remove it if you want the stars to show up.
And finally, the showFeed.brs has the following lines in it:
'Set Default screen values for items not in feed
item.HDBranded = true
item.IsHD = true
What this means is that if your content is HD, you will see the "HD" icon along with the 4 dots as your video is loading. The downside: all the content is displayed on the details screen as being HD, regardless of the reolution/bitrate.
That's where I ran into a problem, albeit a very minor one. Previously, the HD icon only showed up if HD content was loading. That's still the case, but now there's an HD icon on every single video, next to the ratings. I experimented with ways of making it go away, but I couldn't do that and still have the HD icon appear when HD content was loading. It's no big deal, really. For the time being, I can live with it. If anyone else wants to use those files and doesn't want the HD icon, just change the "true" to "false".
destruk, thanks again for your help. It is greatly appreciated.