2016-01-17, 09:43
(2016-01-13, 01:57)activoice Wrote: Ok I think I got it working... someone else who has their's working should confirm that I've got this documented correctly...
(if this doesn't fix, or you mess things up you should be able to uninstall and reinstall the youtube plugin and it will reset to the default settings)
First uninstal the YOUTUBE addon (you probably don't have to do this but it was just cleaner this way I didn't have to delete any folders)
Then reinstal the YOUTUBE addon... don't sign in
Close KODI
Thent go to
https://console.developers.google.com/apis/
Click on Credentials, then New Credentials, then API key, and select Browser Key, give it a name and click Create (this creates the KEY)
Then back to Credentials
Click on Credentials, then New Credentials, then OAuth Client ID, select Other, give it a name and click Create (this creates the ID and SECRET)
At this point you've got 2 sets of credentials
Locate the file - login_client.py
(On Windows it's located here - C:\Users\username\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\lib\youtube\client
Within the file login_client.py find the section that corresponds to the version of KODI that you're using in my case I'm running version 15.2
youtube-for-kodi-15': {
'system': 'Isengard',
'key': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
'id': 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbb.apps.googleusercontent.com',
'secret': 'ccccccccccccccccccccccccccc'
Set the Key to the Browser API key you created first
Set the ID to the OAuth Client ID you created second
Set the Secret to the Client Secret shown in OAuth Client ID
(Make sure that you're copying and pasting these between the quote marks)
Save the updated login_client.py file
Then launch KODI
Select the YOUTUBE Addon
Select SIGN IN
Then do the 2 x activation thing where you go to
youtube.com/activate
Enter the code from KODI, click NEXT then click ALLOW
Then enter the second code from KODI, click NEXT, then ALLOW
And that should be it... mine seems to be working...
Thanks for this great tutorial, however using Isengard on Windows 7 and this didn't work for me, I'm still receiving unknown kind' errors
Edit: Nevermind, after waiting a bit it seems to be working now