• 1
  • 200
  • 201
  • 202(current)
  • 203
  • 204
  • 258
Release YouTube (IMPORTANT - READ FIRST POST)
(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!
What for users that dont login to youtube like me
Hey guys, for me its working only by changing the API key for my Kodi version. And yes i had to enable YouTube data API.

Thanks for the hint!
Thank You very much, it is working very well now. Wink
(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video...5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.

This worked !
Thanks
[

quote='blueribb' pid='2248858' dateline='1455739168']
(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video...5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.

This worked !
Thanks
[/quote]


How would one apply this to the Firestick? Thanks for ANY help you can provide?
(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!

It looks like you're having success with this! Is this also the procedure if you're attempting to do it with a Fire Stick? Any help would be so very appreciated!
(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video...5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.

Send cookies to this guy ! Work perfectly on Raspberry Pi 2 !
Thanks guys for all the work you do for this Addon. Love it!

I also had the quota problems.
activoice's solutions (http://forum.kodi.tv/showthread.php?pid=...pid2213129) works like a charme.
Thank you very much!
(2016-02-17, 23:10)Maeelk Wrote:
(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video...5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.

Send cookies to this guy ! Work perfectly on Raspberry Pi 2 !

Agreed. Triple choc chip. cheers
OSMC Vero 4K, Intel NUC Celeron 847, ODroid N2+, Raspberry Pi3 LibreELEC. Amazon Fire TV
Vizio  Atmos 7.1
LG 65" OLED
(2016-02-17, 22:42)jdelifus Wrote: It looks like you're having success with this! Is this also the procedure if you're attempting to do it with a Fire Stick? Any help would be so very appreciated!

Yeah the same file (login_client.py) worked with my Fire stick too.
Version 5.1.17. Is it possible to add the keys, ids, and secret to login_client.py in this version? I tried doing so by re-naming kodi-12, kodi-13, and kodi-14 to custom names, and replacing the keys, ids, and secret's with the one's I created on the google API site, and it broke the plugin. Luckily, I named the original login_client.py to login_client.py.bak to restore it (On a RPI2).

It would be nice to add additional keys, ids, and secret that are associated with a google user. It might add additional buffer so that quota isn't exceeded with the keys that are included with 5.1.17.
What if youre trying to fix the problem on a device which its not possible to plug in a keyboard to go to those specific urls... is there some sort of actual generator we can use and then just go in to the current youtube addon and just change some numbers around or something?

On mygica i could plug in a keyboard but i have no idea where to input these commands... the core settings are android based. theres no access to any sort of control panel.

anyone willing to make a video tutorial? or does one already exist for those who arent as tech savvy??
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!
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
(2016-02-18, 00:57)smallclone Wrote:
(2016-02-17, 23:10)Maeelk Wrote:
(2016-02-16, 14:52)ntdrt Wrote: I just made quick fix based on random pooling of credentials. Not really a good solution but it will solve problem for now.

Source: https://github.com/kolinger/plugin.video.youtube
ZIP: https://github.com/kolinger/plugin.video...5.1.17.zip

Installation - install from zip or replace files directly in addons folder. Then just logout from youtube and log back. If there was still issue with quota/unknown kind then logout and login again. Every login a random credentials are chosen/propably new pool is chosen.

Send cookies to this guy ! Work perfectly on Raspberry Pi 2 !

Agreed. Triple choc chip. cheers

wow, thank you very very much, you saved the day.... and the youtube add-on Big Grin
  • 1
  • 200
  • 201
  • 202(current)
  • 203
  • 204
  • 258

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