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 - jmh2002 - 2017-08-27

From Post #2, Step #1:

NB: Please ignore any offers to "Sign up for a free trial..." and/or "Try Google Cloud Platform for free". It is not required.


RE: YouTube Plug-in Thread - so525 - 2017-08-27

Does youtube plugin in Kodi support 4K HDR content?


RE: YouTube Plug-in Thread - DjDiabolik - 2017-08-28

i have now a my subscripted channel i know it's in live right now...... if i try to open this from pc the live it's working whitout any problems.

On osmc (latest upgraded version) whit latest 2.4.3alpha3 (but i have also try to reinstall the latest 5.4.2 whit same result) apparently this live it's not work........... i usually not use the DASH support because i obtain sometime problems whit buffering but i have also tryed to enableit and there's this live not works.

I thinks i can post the link of this live but the user it's be close it in about 10 minutes and i don't thinks someone right now can reproduce this issue.......

The very strange because i have tryed to open another live stream and apparently it's works... apparently i can't only reproduce this specific live stream.



And i have another question:
Because i can see/access this live only from "My subscription" ? Because if i manually access to this channel video list this live it's not be appear listed ?


History is empty - andreskru - 2017-08-28

Hi Guys,

When triying to access to my video History, it appears empty.
Check Below Debug logs when clicking on History.
Any idea?

Code:
12:28:06.144 T:140309011786112   DEBUG: ------ Window Init (Pointer.xml) ------
12:28:08.359 T:140309011786112   DEBUG: ProcessMouse: trying mouse action leftclick
12:28:08.359 T:140309011786112   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/channel/mine/playlist/HL/)
12:28:08.359 T:140309011786112   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
12:28:08.360 T:140307738343168   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/channel/mine/playlist/HL/','7','')
12:28:08.360 T:140308494481152   DEBUG: Thread LanguageInvoker start, auto delete: false
12:28:08.360 T:140308494481152    INFO: initializing python engine.
12:28:08.372 T:140306983024384   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 13 ms
12:28:08.436 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
12:28:08.505 T:140308494481152   DEBUG: -->Python Interpreter Initialized<--
12:28:08.505 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): the source file to load is "/home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py"
12:28:08.505 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): setting the Python path to /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib:/home/andreskru/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/andreskru/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
12:28:08.506 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib
12:28:08.506 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.19.0 of the xbmc.python api
12:28:08.860 T:140309011786112   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:28:08.979 T:140308494481152   DEBUG: [plugin.video.youtube] Using API key set: 1
12:28:09.034 T:140308494481152   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
12:28:09.073 T:140308494481152  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.2) on Krypton (Kodi-17.4) with Python 2.7.12
12:28:09.078 T:140308494481152   DEBUG: [plugin.video.youtube] Path: "/channel/mine/playlist/HL/
12:28:09.078 T:140308494481152   DEBUG: [plugin.video.youtube] Params: "{}"
12:28:09.080 T:140308494481152   DEBUG: [plugin.video.youtube] Setting content-type: "videos" for "/channel/mine/playlist/HL/"
12:28:09.085 T:140308494481152   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
12:28:09.086 T:140308494481152   DEBUG: [plugin.video.youtube] Access token count: |2| Refresh token count: |2|
12:28:09.086 T:140308494481152   DEBUG: [plugin.video.youtube] User is logged in
12:28:09.317 T:140307018487552   DEBUG: CCurlFile::Open - effective URL: <http://ftp.halifax.rwth-aachen.de/xbmc/addons/krypton/plugin.video.ustvnow/resources/images/icon.png>
12:28:09.527 T:140308494481152 WARNING: [plugin.video.youtube] List of search result is empty
12:28:09.527 T:140308494481152   DEBUG: [plugin.video.youtube] Shutdown of Kodion
12:28:09.527 T:140308494481152    INFO: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
12:28:09.530 T:140306991417088   DEBUG: Thread BackgroundLoader start, auto delete: false
12:28:09.541 T:140306991417088   DEBUG: Thread BackgroundLoader 140306991417088 terminating
12:28:09.579 T:140308494481152    INFO: Python script stopped
12:28:09.580 T:140308494481152   DEBUG: Thread LanguageInvoker 140308494481152 terminating
12:28:09.837 T:140307018487552   DEBUG: Caching image 'http://mirrors.kodi.tv/addons/krypton/plugin.video.ustvnow/resources/images/icon.png' to '4/4ee85d1c.jpg':
12:28:09.842 T:140307018487552   DEBUG: cached image 'special://masterprofile/Thumbnails/4/4ee85d1c.jpg' size 512x512
12:28:10.010 T:140309011786112   DEBUG: ------ Window Deinit (DialogBusy.xml) ------



YouTube Plug-in Thread - Blarre72 - 2017-08-28

(2017-08-28, 17:35)andreskru Wrote: Hi Guys,

When triying to access to my video History, it appears empty.
Check Below Debug logs when clicking on History.
Any idea?

Code:
12:28:06.144 T:140309011786112   DEBUG: ------ Window Init (Pointer.xml) ------
12:28:08.359 T:140309011786112   DEBUG: ProcessMouse: trying mouse action leftclick
12:28:08.359 T:140309011786112   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/channel/mine/playlist/HL/)
12:28:08.359 T:140309011786112   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
12:28:08.360 T:140307738343168   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/channel/mine/playlist/HL/','7','')
12:28:08.360 T:140308494481152   DEBUG: Thread LanguageInvoker start, auto delete: false
12:28:08.360 T:140308494481152    INFO: initializing python engine.
12:28:08.372 T:140306983024384   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 13 ms
12:28:08.436 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
12:28:08.505 T:140308494481152   DEBUG: -->Python Interpreter Initialized<--
12:28:08.505 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): the source file to load is "/home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py"
12:28:08.505 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): setting the Python path to /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib:/home/andreskru/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/andreskru/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
12:28:08.506 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib
12:28:08.506 T:140308494481152   DEBUG: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.19.0 of the xbmc.python api
12:28:08.860 T:140309011786112   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:28:08.979 T:140308494481152   DEBUG: [plugin.video.youtube] Using API key set: 1
12:28:09.034 T:140308494481152   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
12:28:09.073 T:140308494481152  NOTICE: [plugin.video.youtube] Running: YouTube (5.4.2) on Krypton (Kodi-17.4) with Python 2.7.12
12:28:09.078 T:140308494481152   DEBUG: [plugin.video.youtube] Path: "/channel/mine/playlist/HL/
12:28:09.078 T:140308494481152   DEBUG: [plugin.video.youtube] Params: "{}"
12:28:09.080 T:140308494481152   DEBUG: [plugin.video.youtube] Setting content-type: "videos" for "/channel/mine/playlist/HL/"
12:28:09.085 T:140308494481152   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
12:28:09.086 T:140308494481152   DEBUG: [plugin.video.youtube] Access token count: |2| Refresh token count: |2|
12:28:09.086 T:140308494481152   DEBUG: [plugin.video.youtube] User is logged in
12:28:09.317 T:140307018487552   DEBUG: CCurlFile::Open - effective URL: <http://ftp.halifax.rwth-aachen.de/xbmc/addons/krypton/plugin.video.ustvnow/resources/images/icon.png>
12:28:09.527 T:140308494481152 WARNING: [plugin.video.youtube] List of search result is empty
12:28:09.527 T:140308494481152   DEBUG: [plugin.video.youtube] Shutdown of Kodion
12:28:09.527 T:140308494481152    INFO: CPythonInvoker(11, /home/andreskru/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
12:28:09.530 T:140306991417088   DEBUG: Thread BackgroundLoader start, auto delete: false
12:28:09.541 T:140306991417088   DEBUG: Thread BackgroundLoader 140306991417088 terminating
12:28:09.579 T:140308494481152    INFO: Python script stopped
12:28:09.580 T:140308494481152   DEBUG: Thread LanguageInvoker 140308494481152 terminating
12:28:09.837 T:140307018487552   DEBUG: Caching image 'http://mirrors.kodi.tv/addons/krypton/plugin.video.ustvnow/resources/images/icon.png' to '4/4ee85d1c.jpg':
12:28:09.842 T:140307018487552   DEBUG: cached image 'special://masterprofile/Thumbnails/4/4ee85d1c.jpg' size 512x512
12:28:10.010 T:140309011786112   DEBUG: ------ Window Deinit (DialogBusy.xml) ------


Youtube no longer support access to History or Watch Later via their API. See the first post for a work around to this issue.


RE: YouTube Plug-in Thread - jmh2002 - 2017-08-28

Actually, please see the following from the FAQ in Post #3 on Page #1 of this thread here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963

* HOW TO USE THE CUSTOM WATCH LATER and CUSTOM HISTORY FEATURE


YouTube Plug-in Thread - Blarre72 - 2017-08-28

(2017-08-28, 20:02)jmh2002 Wrote: Actually, please see the following from the FAQ in Post #3 on Page #1 of this thread here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963

* HOW TO USE THE CUSTOM WATCH LATER and CUSTOM HISTORY FEATURE


Yes, you are right. Thank you for correcting me Smile. But I strongly suggest that he also read from post #1 to get his personal API key. Because the quota tend to run out all the time.


RE: YouTube Plug-in Thread - jmh2002 - 2017-08-29

Actually my instructions for the Personal API Key are in Post #2 on Page #1 (as noted in my signature on every post that I make here) Smile


RE: YouTube Plug-in Thread - drrak - 2017-08-29

Google translator:
The search option crashes the plugin (sometimes). Fortunately, the back button works and the search is running again normally.

RPi3, Kodi 17.3, LibreELEC 8.0.2, YouTube 5.4.2


RE: YouTube Plug-in Thread - jdf76 - 2017-08-29

(2017-08-29, 13:13)drrak Wrote: Google translator:
The search option crashes the plugin (sometimes). Fortunately, the back button works and the search is running again normally.

RPi3, Kodi 17.3, LibreELEC 8.0.2, YouTube 5.4.2
debug_log (wiki) please


RE: YouTube Plug-in Thread - petou - 2017-08-29

is there a way to start a video with json command?

something like

Code:
{"jsonrpc":"2.0","id":"1","method":"Addons.ExecuteAddon","params":{"addonid":"plugin.video.youtube","item":{"file":"plugin://plugin.video.youtube/play/?video_id=wQP9XZc2Y_c"}}}

Is there some documentation to see the good params to use? Because that line dont work for me...

thanks


RE: YouTube Plug-in Thread - bonapartyparty - 2017-08-29

Hi guys,

I have a weird problem with the Youtube plugin (5.4.2). Suddenly it has become excruciatingly slow! Everything is slow, from starting it up, to showing lists, to actually starting the video (can take more dan 30s). When the video is finally playing, most of the time it stops halfway to buffer. Now here comes the strange part:

This is happening:
  • on brand new installs
  • on my Windows 10 HTPC, API keys setup properly (Kodi 17.3)
  • on my 13" MacBook Pro (2017), no API setup, not even signed in. (Kodi 17.4)
  • All my youtube related plugins suffer as well. The others don't (like VIMEO).
  • Accessing Youtube directly via a browser is working perfectly (but I like the Youtube plugin so much better!)

Maybe the problem has to do with my modem/routers but I cannot see how they could impact the workings of a Kodi Plugin.

The next logical step in diagnosing this problem would be to take my laptop to another network/wifi and check if the problem still exists. Will do that tomorrow.

Thanks in advance for any help!


RE: YouTube Plug-in Thread - DarrenHill - 2017-08-29

The next logical step would be gathering a debug enabled debug log (wiki) of such a situation, uploading it to PasteBin and supplying their link here.


RE: YouTube Plug-in Thread - bonapartyparty - 2017-08-30

Hi DarrenHill,

Off course, you are right. Here it is for the HTPC Windows 10 machine:
https://paste.ubuntu.com/25430459/

Going from starting KODI to watching Lon Seidman do his thing took almost 3 minutes!

UPDATE: Brought my MacBook to work, no problem whatsoever. Confused

Thanks again,
Tijs


RE: YouTube Plug-in Thread - Karellen - 2017-08-30

@drrak.

Please stop posting here.

You have numerous banned add-ons installed which makes you ineligible for support here.

Simply not providing a debug log, or providing snippits of the log will not get around that.