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

HD Flag is not visible

Howdy,

I'm having trouble getting the HD flag to appear on my springboard screen. I tried setting the IsHD flag on the content item but it doesn't seem to work. Here's my code:


port = CreateObject("roMessagePort")
screen = CreateObject("roSpringboardScreen")

print "showSpringboardScreen"

screen.SetMessagePort(port)
screen.AllowUpdates(false)

screen.SetDescriptionStyle("movie")
screen.ClearButtons()
screen.AddButton(1,"Play")
screen.SetStaticRatingEnabled(false)
screen.AllowUpdates(true)
screen.Show()

if item.IsHD then
print "This item is HD so the icon better be showing"
end if

if item <> invalid and type(item) = "roAssociativeArray"

item.ContentType = "episode"
item.Length = strtoi(item.Runtime)

screen.SetContent(item)
endif


I see my print statement on the console, but I don't get the HD icon (neither on the springboard OR the video loading progress bar). From the docs, this appears the way to make this happen.

Thanks!
Joe
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: HD Flag is not visible

Did you try HDBranded?

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
breakmedia
Visitor

Re: HD Flag is not visible

That worked - Thanks!
0 Kudos