Roku Direct Publisher

Roku Direct Publisher - the easiest way to create a great TV experience. Learn more about how to create a Roku channel and share your experiences with others.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DeanLach
Roku Guru

How to set Duration for MRSS and/or JSON

I'm wondering if someone could direct me to the best way to convert my video content total runtime (TRT.)
I'm perplexed because currently my feeds are RSS for use on other platforms that do not require a Valid MRSS.  (Length/Duration and Bitrates are not something I have in my feeds.)

So, I want to fix my RSS feeds so that they meet Direct Publisher's MRSS requirements.  (I've read that Duration must be displayed in Seconds.)

But, Roku requires a Integer for JSON feeds...And I plan to eventually convert my MRSS to JSON.

So I'm wondering how to proceed.  And I have to admit, I'm math-matically challenged --  Is there software or a website that would help me with this?  
Cut that Cable!
0 Kudos
4 REPLIES 4
Baradanikto
Roku Guru

Re: How to set Duration for MRSS and/or JSON

Can you be a bit more specific?  How many items are in your feed?  Would it be possible to get a look at your rss feed?

At a minimum, you can use an editor to update the missing fields.
FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
DeanLach
Roku Guru

Re: How to set Duration for MRSS and/or JSON

"Baradanikto" wrote:
Can you be a bit more specific?  How many items are in your feed?  Would it be possible to get a look at your rss feed?

At a minimum, you can use an editor to update the missing fields.

Hi, My feed has about 700 titles, but I've managed to cut it into (2) smaller feeds, both have this format:
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Generic mrss feed</title>
    <link>https://example.com/</link>
    <description>Generic mrss data</description>
    <item>
      <title>Test video in category1</title>
      <link>https://no-guid-here-orID-yet.com</link>
      <pubdate>Mon, 24 July 2017 00:36:00 +0000</pubdate>
      <description>I have about 12 categories-genres with 20 or more videos in each and they are not yet divided by movie or short form etc in fact I dont yet have the TRT as you can see this feed doesnt use duration or bitrate.</description>
      <image>http://example.com/original.jpg</image>
      <url>https://example.org/loud.mp4</url>
      <category>Featured</category>
    </item>
    <item>
      <title>Test in category2</title>
      <link>https://replacethis-w-guid-i-think.com</link>
      <pubdate>Mon, 24 July 2017 00:36:00 +0000</pubdate>
      <description>I have about 12 categories-genres with 20 or more videos in each and they are not yet divided by movie or short form etc in fact I dont yet have the TRT as you can see this feed doesnt use duration or bitrate</description>
      <image>http://example.org/anoriginal.jpg</image>
      <url>https://example.org/download/mp-louder/mp-gofundme-loud.mp4</url>
      <category>Classics</category>
    </item>
  </channel>
</rss>
Cut that Cable!
0 Kudos
Baradanikto
Roku Guru

Re: How to set Duration for MRSS and/or JSON

Hi DeanLach,

I've written software that creates and manages both MRSS and JSON feed files.  I'm in the process of updating the MRSS product.  I'm looking to add an import from other RSS sources.  Unfortunately, that won't help you now.  Sorry I couldn't be more helpful.
FREE Windows desktop software for converting Direct Publisher channels to SceneGraph (SDK), for creating BIF (Trick Play) files, Roku (MRSS, JSON) feed files, and FireTV feed files @ GitHub/rrirower.
0 Kudos
DeanLach
Roku Guru

Re: How to set Duration for MRSS and/or JSON

"Baradanikto" wrote:
Hi DeanLach,

I've written software that creates and manages both MRSS and JSON feed files.  I'm in the process of updating the MRSS product.  I'm looking to add an import from other RSS sources.  Unfortunately, that won't help you now.  Sorry I couldn't be more helpful.

The Json software sounds good.  I would help if I could import my RSS and then edit it into a Json.  (I know there's no miracles out there in the software world, unless someone makes an ATOM PKG that does what we're talking about 😉
Cut that Cable!
0 Kudos