Hello! I am learning how to develop for Roku and currently making a channel using the default Video Player template. I have done my best to look through the SDK docs but cannot figure this one out on my own.
I currently have the following XML feed specifying a video (that is obviously not the matching stream for the video, I'm just using a sample HLS stream for now):
<item sdImg="http://camendesign.com/code/video_for_everybody/poster.jpg" hdImg="http://camendesign.com/code/video_for_everybody/poster.jpg">
<title>Big Buck Bunny</title>
<description>Giant rabbit with a heart bigger than himself</description>
<contentId>10051</contentId>
<contentType>Movie</contentType>
<contentQuality>HD</contentQuality>
<streamFormat>hls</streamFormat>
<media>
<streamQuality>HD</streamQuality>
<streamBitrate>3000</streamBitrate>
<streamUrl>http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8</streamUrl>
</media>
<synopsis>'Big' Buck wakes up in his rabbit hole, only to be pestered by three critters, Gimera, Frank and Rinky. When Gimera kills a butterfly, Buck decides on a payback Predator-style.</synopsis>
<genres>Animation, Comedy</genres>
<runtime>4225</runtime>
<director>Sacha Goedegebure</director>
<actors>Big Buck</actors>
<releaseDate>2014</releaseDate>
<rating>PG-13</rating>
<StarRating>80</StarRating>
<IsHD>True</IsHD>
<HDBranded>True</HDBranded>
</item>
When I look at the video in the Springboard, however, the only metadata that gets displayed is the Title, genres, synopsis, and runtime. I have been trying for a while now to figure out how to display the remainder of the information. I assume the answer is somewhere within ShowFeed.brs. I have been playing around with the code in that file, but to no avail. Could someone please point me in the right direction?
edit: I got the ratings to work. Went to ShowFeed.brs and added
item.UserStarRating = validstr(curShow.UserStarRating.getText())
and commented out
item.UserStarRating = invalid
Unfortunately the same thing does not work with IsHD & HDBranded. Besides that I'm only missing actors and director!
edit2: still working on this... it seems that IsHD and HDBranded just aren't showing period - even if I hardcode the values. The good news is that means the issue is not with my XML... The bad news is now I'm now even further away from figuring out the issue than before..