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 **New Thread*** - blueribb - 2016-05-28

(2016-05-28, 13:58)Johnny Lager Wrote:
(2016-05-28, 03:59)blueribb Wrote:
(2016-05-28, 02:59)Tarkus_ Wrote: It has nothing to do with the add-on version. It's part of Kodi. From the app's context menu, selection "Information" and it's one of the options at the bottom of the screen.

I selected "Information" from the YouTube app and see: Configure, Update (grayed out), Launch, Uninstall, Disable, Rollback and Changelog. This is version 5.1.19 which works perfectly for me and never exceeds quota. If I install 5.2.1, I do see the "auto update" option in the "Information" list but last night I exceeded the quota right after my version 5.1.19 was auto-updated.

Kodi 15.2
Intel NUC
OpenELEC

You need at least v16 to disable updates on individual addons.

The latest stable version of OpenELEC contains Kodi 15.2 so there's no way to update


RE: YouTube Plug-in **New Thread*** - jdf76 - 2016-05-28

cheapest way around the addon versioning issue is to ssh into openelec, then go to kodi directory then addons/plugin.video.youtube and edit the addon.xml file

change the following line

Code:
<addon id="plugin.video.youtube" name="YouTube" version="5.2.1" provider-name="bromix">

version should be something like version="9.9.9"

Jeff


RE: YouTube Plug-in **New Thread*** - salfter - 2016-05-28

The upgrade to 5.2.1 wasn't the smoothest in the world, but I was eventually able to get it working. I already had my own YouTube API keys that I've been using for a few months by hacking them into the code; it's nice that they're now stored in a settings file that won't get overwritten on upgrades. I would guess that the same steps would apply to 5.2.2 as well:

  1. uninstall the plugin
  2. ssh in and delete ~/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml
  3. reinstall the plugin
  4. call up the plugin settings and tell it to enable personal API keys
  5. enter your API keys (on *ELEC, it's easiest to ssh in and edit ~/.kodi/userdata/addon_data/plugin.video.youtube/settings.xml)
  6. start the plugin and follow the steps to set it up...you'll be given two codes to feed to https://youtube.com/activate

Maybe the inclusion of a different API key in 5.2.2 helps somewhat, but if you're using your own, the likelihood of bumping up against usage limits is pretty much nonexistent.


RE: YouTube Plug-in **New Thread*** - rwspears - 2016-05-29

I cant find the 5.2.2 version is it still available?


Aside from not being able to search I see these errors in the log....



20:29:07 T:4212 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:10 T:4212 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:12 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:12 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:15 T:26788 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:16 T:26788 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:17 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:17 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:31 T:14420 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:35 T:14420 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:36 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:36 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:42 T:31992 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:43 T:31992 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:45 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:45 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:49 T:22928 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:53 T:22928 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:54 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:54 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:57 T:22696 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:58 T:22696 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:59 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:59 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:30:13 T:25972 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:30:17 T:25972 ERROR: [plugin.video.youtube] Unknown kind ''
20:30:18 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:30:18 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed


RE: YouTube Plug-in **New Thread*** - h0d3nt3uf3l - 2016-05-29

(2016-05-29, 02:52)rwspears Wrote: I cant find the 5.2.2 version is it still available?

Aside from not being able to search I see these errors in the log....

20:29:07 T:4212 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8
20:29:10 T:4212 ERROR: [plugin.video.youtube] Unknown kind ''
20:29:12 T:14952 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/
20:29:12 T:14952 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed
20:29:15 T:26788 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Jarvis (16.1) with Python 2.7.8

It's not in the official Repo yet, there are still some people who said they can't login. If this issues are meaningless I'll push to the repo. Thought I allready did that but I think I forgot something and it didn't work, its a bit complicated.
Because of your error: On this time the Quota was exceed allready, but I don't understand why you don't get the message "Quota exceed", because on this message the autologin would jump in and relogin your account.
Is it activated in your settings?


RE: YouTube Plug-in **New Thread*** - J876 - 2016-05-29

Hello YouTube addon users and developers.

I am having a problem with version 5.2.2 of the YouTube addon. It hangs Kodi when I try to access it.

Can you please have a look at my Kodi debug log file:

kodi.log file (up for 30 days):

http://xbmclogs.com/plisecurp


RE: YouTube Plug-in **New Thread*** - h0d3nt3uf3l - 2016-05-29

Sorry but I don't find anything in the log for youtube, via my Phone.
Try to delete under userdata the settings.xml. Its the most usable and simplest way for such issues Smile


RE: YouTube Plug-in **New Thread*** - SteveJobs - 2016-05-29

Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)


RE: YouTube Plug-in **New Thread*** - h0d3nt3uf3l - 2016-05-29

(2016-05-29, 13:39)SteveJobs Wrote: Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)

We build rockets that flying to the moon, sure there is a way Smile I'll keep this in mind for the next Release.


RE: YouTube Plug-in **New Thread*** - SteveJobs - 2016-05-29

(2016-05-29, 13:39)SteveJobs Wrote: Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)

(2016-05-29, 13:43)h0d3nt3uf3l Wrote:
(2016-05-29, 13:39)SteveJobs Wrote: Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)

We build rockets that flying to the moon, sure there is a way Smile I'll keep this in mind for the next Release.

Great! Thanks for your work!


RE: YouTube Plug-in **New Thread*** - Luca Brasi - 2016-05-29

Hey guys,

I am trying to setup the yt plugin (fresh installed 5.2.1) with my own api credentials as explained on the first page of this thread (thanks for the great tutorial btw!).
I am not able to login with those creds. It just says "Login failed" after the first code entered in the process.
If I use the default ones I'll succeed but will get the quota errors after a couple of actions.
Is this something which is expected at the moment or does it make any sense to investigate further on my site? About stuff I might have done wrong regardless of current hiccups with the plugin?

I noticed some things which might be of interest:
- The keys are copied from the google devs site with a space at the end and do show up in the settings.xml with an additional space at the beginning of the keys. I tried it with any combination w/ and w/o the spaces to no avail though.
- The Client ID I get from google ends with .apps.googleusercontent.com - The defautl id doesn't come with that. I tried to leave it out to no avail again.

Thx for any kind of help!


RE: YouTube Plug-in **New Thread*** - h0d3nt3uf3l - 2016-05-29

If your login broke up after the first activation you have an error in your own credentials.
The Key should be entered wihtout spaces. If you copy from google directly you having a space at the beginning and at the end of the string. The same is to prove on the secret and id.
The ID have to insert without "apps.googleusercontent.com". In a further version this was meaningless but I had a short look an saw that this function isn't active anymore (will it insert again).


RE: YouTube Plug-in **New Thread*** - Luca Brasi - 2016-05-29

Thank you very much h0d3nt3uf3l!
Your info made me giving it another try without any spaces and without the ending on the id and now it works!
Must have missed that combination in my first attempts...
Tanks again!


RE: YouTube Plug-in **New Thread*** - mrsfixit - 2016-05-29

(2016-05-29, 13:39)SteveJobs Wrote: Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)

+1

I second that request. That would be great! :-)


RE: YouTube Plug-in **New Thread*** - Gregoire - 2016-05-29

(2016-05-29, 21:34)mrsfixit Wrote:
(2016-05-29, 13:39)SteveJobs Wrote: Is there any way, when a video has ended, to play the next one automatically? (just like in the original YouTube website)

+1

I second that request. That would be great! :-)

How about playlists?