• 1
  • 201
  • 202
  • 203(current)
  • 204
  • 205
  • 258
Release YouTube (IMPORTANT - READ FIRST POST)
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!!! Smile Cheers!

I did this as well and everything is working now. Thank you.Big Grin
Here is a temporary working solution.
Same addon exactly but with fresh and working API keys.



I created 4 API keys.
One for Jarvis, Isengard, backup and common.

If Bromix approve or anyone is forking i will be happy to send a pull request.
(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!

ok, but then that api goes where? i looked around in the advanced settings of the youtube addon but i dont see anywhere about api or credentials in there. Where does this info go?
API developer keys must be created in order to use any app.
Using browser or smart tv have their own API just like Bromix's YouTube addon.
I believe the previous API keys has been removed that's why the official addon is broken.
can anyone fix the this graet addon and upload so it will updateHuh

nothing is working for me on kodi 14.2 :-(

thank you
@adito
You're welcome to try my solution:
https://youtu.be/5E3dn2OPbp0
(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.

Tried again last night with the same API keys I'd already created. Didn't do anything with the YouTube app, just left it logged in before I closed down Kodi to amend the file. This time I checked and double checked to make sure I hadn't mistyped the keys. After loading Kodi back up, and signing out and back in to the YouTube app (and going through the 2 step activation process), I'm pleased to say that it worked a treat!
(2016-02-18, 10:13)finalmakerr Wrote: @adito
You're welcome to try my solution:
https://youtu.be/5E3dn2OPbp0

I have tried but with no success...

any way I think there must be 1000's of users with that problem...

can anyone fix it and update the addon so everyone will enjoy youtube in kodi againHuh
@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: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

Hi Thanks, i will try this today on my Shield TV and confirm if its working, are you forking this project ? better to start new thread as this thread has become quite confusing.
Fixed with the following steps.... many thanks!

(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...
@samsonluk Yes that's exactly what i did and shared.
Edit: Except the login part ofcourse Smile
(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 Smile

@finalmakerr I installed your version at first, didn't works so I follow the steps and it works....
@compy
Ahh not going to fork anything, i just had to have this addon working that's all.
I have several addons which use it so it's was my duty to temporary fix it.

Once someone fork and update it , my fix will be overwrite and everything back to normal - it's the same addon.


@samsonluk Great work m8.
And it's not my version just new API i created and i notice today it's actualy the exact original youtube plugin so i uploaded it again and it's shall be up soon.

http://offshoregit.com/finalmakerr/Fixed%20Addons/
Make sure the date is not showing as: 17-Feb-2016 15:31

Edit: Updated Smile
  • 1
  • 201
  • 202
  • 203(current)
  • 204
  • 205
  • 258

Logout Mark Read Team Forum Stats Members Help
YouTube (IMPORTANT - READ FIRST POST)20