Kodi Community Forum
Release YouTube Plug-in Thread - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release YouTube Plug-in Thread (/showthread.php?tid=267160)



RE: YouTube Plug-in Thread - DjDiabolik - 2017-12-09

I don't know because there's append........ i don't touch nothings on my current config of kodi and from about two or three days my Pi2 whit latest osmc i have some problems on youtube live streaming.

I have updated my addons to latest alpha13...... about two or three days ago when a live streaming it's reproduction i see the cache seconds it's about 7 or 8 seconds. From today the cache seconds it's drop to 1 or 2 seconds and i obtain so many drop connection.

I doesn't touch nothigs on my kodi configuration...... i have also made some internet connection test from my Pi2 setup (used so many differer addons) and the result's it's ever better to 18Mbps................ very strange.


I have also tryed to do some "google" search but there's only a confusion obtain..... only releated thread to the "advancedsettings.xml"....................


RE: YouTube Plug-in Thread - anxdpanic - 2017-12-09

@Steph09 Not currently

@wagnumpi @peterdejong In inputstream.adaptive settings, 
Stream Selection : Auto
Ignore Display Resolution: True
Min Bandwidth: Adjust until achieving desired resolutions. 10000000~30000000 seems to work for most I've tried.

@DjDiabolik As far as I know Kodi only has an 8 second buffer for hls/live content. Could be something on YouTube/ISP side other than that I don't know of anything that could be done in Kodi or add-on to resolve. Using inputstream.adaptive may improve things.


RE: YouTube Plug-in Thread - musicadi - 2017-12-10

@anxdpanic 

I'm experiencing a weird issues. I'm starting a video, but nothing happens, although I can see the play counter running on the top of the screen (as if the video player had been minimized)

Here is the debug log.

http://sprunge.us/ORMb

My setup:
Hardware: Wetek Core
OS: LibreELEC 8.2.1
Skin: Amber (happens with Estuary skin also)
Youtube Addon 5.4.5


RE: YouTube Plug-in Thread - mysteron09 - 2017-12-11

Getting a "Daily Limit Exceeded" error - haven't seen this for a long time.

Would the fix used for the previous occurrences of this be still applicable e.g. Getting personal API keys, or will an update be coming?


RE: YouTube Plug-in Thread - jmh2002 - 2017-12-11

Quote:Getting a "Daily Limit Exceeded" error - haven't seen this for a long time. 

Would the fix used for the previous occurrences of this be still applicable e.g. Getting personal API keys, or will an update be coming?
Yes, please see the following from the FAQ in Post #3 on Page #1 here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963, as well as the Personal API Instructions in Post #2 on the same page.

* PERSONAL API KEYS - EXTRA INFO

* Why do I get "Daily Limit Quota Exceeded" Errors when I try to use the YouTube addon?


RE: YouTube Plug-in Thread - nickr - 2017-12-11

(2017-12-07, 14:27)DSilverburgh Wrote: This doesn't work on a Raspberry Pi running LibreElec as there is no browser.
 You don't need a browser on your Kodi machine.

If you are referring to accessing the youtube activate page, use another computer that DOES have a browser,


RE: YouTube Plug-in Thread - musicadi - 2017-12-11

(2017-12-10, 19:02)musicadi Wrote: @anxdpanic 

I'm experiencing a weird issues. I'm starting a video, but nothing happens, although I can see the play counter running on the top of the screen (as if the video player had been minimized)

Here is the debug log.

http://sprunge.us/ORMb

My setup:
Hardware: Wetek Core
OS: LibreELEC 8.2.1
Skin: Amber (happens with Estuary skin also)
Youtube Addon 5.4.5

P.S. It seems to be related to the audio codec used. The "video" I'm trying to play actually only has audio. It plays well on my laptop.

Here is one of them:
https://youtu.be/2rBr68kP63o


RE: YouTube Plug-in Thread - DjDiabolik - 2017-12-11

(2017-12-09, 23:10)anxdpanic Wrote: @Steph09 Not currently

@wagnumpi @peterdejong In inputstream.adaptive settings, 
Stream Selection : Auto
Ignore Display Resolution: True
Min Bandwidth: Adjust until achieving desired resolutions. 10000000~30000000 seems to work for most I've tried.

@DjDiabolik As far as I know Kodi only has an 8 second buffer for hls/live content. Could be something on YouTube/ISP side other than that I don't know of anything that could be done in Kodi or add-on to resolve. Using inputstream.adaptive may improve things.
For inputstream..... i still wait for an update whit latest version included on osmc. At today the current version it's not really stable......


RE: YouTube Plug-in Thread - anxdpanic - 2017-12-11

@musicadi The video you're playing is actually 360p (mp4;h.264 / aac@96) which shouldn't be an issue for Kodi, and are working(all black screen with seekbar and audio playing) on my Windows and OSMC installs. If you set the add-on to "Always ask for video quality" you can try the other audo/video codec and bitrate options.

Similar to @DjDiabolik's issue, once we start playback there isn't much we can do unless we're passing something unsupported to Kodi which doesn't appear to be the case.


RE: YouTube Plug-in Thread - DjDiabolik - 2017-12-12

(2017-12-11, 17:11)anxdpanic Wrote: @musicadi The video you're playing is actually 360p (mp4;h.264 / aac@96) which shouldn't be an issue for Kodi, and are working(all black screen with seekbar and audio playing) on my Windows and OSMC installs. If you set the add-on to "Always ask for video quality" you can try the other audo/video codec and bitrate options.

Similar to @DjDiabolik's issue, once we start playback there isn't much we can do unless we're passing something unsupported to Kodi which doesn't appear to be the case.
My little trouble about the " first handful of frames cut away " it's stange..... when i have some time i try to install kodi on my pc whit windows (but i preferr to found a total portable version if exist), maybe it's somethigs like hardware accelleration or similar......


RE: YouTube Plug-in Thread - skepguy - 2017-12-13

Help me I'm signed in and can't watch age restricted content


RE: YouTube Plug-in Thread - Bekar - 2017-12-14

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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ
22:14:14.815 T:140735094886400 WARNING: CDVDMessageQueue(player):Tongueut 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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ|acceptencoding=gzip&seekable=0
22:14:15.758 T:123145306673152   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ)
22:14:15.759 T:123145306673152   ERROR: CVideoPlayer::OpenInputStream - error opening [https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_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?


RE: YouTube Plug-in Thread - DjDiabolik - 2017-12-14

(2017-12-14, 13:49)Bekar Wrote: 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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ
22:14:14.815 T:140735094886400 WARNING: CDVDMessageQueue(player):Tongueut 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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ|acceptencoding=gzip&seekable=0
22:14:15.758 T:123145306673152   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ)
22:14:15.759 T:123145306673152   ERROR: CVideoPlayer::OpenInputStream - error opening [https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_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?
 Are you activated the DASH Support ? If yes try whit latest alpha from GitHub Project Page....
If you are already activated DASH try to disable it from Youtube Addons Preferences............ and see what's appends.....


RE: YouTube Plug-in Thread - Bekar - 2017-12-14

(2017-12-14, 19:27)DjDiabolik Wrote:
(2017-12-14, 13:49)Bekar Wrote: 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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ
22:14:14.815 T:140735094886400 WARNING: CDVDMessageQueue(player):Tongueut 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/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ|acceptencoding=gzip&seekable=0
22:14:15.758 T:123145306673152   ERROR: AddOnLog: InputStream Adaptive: Could not open / parse mpdURL (https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_Lm4BQ)
22:14:15.759 T:123145306673152   ERROR: CVideoPlayer::OpenInputStream - error opening [https://manifest.googlevideo.com/api/manifest/dash/pl/23/signature/2997437F8F59F2B655589B3B7967289E98D89D2E.9B9301F86FA402C723E7D22720635653675BC78F/ip/203.29.19.83/requiressl/yes/id/1c99fdad2cc02841/as/fmp4_audio_clear%2Cfmp4_sd_hd_clear/pcm2cms/yes/mt/1513249781/ms/au/mn/sn-hufvjvgx-hxal/key/yt6/itag/0/mm/31/playback_host/r5---sn-hufvjvgx-hxal.googlevideo.com/sparams/as%2Cei%2Chfr%2Cid%2Cip%2Cipbits%2Citag%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cplayback_host%2Crequiressl%2Csource%2Cexpire/mv/u/expire/1513271654/hfr/1/source/youtube/ipbits/0/ei/Bl0yWrPvE8a54ALU_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?
 Are you activated the DASH Support ? If yes try whit latest alpha from GitHub Project Page....
If you are already activated DASH try to disable it from Youtube Addons Preferences............ and see what's appends..... 
 I tried initially with the default state (off), then tried again with it on. Neither changed the behaviour.

I'll try pulling the alpha from github next.


RE: YouTube Plug-in Thread - anxdpanic - 2017-12-14

This seems like an issue beyond the scope of the add-on. The loading of thumbnails is handled by Kodi (we just pass the url) and the thumbnail urls are valid, your test and opening it in browser confirms that. I'd be looking at general, and Kodi connectivity outside of the add-on. Partial log doesn't show enough to make any further guesses.