chris2
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013
02:16 PM
Removing Runtime for live streams
Hello,
I'm using the videoplayer SDK modified by belltown viewtopic.php?p=352494
My question is I'd like to remove the runtime "0m" from the springboard of only our live streams but leaving the runtime tag available for VOD and AOD content. I'd like to be able to just edit our XML files by just inserting a "<runtime>null</runtime>" whenever we'd like the runtime duration tag to not display on the springboard.
What code would I need to add in our "appDetailScreen.brs" and/or our "showFeed.brs" to make this happen? I would image this should be a simple.
Thanks!
Chris
I'm using the videoplayer SDK modified by belltown viewtopic.php?p=352494
My question is I'd like to remove the runtime "0m" from the springboard of only our live streams but leaving the runtime tag available for VOD and AOD content. I'd like to be able to just edit our XML files by just inserting a "<runtime>null</runtime>" whenever we'd like the runtime duration tag to not display on the springboard.
What code would I need to add in our "appDetailScreen.brs" and/or our "showFeed.brs" to make this happen? I would image this should be a simple.
Thanks!
Chris
4 REPLIES 4

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013
03:44 PM
Re: Removing Runtime for live streams
Have you tried not including the runtime element on those entries?
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
chris2
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013
04:27 PM
Re: Removing Runtime for live streams
Yes, I've tried removing the runtime tag completely from the XML file and a duration of "0s" still displays.

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2013
06:33 PM
Re: Removing Runtime for live streams
Then I'm afraid you're going to have to get your hands dirty with the code. Locate the line in the code that sets the "Length" metadata attribute, and only set it if a value is present in the XML feed.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2013
08:56 AM
Re: Removing Runtime for live streams
You probably have it defaulting the value in init_item when you parse the feed.