Page 2 of 2

Re: DailyMotion

PostPosted: Sat Aug 24, 2013 4:44 am
by siriusblack
No worries

These url's I use to test

http://dailymotion.com/rss/user/fatherted/1

http://dailymotion.com/rss/user/fatherted/2

  Code:
couple of tips for daily motion

you can also view the other pages for each category or user etc so you would have this say ----> http://dailymotion.com/rss/user/fatherted/1 all you do is change 1 for the next page number   

also if you register you can add seperate videos to your favourites list and use that feed , so really you can view seperate videos 

Re: DailyMotion

PostPosted: Wed Aug 28, 2013 3:17 pm
by haamro
Thanx Siriusblack,

I have one more issue, I have a rss link, that is not from Dailymotion, but has dailymotion link. Here is an example.

  Code:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Tes</title>
<link>http://xxxxxxxxxx/DM_mylist.php</link>
<description>My Test</description>


      <item>
      <title>My Title</title>
      <link>http://www.dailymotion.com/video/xxxxxxxxxxxxxxx</link>
      <media:stream url="http://www.dailymotion.com/video/xxxxxxxxxxx" type="video" />
      <media:thumbnail url="http://xxxxxxxxxxxxxxxxx&w=145&h=105" />
      </item>
</channel></rss>


and I made some changes to DailyMotion Groovy to
  Code:
   final VALID_FEED_URL = '^http(s)*://.*?DM.*?'

and my filename is http://xxxxxxxxxx/DM_mylist.php

And its not working ! Log does not show my URL at all. There is an empty folder for my URL. Please guide me

Re: DailyMotion

PostPosted: Mon Sep 02, 2013 9:01 am
by zip
THe plugin will only work with the original DailyMOtion feeds.

Re: DailyMotion

PostPosted: Mon Dec 23, 2013 9:14 pm
by eric-the-ded
Problem.
Videos that I know to be available in 1080 won't stream in HD. They look to be 480 at best.
Am I doing something wrong?

Re: DailyMotion

PostPosted: Thu Dec 26, 2013 7:40 pm
by mhawaldar
eric-the-ded wrote:Problem.
Videos that I know to be available in 1080 won't stream in HD. They look to be 480 at best.
Am I doing something wrong?


I agree. The DailyMotion.groovy does not seem to use "PreferredQuality requestedQuality" parameter in extractUrl() method.

Also, it appears to be extracting only one URL (video_url) from the webpage HTML.

Re: DailyMotion

PostPosted: Thu Feb 18, 2016 12:41 am
by zebody
Hy,

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)


Is there a way to get to work ?

Many thx for your help.

Re: DailyMotion

PostPosted: Thu Feb 18, 2016 4:30 am
by jdegreef
zebody wrote:Hy,

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)


Is there a way to get to work ?

Many thx for your help.

Same problem here, with your link and all other links I had configure...
Is this plug-in supposed to work with current version of dailymotion ?

Re: DailyMotion

PostPosted: Thu Feb 18, 2016 9:40 pm
by zip
Fixed the plugin

Re: DailyMotion

PostPosted: Fri Feb 19, 2016 12:47 am
by zebody
Thx. It works perfectelly !!! so many thx for all. Serviio is just perfect now :)

Re: DailyMotion

PostPosted: Fri Feb 19, 2016 10:20 am
by jdegreef
zip wrote:Fixed the plugin

Works like a charm.
Thx for all your work.

Re: DailyMotion

PostPosted: Thu Mar 03, 2016 2:12 am
by atc98092
Just discovered DailyMotion has Dr Who episodes. I watched some from a browser, but thought I'd see if Serviio has a plugin. Yep, sure enough!

Now, can someone assist me with generating the correct URL? I'm trying http://www.dailymotion.com/rss/user/doctorwho/1, which does return an XML page, but I see nothing in the folder. The Serviio log has this line: [ServiioStatusService] AuthenticationException occured. Returning error code 401 to the REST layer. Message: The provided authentication token is invalid or expired.

Since I didn't have this error until I added this groovy and the URL above, and it appeared as soon as the groovy file was identified, it seems that the error is here. Any ideas?

EDIT: OK, I see that this URL, while returning a valid page, has no information on it like the URLs listed above. Is there some other way to determine the proper way to find this title?

EDIT2: figured out that where it said user I had to enter the user name that posted the videos, so the URL is http://www.dailymotion.com/rss/user/klololololo/1. This is returning everything under that user name. is there any way to filter the list so I just get Dr Who? Or even better, search for all Dr Who, regardless of user name?

Is there something I'm doing wrong ??

PostPosted: Fri Dec 02, 2016 1:11 pm
by JunJun
I'm trying to get DailyMotion on Serviio, so I've put the dailymotion.groovy file in the plugin folder, I've added a few links into the console, and when I check my TV, the links appear though they are grey and not selectable...

Links I entered were found on this thread and have this format :
http://www.dailymotion.com/rss/user/BASKETUSA/1
If I click on the 'Check Stream URL' button, I get 'The Stream URL is not valid or is not currently available"...

so what should I do ??
Is there a way to enter a Playlist link ?

Thanks for your help ;)

Re: DailyMotion

PostPosted: Sun Dec 04, 2016 10:46 pm
by zip
Plugin updated, it should be fixed now.

Re: DailyMotion

PostPosted: Mon Dec 05, 2016 2:54 pm
by JunJun
Well, I updated the plugin and it doesn't change a thing for me...
Is there something wrong whit the URL I entered ??

Re: DailyMotion

PostPosted: Mon Dec 05, 2016 10:50 pm
by zip
Make sure you use it as feed resource type, not web resource not live stream

Re: DailyMotion

PostPosted: Tue Dec 06, 2016 7:35 am
by JunJun
Yes, it's on RSS/AtomFeed...

Re: DailyMotion

PostPosted: Sat Dec 10, 2016 1:49 pm
by jdegreef
Hi,

Doesn't work here either.
Debug log attached.

Re: DailyMotion

PostPosted: Fri Jan 20, 2017 7:22 pm
by JunJun
I tried to watch Dailymotion via Serviio ... again
there are things I still don't understand !
I've entered this link : http://www.dailymotion.com/rss/user/NBA
and a few other with same format, only 'NBA' change to other usernames...

1/ only the link with NBA appears on Serviio (though the links works via my web browser), the other channels are grey and not available.
2/ on the NBA link, only 1 video appears on Serviio (Thursday's Top 10 Plays), though there are much more on the site.

Anything I can try ??
Thanks