2016-02-18, 04:32
I cannot find login_client.py in Raspberry pi 2B, anybody know how the file structure in Raspbian??
(2016-02-17, 18:44)VanZan Wrote:(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
Edited 02/06/16
Verify that the Youtube API is enabled
Go to
https://console.developers.google.com/apis/enabled
Verify that you see YouTube Data API v3 in the list
If it is NOT in the list go to
https://console.developers.google.com/apis/library
Click on the link for YouTube Data Api
Click on Enable API at the top
Go back to
https://console.developers.google.com/apis/enabled
Verify that YouTube Data API v3 is now in the list
End of edit 02/06/16
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...
I have no real idea what all that stuff I did on Google was but it worked!!! Cheers!
(2016-02-18, 03:51)nickr Wrote: What urls? The creation of a API code can be done on your desktop in any browser, like the one where you typed your post in this forum!
(2016-02-17, 14:02)harry_keogh Wrote: I tried following the API fix last night except I didn't uninstall and reinstall first as I had quite a few other addons that depended on it. Instead I just signed out before editing the file and adding my own API information. Unfortunately, after doing this I could not get back into the YouTube addon. I'm not sure whether this was a result of me not reinstalling, or whether I may have mistyped one of the API keys. I will try again this evening.
(2016-02-18, 10:13)finalmakerr Wrote: @adito
You're welcome to try my solution:
https://youtu.be/5E3dn2OPbp0
(2016-02-18, 11:06)finalmakerr Wrote: @adito
Yes i am aware, there was an issue with one of the main API i just fixed it and it's will be up in a few hours.
Repeat the method showed in the video in order to have the updated version.
http://offshoregit.com/finalmakerr/Fixed%20Addons/
Make sure the date is not showing as: 17-Feb-2016 15:31
(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
Edited 02/06/16
Verify that the Youtube API is enabled
Go to
https://console.developers.google.com/apis/enabled
Verify that you see YouTube Data API v3 in the list
If it is NOT in the list go to
https://console.developers.google.com/apis/library
Click on the link for YouTube Data Api
Click on Enable API at the top
Go back to
https://console.developers.google.com/apis/enabled
Verify that YouTube Data API v3 is now in the list
End of edit 02/06/16
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...
(2016-02-18, 11:06)finalmakerr Wrote: @adito
Yes i am aware, there was an issue with one of the main API i just fixed it and it's will be up in a few hours.
Repeat the method showed in the video in order to have the updated version.
http://offshoregit.com/finalmakerr/Fixed%20Addons/
Make sure the date is not showing as: 17-Feb-2016 15:31
(2016-02-18, 11:37)finalmakerr Wrote: @samsonluk Yes that's exactly what i did and shared.
Edit: Except the login part ofcourse