Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RokuJoel
Roku Employee
Roku Employee

Re: mrss template doesn't work for me

Here is an updated, fixed version of the mrss template:

https://roku.box.com/s/gzvarbhqvnr30qgsu33i

- Joel
0 Kudos
danesor12
Level 7

Re: mrss template doesn't work for me

Hi Joel,

Thanks!! I've been struggling with this template for a long time and almost gave up hope.

Another question: Which may have already been answered somewhere in the forum.

Is there a template I can use (like the mrsstemplate) to do live streaming?

Appreciate all the help you're doing for everyone!

Thanks!
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: mrss template doesn't work for me

The easiest template to use for livestreams is simplevideoplayer. The videoplayer example can also be used (set the streamformat to hls in your xml). the mrssfeed example currently appears to force the streamformat to mp4 so you would probably have to insert some logic in NWM_MRSS.brs (and a tag into your rss feed) to determine if a stream is a live stream or a progressive download .mp4.

In the past I've simply modified this example to put the live stream control in config.opml and add a live stream as a section on the main poster screen, instead of altering an RSS feed that I may not have complete control over, for example from blip.tv or wordpress.

In other words:


<outline title="My Stuff Live" subtitle="me me me live" img="http://myserver.com/myliveimage.jpg" url="http://mememe.com/live.m3u8" live="true"/>
<outline title="Loaded" subtitle="powered by CNET.com" img="http://www.cnet.com/picture.jpg" url="http://loadedhdpodcast.cnettv.com" live="false"/>
<outline title="Engadget" subtitle="" img="www.engadget.com/engadgetshow_logo.png" url="http://www.engadget.com/show.xml" live="false"/>


and in the xml parser that parses config.xml, you look for outline@live="true" and write a bit of code to handle that situation in the various places where it is needed.

- Joel
0 Kudos
tvjay
Level 7

Re: mrss template doesn't work for me

Joel, can you post the logic you used in your modifed NWM_MRSS.brs?
0 Kudos