2019-04-07, 01:51
Kodi 18 with youtube-dl version 2018.11.07
YDStreamExtractor.download( info, downloadPath, template=template)
Returns a value without the downloaded path, but if you use the API which provides a progress dialog then it does. It seems that
class YoutubeDLWrapper(youtube_dl.YoutubeDL).progressCallback returns because _CALLBACK is not set before the path is stored:
if not _CALLBACK:
return
....
if info.get('filename'):
self._lastDownloadedFilePath = info.get('filename')
Of course I may be misunderstanding the code :-)
YDStreamExtractor.download( info, downloadPath, template=template)
Returns a value without the downloaded path, but if you use the API which provides a progress dialog then it does. It seems that
class YoutubeDLWrapper(youtube_dl.YoutubeDL).progressCallback returns because _CALLBACK is not set before the path is stored:
if not _CALLBACK:
return
....
if info.get('filename'):
self._lastDownloadedFilePath = info.get('filename')
Of course I may be misunderstanding the code :-)