Hi,
Having an issue I can't seem to resolve with the Youtube addon (5.4.5) on OSX.
Installed the plugin, ran through did the two API keys, hit "My Subscriptions", picked a video at random (something I know works as I watched it earlier on a different computer) and it failed.
At first I thought it was a proxy error so disabled the proxy, but the problem persisted.
The plugin correctly gets the "My Subscriptions" content, just not any thumbnails or video streams.
After finding the log, some errors.
Code:
22:14:11.536 T:123145303990272 ERROR: CCurlFile::Open failed with code 0 for https://i.ytimg.com/vi/HJn9rSzAKEE/hqdefault.jpg
22:14:11.945 T:123145306136576 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.6) with Python 2.7.12
22:14:14.815 T:140735094886400 NOTICE: VideoPlayer: Opening: https://manifest.googlevideo.com/api/man...4ALU_Lm4BQ
22:14:14.815 T:140735094886400 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
22:14:14.815 T:123145306673152 NOTICE: Creating InputStream
22:14:14.998 T:123145308819456 NOTICE: [plugin.video.youtube] Running: YouTube (5.4.5) on Krypton (Kodi-17.6) with Python 2.7.12
22:14:15.756 T:123145306673152 ERROR: CCurlFile::Open failed with code 0 for https://manifest.googlevideo.com/api/man...seekable=0
22:14:15.758 T:123145306673152 ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (https://manifest.googlevideo.com/api/man...4ALU_Lm4BQ)
22:14:15.759 T:123145306673152 ERROR: CVideoPlayer::OpenInputStream - error opening [https://manifest.googlevideo.com/api/man...4ALU_Lm4BQ]
22:14:15.759 T:123145306673152 NOTICE: CVideoPlayer::OnExit()
22:14:15.767 T:140735094886400 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=HJn9rSzAKEE]
22:14:15.767 T:140735094886400 NOTICE: CVideoPlayer::CloseFile()
22:14:15.767 T:140735094886400 NOTICE: VideoPlayer: waiting for threads to exit
22:14:15.767 T:140735094886400 NOTICE: VideoPlayer: finished waiting
22:14:15.768 T:140735094886400 NOTICE: CVideoPlayer::CloseFile()
22:14:15.768 T:140735094886400 NOTICE: VideoPlayer: waiting for threads to exit
22:14:15.768 T:140735094886400 NOTICE: VideoPlayer: finished waiting
Debug log for the same set of actions (namely, out of the system settings menu, into video addons and hitting play on a video item;
log available here).
Using the CLI curl on the OSX box on any of those URL's returns the expected data stream.
Some quick python to test the python call that I could see happening:
Code:
bekar:~ bekar$ export PYTHONPATH="Library/Application Support/Kodi/addons/script.module.requests/lib"
bekar:~ bekar$ cat test.py
import urllib
import requests
result = requests.get('https://i.ytimg.com/vi/HJn9rSzAKEE/hqdefault.jpg', allow_redirects=True)
print result
bekar:~ bekar$ python test.py
<Response [200]>
This suggests that python its self isn't having the issue, but by the same token I don't think that's the right function call to test.
Anyway, any thoughts on what to try next? Am I just missing something obvious?