Post Thu Feb 18, 2016 1:40 pm

Serviio 1.6 and Online rss

Hy,

I already wrote on the topic of dailymotion this :

  Code:
"I try to use this plugin with serviio 1.6. I could see the folder of my ressource but it is empty. I had it as rss feed in the console.
I try many url from dailymotion but same issue.

This is the link i try to add : http://www.dailymotion.com/rss/user/BASKETUSA/1

This is what the debug done :

 
 
[code]
    2016-02-18 02:07:44,087 DEBUG [FeedItemUrlExtractor] DailyMotion: Starting extraction of url for item: Visite guidée du Jordan Brand Store de Toronto
    2016-02-18 02:07:44,343 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (DailyMotion) for item Visite guidée du Jordan Brand Store de Toronto: index is out of range 0..-1 (index = 0)
    java.lang.IndexOutOfBoundsException: index is out of range 0..-1 (index = 0)
       at org.codehaus.groovy.runtime.DefaultGroovyMethods.getAt(DefaultGroovyMethods.java:6202)
       at org.codehaus.groovy.runtime.dgm$310.invoke(Unknown Source)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
       at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
       at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
       at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
       at DailyMotion.extractUrl(DailyMotion.groovy:39)
       at org.serviio.library.online.FeedItemUrlExtractor$1.executePluginMethod(FeedItemUrlExtractor.java:42)
       at org.serviio.library.online.FeedItemUrlExtractor$1.executePluginMethod(FeedItemUrlExtractor.java:39)
       at org.serviio.library.online.PluginExecutionProcessor$1.call(PluginExecutionProcessor.java:50)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)

[/code]

Is there a way to get to work ?

Many thx for your help."


But after several tries with other sources i've got the same problem. all rss with youtube are ok but if i try another source, same issue : I see the folder but it is empty.

I try Dailymotion (with the plugin), i try allocine : http://rss.allocine.fr/ac/bandesannonces/anepasmanquer and some other : Same Issue.

Could you help me to set up other online rss with serviio 1.6 ?


Thx for your help


EDIT :

I see in the guide for rss that if tu feed content get the attribute "<media:content" there's not need to get pluging. This is the case for Dailymotion :

  Code:
 <item>
            <title>Visite guidée du Jordan Brand Store de Toronto</title>
            <link>http://www.dailymotion.com/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport</link>
            <description><![CDATA[<a href="http://www.dailymotion.com/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport"><img align="right" width="120" height="90" src="http://s2.dmcdn.net/TPf72/160x90-3pJ.jpg" style="border: 2px solid #B9D3FE;"></a><p>Vendredi matin à 6h23 s'est ouvert le Jordan Store en plein coeur de Toronto. Cette boutique, la première du genre au Canada, propose tous les articles à l'effigie du célèbre "Jumpman" avec une gamme spécialement créée aux couleurs de la ville de l'Ontario. Des centaines de fans ont passé la nuit devant les portes du magasin pour être les premiers à pénétrer à l'intérieur du bâtiment pour pouvoir acquérir les dernières nouveautés de la marque.</p><p>Auteur : <a href="http://www.dailymotion.com/BASKETUSA"><img src="http://s2.dmcdn.net/B9F0c/80x80-jiZ.jpg" width="80" height="80" alt="avatar"/>BASKETUSA</a><br />Tags : <a href="http://www.dailymotion.com/tag/Michael Jordan">Michael Jordan</a> <a href="http://www.dailymotion.com/tag/jordan brand">jordan brand</a> <br />Envoyé : 13 février 2016<br />Note :<br />Votes :<br /></p>]]></description>
            <author>rss@dailymotion.com (BASKETUSA)</author>
            <itunes:author>BASKETUSA</itunes:author>
            <itunes:explicit>no</itunes:explicit>
            <itunes:summary>Vendredi matin à 6h23 s'est ouvert le Jordan Store en plein coeur de Toronto. Cette boutique, la première du genre au Canada, propose tous les articles à l'effigie du célèbre &quot;Jumpman&quot; avec une gamme spécialement créée aux couleurs de la ville de l...</itunes:summary>
            <itunes:subtitle>Vendredi matin à 6h23 s'est ouvert le Jordan Store en plein coeur de Toronto. Cette boutique, la première du genre au Canada, propose tous les articles à l'effigie du célèbre &quot;Jumpman&quot; avec une gamme spécialement créée aux couleurs de la ville de l...</itunes:subtitle>
            <dm:link rel="uql" href="http://www.dailymotion.com/rss/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport" type="application/rss+xml"/>
            <dm:link rel="userProfile" href="http://www.dailymotion.com/rss/BASKETUSA" type="application/rss+xml"/>
            <dm:views>1321</dm:views>
            <dm:comments>0</dm:comments>
            <dm:favorites>0</dm:favorites>
            <dm:id>x3rv3e7</dm:id>
            <dm:author>BASKETUSA</dm:author>
            <dm:loggerURL>http://www.dailymotion.com/logger/video/access/x3rv3e7?session_id=&amp;referer=&amp;country=FR&amp;user_agent=Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%3B+rv%3A44.0%29+Gecko%2F20100101+Firefox%2F44.0&amp;channel_id=18&amp;class=official&amp;mode=vod&amp;visitor_embedder=&amp;src_ref=&amp;client_embedder=&amp;video_id=228198895&amp;v1st=AAB1EC73BE53CD48&amp;pid=56c51456d1f2c&amp;visitor_referer=&amp;view_id=c6027199750fb177be85c607e842705a4384e642&amp;owner_id=78007181&amp;key=2kzdj0tc8v0lvoa33o2q54o&amp;v=56c53e78&amp;i=4edb3c0f&amp;h=2291eec6766866a5ccbc21d730658125</dm:loggerURL>
            <dm:authorAvatar>http://s2.dmcdn.net/B9F0c/80x80-jiZ.jpg</dm:authorAvatar>
            <dm:relativeDate>envoyé samedi dernier</dm:relativeDate>
            <dm:channels>sport</dm:channels>
            <pubDate>Sat, 13 Feb 2016 07:14:04 +0100</pubDate>
            <guid>http://www.dailymotion.com/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport</guid>
            <media:title>Visite guidée du Jordan Brand Store de Toronto</media:title>
            <media:credit>BASKETUSA</media:credit>
            <media:thumbnail url="http://s2.dmcdn.net/TPf72/x240-X0W.jpg" height="240" width="320" />
            <media:player url="http://www.dailymotion.com/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport" height="270" width="480"><![CDATA[<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/x3rv3e7" allowfullscreen></iframe><br /><a href="http://www.dailymotion.com/video/x3rv3e7_visite-guidee-du-jordan-brand-store-de-toronto_sport" target="_blank">Visite guid&eacute;e du Jordan Brand Store de Toronto</a> <i>par <a href="http://www.dailymotion.com/BASKETUSA" target="_blank">BASKETUSA</a></i>]]></media:player>
            <media:group>
                <media:content url="http://www.dailymotion.com/embed/video/x3rv3e7" type="text/html" duration="155" width="480" height="270"/>
                <media:content url="http://www.dailymotion.com/swf/video/x3rv3e7" type="application/x-shockwave-flash" duration="155" width="480" height="270"/>
            </media:group>
            <itunes:keywords>Michael Jordan, jordan brand</itunes:keywords>
            <media:category label="Michael Jordan">Michael Jordan</media:category>
            <media:category label="jordan brand">jordan brand</media:category>
        </item>


so i also try without the plugin = > Same Issue