Closed GautamMKGarg closed 1 year ago
i saw once at the yatse source code, that they are using other resolvers as youtube-dl. (also resolvers in the grey area)
Hello
Thanks for reply. Yatse also started using yt-dlp. After debugging sendtokodi code, I found the issue. Few extractors of yt-dlp does not work with format "best" https://github.com/firsttris/plugin.video.sendtokodi/blob/baa5a2200ba13d4b87114df92c3982e02ae3fbcd/service.py#L162
instead of format "best" yt-dlp now suggest new method. Kindly refer below link https://github.com/yt-dlp/yt-dlp/blob/master/README.md#format-selection-examples
In yatse, they attempt to get video data twice, with two different format. Kindly refer url below. https://github.com/Tolriq/repository.yatse.kodi/blob/0e994240717d652c6fe84e0b40c2e418a1051492/script.yatse.kodi/lib/share.py#L108-L114
I think sendtokodi addon lacks code similar to the code of yatse given below https://github.com/Tolriq/repository.yatse.kodi/blob/0e994240717d652c6fe84e0b40c2e418a1051492/script.yatse.kodi/lib/share.py#L76-L90
what do you suggest?
Hi @firsttris
Have you checked my last reply?
hey @GautamMKGarg thx for your research! i really appreciate it.
i think we should improve this as well
do you have the motivation & skills to provide a Pull-Request?
best regards
Describe the bug mxplayer.in URLs are not getting played. Same URL is working fine with Yatse Android App but not working on Kore
To Reproduce Trying to play below url using Kore. Same URL is working fine on Yatse but not working on Kore. https://www.mxplayer.in/show/watch-aashram/season-1/duh-swapna-online-d445579792b0135598ba1bc9088a84cb
Expected behavior Video from above URL should be played
Kodi and sendtokodi version (please complete the following information):
Provide a Kodi log
2022-08-27 15:59:44.172 T:13112 INFO: JSONRPC Server: New connection added
2022-08-27 15:59:51.220 T:20756 INFO : initializing python engine.
2022-08-27 15:59:51.305 T:9708 INFO : Python interpreter stopped
2022-08-27 15:59:53.589 T:1308 INFO : CActiveAESink::OpenSink - initialize sink
2022-08-27 15:59:55.190 T:20756 ERROR : ERROR: [Mxplayer] d445579792b0135598ba1bc9088a84cb: Requested format is not available. Use --list-formats for a list of available formats
2022-08-27 15:59:55.195 T:20756 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'lib.yt_dlp.utils.DownloadError'> Error Contents: ERROR: [Mxplayer] d445579792b0135598ba1bc9088a84cb: Requested format is not available. Use --list-formats for a list of available formats Traceback (most recent call last): File "C:\Users\GG\AppData\Roaming\Kodi\addons\plugin.video.sendtokodi\lib\yt_dlp\YoutubeDL.py", line 1452, in wrapper return func(self, *args, **kwargs) File "C:\Users\GG\AppData\Roaming\Kodi\addons\plugin.video.sendtokodi\lib\yt_dlp\YoutubeDL.py", line 1549, in __extract_info return self.process_ie_result(ie_result, download, extra_info) File "C:\Users\GG\AppData\Roaming\Kodi\addons\plugin.video.sendtokodi\lib\yt_dlp\YoutubeDL.py", line 1607, in process_ie_result ie_result = self.process_video_result(ie_result, download=download) File "C:\Users\GG\AppData\Roaming\Kodi\addons\plugin.video.sendtokodi\lib\yt_dlp\YoutubeDL.py", line 2668, in process_video_result raise ExtractorError( lib.yt_dlp.utils.ExtractorError: [Mxplayer] d445579792b0135598ba1bc9088a84cb: Requested format is not available. Use --list-formats for a list of available formats
2022-08-27 15:59:55.318 T:20756 INFO: Python interpreter stopped