Forum Discussion

rafaelm's avatar
rafaelm
Visitor
7 years ago

Unable to publish MRSS feed using <media:group>

Hello, I have the following MRSS feed:


<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<atom:link href="https://admin.endavomedia.com/mrss/7203?roku" rel="self" type="application/rss+xml" />
<title>Voice America - The American BusinessPerson TV</title>
<link>https://admin.endavomedia.com/mrss/7203?roku</link>
<description>example</description>
<generator>EMMS</generator>
<language>en-us</language>
<item>
<media:group>
<media:content bitrate="1842" duration="1185" fileSize="273039735" height="720" type="video/mp4" url="https://3cb741408d.site.internapcdn.net/00/mp4/248C2CF2FA_MP4_250155_1842kbps.mp4" width="1280" />
<media:content bitrate="549" duration="1185" fileSize="81439890" height="270" type="video/mp4" url="https://3cb741408d.site.internapcdn.net/00/mp4/248C2CF2FA_MP4_250155_549kbps.mp4" width="480" />
<media:keywords>VoiceAmerica.tv, kids, fitness, handstands, handwalking, Katrina, Sloane, gymnastics, Fit Fun TV</media:keywords>
<media:category>iFamily</media:category>
<media:thumbnail url="https://dummyimage.com/16:9x450/"/>
<media:title>How to do Handstands - Ep 2</media:title>
<media:description>&lt;p&gt; From Beginner to Advanced learn how to do handstands and handwalking with Katrina and Sloane.  They show you tips for getting into a handstand, holding it, different advanced poses, as well as working with a partner or a wall.  Impress your friends and get your handstand with this complete handstand tutorial show!&lt;/p&gt;</media:description>
</media:group>
<title>How to do Handstands - Ep 2</title>
<guid isPermaLink="false">250155-11296</guid>
<pubDate>2014-04-30T15:51:03-04:00</pubDate>
</item>
</channel>
</rss>



After uploading the feed, the system displays the following error message:

2 items have error: No valid items were found in the feed: No content found in given stream
»  261067.pending.en
»  261067.pending.en

After lots of attempts using trial and error method, I realized that the media:group element is not allowed.

The question is, how do I set several content bitrates for a single media item?

Thank you,
Rafael

4 Replies

  • Is there any reason why you don't use json to code your feed file? Json provides much more capabilities for a feed file.
  • "Baradanikto" wrote:
    Is there any reason why you don't use json to code your feed file?  Json provides much more capabilities for a feed file.

    Thank you Baradanikto.
    The only reason is that we have a system developed years ago that exports Roku feeds using MRSS.
    I didn't know that it was not possible to use different video bitrates using MRSS.

    Using JSON I would just need to add as many video qualities as needed, right?
    For example:


    {
    "providerName": "Roku Recommends",
    "language": "en-US",
    "lastUpdated": "2016-10-06T18:12:32.125Z",
    "shortFormVideos": [{
    "id": "decbe34b64ea4ca281dc09997d0f23fd",
    "title": "Live Gaming",
    "shortDescription": "With the Twitch channel, you can watch the most popular broadcasts of the day, browse live broadcasts by the games you love and follow your favorite Twitch broadcasters.",
    "thumbnail": "https://blog.roku.com/developer/files/2016/10/twitch-poster-artwork.png",
    "genres": ["gaming", "technology"],
    "tags": ["gaming", "broadcasts", "live", "twitch", "technology"],
    "releaseDate": "2015-06-11",
    "content": {
    "dateAdded": "2015-06-11T14:14:54.431Z",
    "captions": [],
    "duration": 53,
    "adBreaks": ["00:00:00", "00:00:53"],
    "videos": [{
    "url": "http://example.com/hd_media.mp4",
    "quality": "HD",
    "videoType": "MP4"
    }, {
    "url": "http://example.com/fhd_media.mp4",
    "quality": "FHD",
    "videoType": "MP4"
    }
    ]
    }
    }
    }