Forum Discussion

bbakernc's avatar
bbakernc
Visitor
15 years ago

Add Date Released

We have everything working great, but now we need to add Date Released to the detailed page. We have it in the XML file and we can make the datereleased tag populate the "TITLE" but we don't see in the Date Realeased field on the detailed page.

We are assuming we have to enable this to be displayed?

We have disabled the StarRating, but we can't find then datereleased.enabled(true) type of code.

Can someone tell us where to enable this?

THANKS

15 Replies

  • destruk's avatar
    destruk
    Streaming Star
    Here's a relevant thread I read a while ago.

    viewtopic.php?f=34&t=26921&p=166902&hilit=setdescriptionstyle#p166902
    ROKUKevin posted
    "The "Length" content meta-data parameter will display on both "video" and "movie" description style poster screens. Please check that the value of your "Length" parameter is an integer in seconds. The screen takes care of displaying in hour/min format, but you need to supply the Length parameter as an Integer in seconds.

    Release Date and rating only display on the "movie" description style, they do not display on the "video" description style.

    --Kevin"

    Which would indicate to me that you're not supposed to be able to get the Release Date to display unless you explicitly specify the "movie" description style somewhere for the springboard screen.
    Or perhaps I misinterpreted what he wrote?
  • "destruk" wrote:
    Here's a relevant thread I read a while ago.
    viewtopic.php?f=34&t=26921&p=166902&hilit=setdescriptionstyle#p166902
    ROKUKevin posted
    "The "Length" content meta-data parameter will display on both "video" and "movie" description style poster screens. Please check that the value of your "Length" parameter is an integer in seconds. The screen takes care of displaying in hour/min format, but you need to supply the Length parameter as an Integer in seconds.
    Release Date and rating only display on the "movie" description style, they do not display on the "video" description style.
    --Kevin"
    Which would indicate to me that you're not supposed to be able to get the Release Date to display unless you explicitly specify the "movie" description style somewhere for the springboard screen.
    Or perhaps I misinterpreted what he wrote?

    He may be referring to the SetDescriptionStyle method specifically, but again, my podcast channel is using "episode" and "audio" ContentTypes as the only indicator for the springboard, and works exactly as expected. I have no calls to SetDescriptionStyle anywhere in my code, so I'm inclined to think there's something specific to your code that's causing the behavior you're seeing.
  • destruk's avatar
    destruk
    Streaming Star
    ah...I think we got it now. The trouble is with the xml. ContentType is set on an individual item basis - so you're correct it's being overwritten.
    The videoplayer example sets the content type to Talk for some items. Talk isn't an "episode".
    The default in the XML parser is episode - so you should be able to remove the lines for contenttype in all the xml files you use and then it'll set them to the default value.

    'Set Default screen values for items not in feed
    item.HDBranded = false
    item.IsHD = false
    item.ContentType = "episode"


    So why does the videoplayer example even have it using a "talk" content type in the xml?
    Valid values = movie, episode, season, series, audio. Missing attribute = NotSet
  • Hey, I hate to hijack this, but is there any way to hide the runtime in the same way as you hide the star ratings? I've tried everything!