• 1
  • 23
  • 24
  • 25(current)
  • 26
  • 27
  • 28
[RELEASE] DailyMotion.com - Movies, TV, Music, User-Clips, 3D and Livestreams
(2020-01-16, 23:06)gujal Wrote:
(2020-01-16, 18:08)Samoozle Wrote: I´ve had a proper dig about and I havent got any device to stick CoreElec on to try, although there´s little point as you already know that works.  I do have a big stack of boxes with LE and AE, you´re welcome to have whatever if you want.  Again, if can help at all I´m happy to do so.

CoreElec is LE for Amlogic platform, so not that different to LE or AE that you are using. It is puzzling on why you would get HTTP 403 Forbidden on LE/AE but not on Windows, as all of them use cCurl, which is part of base Kodi code to retrieve the stream 

I still cant find out why it gets a 403 forbidden on a LE9 device but not on Windows or CoreElec.  I havent got a chance, I have tried... hopefully you can find time to solve it, really miss this addon.
Reply
@Samoozle 
I tested with LibreElec x86 VM on my windows machine and still not seeing the 403 issue. Sorry don't know how I can simulate your issue
Kodi 21 Windows 10 and 11 | 21 Xbox One X | 21 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
I have the exact opposite problem, I can't get Dailymotion(2.4.1b) to work on any device:

Computer 1: xubuntu 18.04 kodi 18.5 - 403 forbidden
Computer 1, virtual machine, 19.04, kodi 18.3 - 403 forbidden   giboduvoku.kodi (paste)
Coreelec 9.2.1, kodi 18.5, arm32, Amlogic S905H, 403 forbidden
Computer 2: xubuntu 18.04, kodi 18.5 - 403 forbidden erokezalir.kodi (paste)
Reply
Live video seems to work just fine: ilohiwaroq.kodi (paste)
Reply
Same thing here, live tv works fine but nothing else does, just get a 403.   It obviously works for Gujal for some reason, but the struggle is real.
Reply
(2020-01-29, 06:00)jayshomebrew Wrote: I have the exact opposite problem, I can't get Dailymotion(2.4.1b) to work on any device:

Computer 1: xubuntu 18.04 kodi 18.5 - 403 forbidden
Computer 1, virtual machine, 19.04, kodi 18.3 - 403 forbidden   giboduvoku.kodi (paste)
Coreelec 9.2.1, kodi 18.5, arm32, Amlogic S905H, 403 forbidden
Computer 2: xubuntu 18.04, kodi 18.5 - 403 forbidden erokezalir.kodi (paste)
The problem is I dont see the issue on any of my devices, so stumped on how to simulate.
Obviously it works for everyone in Windows, so not uploading that log
These are my logs from my test VMs
LibreElec latest nightly with Kodi19-Alpha
Ubuntu 18.04.3LTS with Kodi 18.5-release

In both cases I am not seeing Error 403 unfortunately.
Kodi 21 Windows 10 and 11 | 21 Xbox One X | 21 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
What does line 346  (in dailymotion.py)  do ?
        listitem.setContentLookup(False)

If I comment it out, my ubuntu boxes are able to play videos once more. Smile   This is using 2.4.1b from github & kodi v18.5.
Reply
(2020-01-30, 07:57)jayshomebrew Wrote: What does line 346  (in dailymotion.py)  do ?
        listitem.setContentLookup(False)

If I comment it out, my ubuntu boxes are able to play videos once more. Smile   This is using 2.4.1b from github & kodi v18.5.

Confirmed this is also working for me thanks for the fix 👍👍
Reply
So onto my coreelec boxes...
I noticed that my kodi on coreelec didn't like the url that included the "#cell" part. So if I strip that out:
added after line 340: (dailymotion.py)
    if '#cell' in url:
        url = url[:url.find('#cell')] + url[url.find('|'):0]


I was back in business. I know this is an ugly fix, but I don't know why it doesn't work otherwise.  Here's my dailymotion.py that works on my xubuntu and coreelec.
Reply
(2020-01-31, 05:41)jayshomebrew Wrote: So onto my coreelec boxes...
I noticed that my kodi on coreelec didn't like the url that included the "#cell" part. So if I strip that out:
added after line 340: (dailymotion.py)    if '#cell' in url:
        url = url[:url.find('#cell')] + url[url.find('|'):0]


I was back in business. I know this is an ugly fix, but I don't know why it doesn't work otherwise.  Here's my dailymotion.py that works on my xubuntu and coreelec.

Can you please check with this dailymotion.py and report back
Kodi 21 Windows 10 and 11 | 21 Xbox One X | 21 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
(2020-02-01, 16:30)gujal Wrote:
(2020-01-31, 05:41)jayshomebrew Wrote: So onto my coreelec boxes...
I noticed that my kodi on coreelec didn't like the url that included the "#cell" part. So if I strip that out:
added after line 340: (dailymotion.py)    if '#cell' in url:
        url = url[:url.find('#cell')] + url[url.find('|'):0]


I was back in business. I know this is an ugly fix, but I don't know why it doesn't work otherwise.  Here's my dailymotion.py that works on my xubuntu and coreelec.

Can you please check with this dailymotion.py and report back  

Error: lines 390, 402 and 408.  https://paste.kodi.tv/idehipagif.kodi
Reply
(2020-02-01, 17:17)jayshomebrew Wrote: Error: lines 390, 402 and 408.  https://paste.kodi.tv/idehipagif.kodi 
@jayshomebrew 
That's strange, those are valid syntax, yet they are failing for you. please revert them to the old format that was working for you and test again. Thanks
Code:
Line 390: xbmc.log("DAILYMOTION - m_url = {}".format(m_url), xbmc.LOGDEBUG)
Line 402: strurl = strurl.split('#cell')[0] + '|{}'.format(urllib.parse.urlencode(headers))
Line 408: return m_url + '|{}'.format(urllib.parse.urlencode(headers))
Kodi 21 Windows 10 and 11 | 21 Xbox One X | 21 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
That fixed playing videos for me [xubuntu & coreelec], but live videos fails.
xubuntu: (18.04)
https://paste.kodi.tv/xuxofojizi.kodi

coreelec (v9.2.1)
https://paste.kodi.tv/umogejuqig.kodi

Maybe you're on to something here; as I was reading that regex options change with different versions of python.  Maybe I have some old version of the python interpreter installed?  But I thought its part of kodi. hmmm.
Reply
(2020-02-02, 01:24)gujal Wrote:
(2020-02-01, 17:17)jayshomebrew Wrote: Error: lines 390, 402 and 408.  https://paste.kodi.tv/idehipagif.kodi 
@jayshomebrew 
That's strange, those are valid syntax, yet they are failing for you. please revert them to the old format that was working for you and test again. Thanks
Code:
Line 390: xbmc.log("DAILYMOTION - m_url = {}".format(m_url), xbmc.LOGDEBUG)
Line 402: strurl = strurl.split('#cell')[0] + '|{}'.format(urllib.parse.urlencode(headers))
Line 408: return m_url + '|{}'.format(urllib.parse.urlencode(headers))
@gujal
I'm not sure if it helps, but my sys.version_info is 2.7.17.final.0 (xubuntu) and 2.7.16.final.0 (coreelec).

I went ahead and created a virtualbox image using osboxes.org and uploaded it to sendgb.com. I want to post the link, but I'm not sure if its against forum rules.  Let me know how I can send you the link.
Reply
(2020-02-02, 01:56)jayshomebrew Wrote: That fixed playing videos for me [xubuntu & coreelec], but live videos fails.
xubuntu: (18.04)
https://paste.kodi.tv/xuxofojizi.kodi

coreelec (v9.2.1)
https://paste.kodi.tv/umogejuqig.kodi

Maybe you're on to something here; as I was reading that regex options change with different versions of python.  Maybe I have some old version of the python interpreter installed?  But I thought its part of kodi. hmmm.
Thanks for the tests, so the videos are now opening fine, looks like dailymotion have changed something on the livetv side, I will work on it and get you to test some more.

Python is bundled with Kodi only on the Windows and Android versions. On all other *nix platofrms such as Mac and Linux it uses the system python included in the operating system.
Kodi 21 Windows 10 and 11 | 21 Xbox One X | 21 Linux Mint Virginia XFCE | CoreELEC NO 21 nightly S905X4 aarch64
Reply
  • 1
  • 23
  • 24
  • 25(current)
  • 26
  • 27
  • 28

Logout Mark Read Team Forum Stats Members Help
[RELEASE] DailyMotion.com - Movies, TV, Music, User-Clips, 3D and Livestreams10