Kodi Community Forum
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: YouTube Plug-in Thread (/showthread.php?tid=353278)



RE: YouTube Plug-in Thread - Jasonoff - 2018-10-26

Seeing the below SNIMissingWarning and InsecurePlatformWarning error recently in the F1 youtube channel.

All videos posted after ~ Oct 20, 2018.

 https://paste.kodi.tv/iguvusilug.kodi


RE: YouTube Plug-in Thread - Johnston - 2018-10-26

Mines playing up too.  I'm using Libreelec on Berryboot so I swapped over to a bare bones OSMC that hasn't been touched since set up.  It worked on the OSMC until everything updated then it did the same.  

Log just saying:  Open - error probing input format


RE: YouTube Plug-in Thread - registeringisnotfun - 2018-10-28

Hi, 

Thanks for the work maintaining and expanding the addon.  Its really great of those who volunteer their time to maintain these for everyone else.

I have noted in the past that the addon has some trouble playing Arabic live stations but I have been asked to provide an example so I have below.

What I experience is the live stream playing for about 1/2 minute or so but then just freezes up.  If its possible to take a look at the below youtube live stream perhaps it would offer some hints as to how to resolve the other channels that exhibit similar tendencies.  Thanks again for the work


DMC HD live stream is the top one, DMC Drama live is the bottom one..

Thanks.
Code:
https://www.youtube.com/watch?v=ajSo3572H5Y
https://www.youtube.com/watch?v=82SQgeNRLXQ



RE: YouTube Plug-in Thread - Luke Cage - 2018-10-28

How/Where can I find the upload date of a video ?
Or even sort on upload date ?


RE: YouTube Plug-in Thread - DarrenHill - 2018-10-28

On the YouTube website?


RE: YouTube Plug-in Thread - Arokhaerr - 2018-10-28

(2018-10-26, 00:40)sinisab89 Wrote: I seems that i have found what's causing the problem. My Windows username is "Siniša" so user folder is under the same name. It's seems Youtube addon doesnt recognize "š", as log shows my folder name to be "Sini\xc5\xa1a". Thats the reason why it cant find the path. Can this be fixed somehow?

Tried commandline parameters on Kodi start to have your userdata folder in Kodi directory and not in appdata which is a subfolder of your user folder?


RE: YouTube Plug-in Thread - jmh2002 - 2018-10-28

(2018-10-28, 11:37)Luke Cage Wrote: How/Where can I find the upload date of a video ?
Or even sort on upload date ?

Media Info view (and possibly other views too) shows 'Aired' date, which is essentially the upload date.


RE: YouTube Plug-in Thread - Jasonoff - 2018-10-28

(2018-10-26, 16:32)Jasonoff Wrote: Seeing the below SNIMissingWarning and InsecurePlatformWarning error recently in the F1 youtube channel.

All videos posted after ~ Oct 20, 2018.

 https://paste.kodi.tv/iguvusilug.kodi
 Updated python to 2.7.14 and now it's an InsecureRequestWarning

https://paste.kodi.tv/icakazutow.kodi


RE: YouTube Plug-in Thread - anxdpanic - 2018-10-29

I've updated post #2 with beta2
[fix] utf-8 file paths
[fix] switching user causing perpetual busy dialog on Kodi 18


@sinisab89 Let me know if the beta2 zip-see above- solves your issue.

@Jasonoff That warning does not impact function, to silence the warning enable Settings - Advanced - Force SSL certificate verification. To resolve your issue, update to beta2 from zip-see above-. If that doesn't resolve the issue, post a complete debug log (wiki).

@Johnston Try updating to beta2 from zip-see above-. If that doesn't resolve the issue, post a complete debug log (wiki).

@registeringisnotfun Those streams weren't online when I checked to know for sure. In Kodi 17 if not already the case, using mpeg-dash for live streams may resolve the issue. Kodi 18 seems to have resolved the issues with all the non-working Kodi 17 live streams that I've tested so far.


RE: YouTube Plug-in Thread - Jasonoff - 2018-10-29

(2018-10-29, 17:55)anxdpanic Wrote: @Jasonoff That warning does not impact function, to silence the warning enable Settings - Advanced - Force SSL certificate verification. To resolve your issue, update to beta2 from zip-see above-. If that doesn't resolve the issue, post a complete debug log (wiki).
EDIT
-------------------------------------------------------------------------
beta2 solved my issue thanks!  It was likely the below fix in beta1
~beta1
[fix] some streams reporting as Unavailable
-------------------------------------------------------------------------
EDIT

Thanks, will give beta2 a try.

The videos don't actually play.  I'll see a popup saying it couldn't be played and a youtube addon popup to check the error log.


RE: YouTube Plug-in Thread - Johnston - 2018-10-30

(2018-10-29, 17:55)anxdpanic Wrote: @Johnston Try updating to beta2 from zip-see above-. If that doesn't resolve the issue, post a complete debug log (wiki).
 
I'll try and get that when I get peace.  Kids are off ATM hogging the telly. 

I did get it working again though by rolling back to 6.1.4


RE: YouTube Plug-in Thread - ILMostro - 2018-11-01

I don't see a way to install the inputstream.adaptive addon.  I keep getting incessant popups every time I try to play something using the youtube plugin or with something that depends on the youtube plugin.  However, every time I select to enable it, it doesn't seem to work.  I've tried replacing the plugins directory with the latest beta2 version, as linked to in the initial post within this thread to no avail.  The following messages can be seen in the log at the time when the addon is attempted to be loaded.  It's worth noting that this is on a raspberrypi2 running ArchLinuxArm.

bash:
15:26:27.208 T:1641492832  NOTICE: [plugin.video.youtube] Running: YouTube (6.2.1~beta2) on Krypton (Kodi-17.6) with Python 2.7.15
                                                Path: /
                                                Params: {}
15:27:48.005 T:1591136608  NOTICE: [plugin.video.youtube] Running: YouTube (6.2.1~beta2) on Krypton (Kodi-17.6) with Python 2.7.15
                                                Path: /config/mpd/
                                                Params: {}
15:27:48.091 T:1591136608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'NoneType' object has no attribute 'on_yes_no_input'
                                            Traceback (most recent call last):
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 7, in <module>
                                                runner.run(__provider__)
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 52, in run                                                                                                                                                           
                                                __RUNNER__.run(provider, context)
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 23, in run                                                                                                                                            
                                                results = provider.navigate(context)
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 87, in navigate                                                                                                                                           
                                                result = method(context, re_match)
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 11, in wrapper                                                                                                                                       
                                                return func(*args, **kwargs)
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 986, in configure_addon                                                                                                                                           
                                                use_dash = context.use_inputstream_adaptive()
                                              File "/var/lib/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_context.py", line 252, in use_inputstream_adaptive                                                                                                                     
                                                if self._ui.on_yes_no_input(self.get_name(), self.localize(30579)):                                                                                                                                                                                                           
                                            AttributeError: 'NoneType' object has no attribute 'on_yes_no_input'                                                                                                                                                                                                              
                                            -->End of Python script error report<--                                                                                                                                                                                                                                           
15:36:12.048 T:1633100128   ERROR: ADDON: extension '' is not currently supported for service addon
15:52:39.893 T:1396658528   ERROR: Previous line repeats 1 times.



RE: YouTube Plug-in Thread - ILMostro - 2018-11-02

Also worth noting: the same logs are displayed while using the current stable version of the plugin; namely, 6.2.0


RE: YouTube Plug-in Thread - orabidoo - 2018-11-03

(2018-10-11, 20:32)anxdpanic Wrote: @pixel8tor
18 will hit RC shortly I believe, I've had very few issues myself. The ffmpeg version bump and inputstream.adaptive updates for 18 resolved the live stream issues seen in 17.

@blueribb
If you clear your custom watch later playlist id, save settings and then use 'Settings -> Folders -> Retrieve Watch Later playlist id' you can enable your real watch later playlist. You may have to add a few videos to watch later from the web/app and re-run for it to find the playlist id.

@stefan_o 
As far as the HTTP Proxy, enabling is all that is required in most cases. For inputstream.adaptive, you can't install it like you install other add-ons. For Ubuntu I believe it is 'sudo apt-get install kodi-inputstream-adaptive', then the next time you start Kodi go to Add-ons - My Add-ons -> VideoPlayer InputStream and enable InputStream Adaptive.
Will need a full debug_log (wiki) if it's not working after that.

@GOZARCK 
It looks like things are changing on their end, and a lot of videos are only showing 360p max for non mpeg-dash streams. Using inputstream.adaptive/mpeg-dash is the only solution.

@heinzgruber
At the moment it is codec related as far as I know, the VP9, Opus streams are currently unsupported by inputstream.adaptive
 The  360p limit seem only in kodi and in a lot of music video  , maybe  with the started premium the videos are locked whith  kodi . Also  inputstream.adaptive/mpeg-dash  dont work : it showed  1080p but the stream  is poor quality  maybe 144p or 240p


RE: YouTube Plug-in Thread - Triplem1075 - 2018-11-04

When selecting "watch later" I'm getting QuotaExceeded.

Using Beta3