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

special Category example?

Is there any examples of the special categories any where, i have bee trying to add some but nothing is showing up...

in fact i even tried using:

 Items = [ {ContentType:"episode"
SDPosterUrl:"file://pkg:/images/DanGilbert.jpg"
HDPosterUrl:"file://pkg:/images/DanGilbert.jpg"
IsHD:true
HDBranded:true
ShortDescriptionLine1:"Dan Gilbert asks, Why are we happy?"
ShortDescriptionLine2:""
Description:"Harvard psychologist Dan Gilbert says our beliefs about what will make us happy are often wrong -- a premise he supports with intriguing research, and explains in his accessible and unexpectedly funny book, Stumbling on Happiness."
Rating:"NR"
StarRating:"80"
Length:1280
Categories:["Technology","Talk"]
Title:"Dan Gilbert asks, Why are we happy?"
},
{ContentType:"episode"
SDPosterUrl:"file://pkg:/images/DanGilbert.jpg"
HDPosterUrl:"file://pkg:/images/DanGilbert.jpg"
IsHD:true
HDBranded:true
ShortDescriptionLine1:"Dan Gilbert asks, Why are we happy?"
ShortDescriptionLine2:""
Description:"Harvard psychologist Dan Gilbert says our beliefs about what will make us happy are often wrong -- a premise he supports with intriguing research, and explains in his accessible and unexpectedly funny book, Stumbling on Happiness."
Rating:"NR"
StarRating:"80"
Length:1280
Categories:["Technology","Talk"]
Title:"Dan Gilbert asks, Why are we happy?"
}
]

return 0


and still nothing...
0 Kudos
2 REPLIES 2
RokuKevin
Visitor

Re: special Category example?

Please refer to the Component Reference Section 4.4 roSpringboardScreen:

Void SetDescriptionStyle(String style)
 Set the springboard style for the poster screen. Styles allow the poster screen to look
differently for different types of content or different usage. The following is the list of valid
screen styles:
o “audio”: All tags on audio screen above are substituted with Content Meta-
Data.
o “movie”: All tags on the video screen above are substituted with Content Meta-
Data
o “video”: All tags except <Directors> and <Ratings> are on the video screen
above are replaced with Content Meta-Data.
o “generic”: Only the <Title> and <Description> tags on the video screen above
are replaced with Content Meta-Data.




If you call roSpringboardScreen.SetDesctriptionStyle("movie") you will have all the tags including the Categories (or Genres in the picture) displayed.

--Kevin
0 Kudos
FML2010
Visitor

Re: special Category example?

Thanks I will check that out
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.