-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Description of the bug
The following is considered a continuation of this issue I opened 1+ month ago. Since there is no activity on the leia repo, I am opening an issue here, hoping for the best
firsttris/repository.sendtokodi.leia#5
Steps to reproduce
Send a youtube url to kodi and notice it fail to play like below.
Expected behavior
The url should play as usual
Version and plattform:
- Kodi: Leia 18.9
- Addon: 0.9.901
- Plattform: Libreleec x64 9.2.6
Kodi log
2025-11-14 14:44:18.057 T:140478221633280 ERROR: plugin.video.sendtokodi: Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.sendtokodi/service.py", line 354, in <module>
result = ydl.extract_info(url, download=False)
File "/storage/.kodi/addons/plugin.video.sendtokodi/lib/youtube_dl/YoutubeDL.py", line 875, in extract_info
return self.__extract_info(url, ie, download, extra_info, process)
File "/storage/.kodi/addons/plugin.video.sendtokodi/lib/youtube_dl/YoutubeDL.py", line 891, in wrapper
self.report_error(compat_str(e), tb=e.format_traceback())
File "/storage/.kodi/addons/plugin.video.sendtokodi/lib/youtube_dl/YoutubeDL.py", line 675, in report_error
self.trouble(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.sendtokodi/lib/youtube_dl/YoutubeDL.py", line 645, in trouble
raise DownloadError(message, exc_info)
DownloadError: ERROR: Unable to extract nsig function code (caused by RegexNotFoundError(u'Unable to extract Initial JS player n function name; please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see https://github.com/ytdl-org/youtube-dl/#user-content-installation on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.',)); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see https://github.com/ytdl-org/youtube-dl/#user-content-installation on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
Additional context
Please note that the above is about sendtokodi which is hosted under repository.sendtokodi.leia and is for python2. Youtube-dl works fine on the python3 version of sendtokodi simply because it is on newer and fixed version.
Metadata
Metadata
Assignees
Labels
No labels