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: 
l0os3_c
Visitor

Invalid Format / Unable to parse - JWPlayer

Hi, I have my files hosted and I thought it would be easy to use JWplayer (since I'm familiar with it) to host the URL's to my content in a playlist. I have tried JWPlayer's RSS and JSON output with no luck. When the feed URL is listed in the Direct Publisher settings, I get the following error message "The feed format is invalid. We are unable to parse it."
Any help would be appreciated.

Thank you!
0 Kudos
8 REPLIES 8

Re: Invalid Format / Unable to parse - JWPlayer

Usually with that error, it means there is a coding error.  If you want to either post your feed here or send it to me in a PM I will have a look at it.
0 Kudos
l0os3_c
Visitor

Re: Invalid Format / Unable to parse - JWPlayer

Below is a random bit of code I've been trying to test with.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
  <title>Untitled Manual Playlist</title>
  <description>TLMOE VICENT PRICE</description>
  <jwplayer:kind>MANUAL</jwplayer:kind>
  <jwplayer:feedid>KHDsO0bn</jwplayer:feedid>
  <jwplayer:feed_instance_id>f7705823-36a9-4585-8e50-0ab15dd28dc2</jwplayer:feed_instance_id>
  <link rel="first" href="https://cdn.jwplayer.com/v2/playlists/KHDsO0bn?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
  <link rel="last" href="https://cdn.jwplayer.com/v2/playlists/KHDsO0bn?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
  <item>
    <title>TLMOE</title>
    <link>https://cdn.jwplayer.com/previews/ZBovPea7</link>
    <description></description>
    <pubDate>Sat, 22 Jul 2017 01:00:00 -0000</pubDate>
    <guid isPermaLink="false">ZBovPea7</guid>
    <enclosure url="https://www.youtube.com/watch?v=nPK5rYXeOV4" type="video/mp4" />
    <jwplayer:feedid>KHDsO0bn</jwplayer:feedid>
      <media:group>
      <media:content url="https://www.youtube.com/watch?v=nPK5rYXeOV4" type="video/mp4" />
      <media:thumbnail url="https://cdn.jwplayer.com/thumbs/ZBovPea7-720.jpg" />
      <media:keywords></media:keywords>
    </media:group>
  </item>
</channel>
</rss>





Thank you!
0 Kudos

Re: Invalid Format / Unable to parse - JWPlayer

You might need to remove the "isPermaLink="false"" from the guid element
Change "-0000" to "GMT" in the pubDate element

You are missing the <media:title></media:title> element
You are missing the <media:description></media:description> element
You are missing the <media:category></media:category> element or <media:keywords></media:keywords> element
You are missing the duration flag under the <media:content></media:content> element.
You might need to remove type="video/mp4" from the url flag under the <media:content></media:content> element.

That is what I see so far.
0 Kudos
l0os3_c
Visitor

Re: Invalid Format / Unable to parse - JWPlayer

This is all sort of generic content added by the jwplayer site. I've made the changes but I'm still getting the same error message.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
  <title>moon</title>
  <description>Sat Night, live, tv, yo</description>
  <jwplayer:kind>MANUAL</jwplayer:kind>
  <jwplayer:feedid>gCvghMvv</jwplayer:feedid>
  <jwplayer:feed_instance_id>264b1d5b-e39e-42e9-8c97-818c377cebe8</jwplayer:feed_instance_id>
  <jwplayer:category>horror</jwplayer:category>
  <jwplayer:language>en</jwplayer:language>
  <jwplayer:lastUpdated>2015-11-11T22:21:37+00:00</jwplayer:lastUpdated>
  <jwplayer:link>http://www.dem13.com</jwplayer:link>
  <jwplayer:providerName>Public Domain</jwplayer:providerName>
  <link rel="first" href="https://cdn.jwplayer.com/v2/playlists/gCvghMvv?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
  <link rel="last" href="https://cdn.jwplayer.com/v2/playlists/gCvghMvv?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
  <item>
    <title>Dementia13.mp4</title>
    <link>https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4</link>
    <description>rfrfr e ee e e e.</description>
    <pubDate>Mon, 17 Jul 2017 00:00:00 GMT</pubDate>
    <guid>FDVQnz2T</guid>
    <enclosure url="https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4" type="video/mp4" />
    <jwplayer:feedid>gCvghMvv</jwplayer:feedid>
      <media:group>
      <media:content url="https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4" fileSize="12216320" type="video/quicktime"medium="video" isDefault="true" expression="full" bitrate="128" framerate="25" samplingrate="44.1" channels="2" duration="185" height="200" width="300" lang="en" />
      <media:thumbnail url="https://cdn.jwplayer.com/thumbs/FDVQnz2T-720.jpg" />
      <media:keywords>Horror,Sci Fi</media:keywords>
<media:title>Untitled Manual Playlist</media:title>
<media:description></media:description>
<media:category>Horror</media:category>
    </media:group>
    <jwplayer:providerName>Public Domain</jwplayer:providerName>
    <jwplayer:pubDate>Sat, 07 Sep 2016 09:42:31 GMT</jwplayer:pubDate>
    <jwplayer:lastUpdated>2015-11-11T22:21:37+00:00</jwplayer:lastUpdated>
    <jwplayer:language>en</jwplayer:language>
    <jwplayer:link>http://www.dem13.com</jwplayer:link>
    <jwplayer:guid>2422</jwplayer:guid>
  </item>
</channel>
</rss>
0 Kudos

Re: Invalid Format / Unable to parse - JWPlayer

Try to something into media:description

Can you remove media:group? If might be cancelling everything between.
0 Kudos
l0os3_c
Visitor

Re: Invalid Format / Unable to parse - JWPlayer

"mediadisconnect" wrote:
Try to something into media:description

Can you remove media:group?  If might be cancelling everything between.

I removed Media:group and that seemed to get me a little further on.
The next message I received was, "No valid items were found in the feed" and "1 item has an error: Thumbnail must be 16x9 aspect ratio, at least 800w x 450h, and either in JPG or PNG format."
I was able to fix this by changing the media:thumbnail option to a .jpg I have on my server. 
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://rss.jwpcdn.com/">
<channel>
  <title>moon</title>
  <description>Sat Night, live, tv, yo</description>
  <jwplayer:kind>MANUAL</jwplayer:kind>
  <jwplayer:feedid>gCvghMvv</jwplayer:feedid>
  <jwplayer:feed_instance_id>264b1d5b-e39e-42e9-8c97-818c377cebe8</jwplayer:feed_instance_id>
  <jwplayer:category>horror</jwplayer:category>
  <jwplayer:language>en</jwplayer:language>
  <jwplayer:lastUpdated>2015-11-11T22:21:37+00:00</jwplayer:lastUpdated>
  <jwplayer:link>http://www.dem13.com</jwplayer:link>
  <jwplayer:providerName>Public Domain</jwplayer:providerName>
  <link rel="first" href="https://cdn.jwplayer.com/v2/playlists/gCvghMvv.rss;page_offset=1&amp;page_limit=99"/>
  <link rel="last" href="https://cdn.jwplayer.com/v2/playlists/gCvghMvv.rss;page_offset=1&amp;page_limit=99"/>
  <item>
    <link>https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4</link>
    <description>rfrfr e ee e e e.</description>
    <pubDate>Mon, 17 Jul 2017 00:00:00 GMT</pubDate>
    <guid>FDVQnz2T</guid>
    <enclosure url="https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4" type="video/mp4" />
    <jwplayer:feedid>gCvghMvv</jwplayer:feedid>
    <media:content url="https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4" fileSize="12216320" isDefault="true" expression="full" bitrate="128" framerate="25" samplingrate="44.1" channels="2" duration="185" height="450" width="800" lang="en" />
<media:title>Test title</media:title>      
<media:thumbnail url="http://www.mydomain.com/RSS/thumb.jpg" />
      <media:keywords>Horror,Sci Fi</media:keywords>
<media:description>Test</media:description>
<media:category>Horror</media:category>
    <jwplayer:providerName>Public Domain</jwplayer:providerName>
    <jwplayer:pubDate>Sat, 07 Sep 2016 09:42:31 GMT</jwplayer:pubDate>
    <jwplayer:lastUpdated>2015-11-11T22:21:37+00:00</jwplayer:lastUpdated>
    <jwplayer:language>en</jwplayer:language>
    <jwplayer:link>https://ia801406.us.archive.org/24/items/Dementia_13/Dementia_13_512kb.mp4</jwplayer:link>
    <jwplayer:guid>2422</jwplayer:guid>
  </item>
</channel>
</rss>


Now I have one "1 item ingested successfully"! However, when I open the app up on the Roku, it allows me to click the thumbnail, but nothing plays. It loads about 20% and then kicks me back to the video selection screen.
0 Kudos

Re: Invalid Format / Unable to parse - JWPlayer

0 Kudos
l0os3_c
Visitor

Re: Invalid Format / Unable to parse - JWPlayer

Ah, it seems it doesn't like secure links (https). That fixed the issue.

Thank you!
0 Kudos