2016-02-03, 12:11
(2016-02-02, 09:49)ruuk Wrote:(2016-02-02, 09:30)gujal Wrote: Hi ruukDon't know off the top of my head, not a windows user. Somewhere in the system path. Sounds like a job for Google
I am using this in Windows and I am getting the same error. Which directory should I copy the ffmpeg.exe (static compiled) into.
Thanks
Okay could not get it working with ffmpeg.exe, may be you are looking for library rather than executable. So I installed avconv which had all the dll files. Now youtube-dl is not giving the previous error, however it starts downloading, and immediately stops.
The way I am using is by playing a stream and while playing go back into program menu and run youtube-dl control, and select "Download currently playing video"
The Kodi log shows the following message. Can you please let me know if it is something wrong on my side. Thanks
Code:
22:54:15 T:4520 NOTICE: script.module.youtube.dl: youtube_dl core version: 2015.12.23
22:54:15 T:4520 NOTICE: script.module.youtube.dl: DOWNLOAD SERVICE: START
22:54:15 T:4520 NOTICE: script.module.youtube.dl: Loading from queue. #1 this session
22:54:16 T:4852 ERROR: Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 810, in __bootstrap_inner
self.run()
File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.module.youtube.dl\lib\YDStreamExtractor.py", line 262, in _handleDownload
result = download(info,util.TMP_PATH)
File "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.module.youtube.dl\lib\YDStreamExtractor.py", line 342, in download
YoutubeDLWrapper.download(info)
File "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.module.youtube.dl\lib\YoutubeDLWrapper.py", line 285, in download
return fd.download(name, info)
File "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.module.youtube.dl\lib\youtube_dl\downloader\common.py", line 342, in download
return self.real_download(filename, info_dict)
File "C:\Users\htpc\AppData\Roaming\Kodi\addons\script.module.youtube.dl\lib\youtube_dl\downloader\hls.py", line 34, in real_download
if info_dict['http_headers'] and re.match(r'^http?://', url):
KeyError: u'http_headers'
22:54:17 T:4520 NOTICE: script.module.youtube.dl: DOWNLOAD SERVICE: FINISHED