(2024-11-05, 12:37)gujal Wrote: (2024-11-05, 04:05)granate Wrote: Thanks for the patch file - playback works but download does not.
Yes. It is expected as Dailymotion are no longer presenting MP4 and switched to HLS completely. That is why playback was broken. The side effect is that you cannot download anymore as they are using HLS. You may have to use something like youtube-dl that can download the individual transport segments in the HLS file and stitch them together to make up the MP4 file
Thanks for the patch. Neverthless, even with it I get the following error. (Seems to have smth. to do with subtitles?)
code:
2024-11-29 16:52:15.416 T:1491 error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ValueError'>
Error Contents: invalid literal for int() with base 10: 'English'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.dailymotion_com/default.py", line 18, in <module>
from resources.lib import dailymotion
File "/storage/.kodi/addons/plugin.video.dailymotion_com/resources/lib/dailymotion.py", line 837, in <module>
playVideo(url)
File "/storage/.kodi/addons/plugin.video.dailymotion_com/resources/lib/dailymotion.py", line 351, in playVideo
url = getStreamUrl(vid)
^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.dailymotion_com/resources/lib/dailymotion.py", line 413, in getStreamUrl
mb = sorted(mb, key=s, reverse=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/plugin.video.dailymotion_com/resources/lib/dailymotion.py", line 375, in s
return int(elem[0].split("@")[0])
^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'English'
-->End of Python script error report<--
2024-11-29 16:52:15.561 T:1095 error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.dailymotion_com/?url=x8y5e30&mode=playVideo]