2016-01-12, 06:25
They need to come from google/youtube. Third-parties must use the API.
(2016-01-11, 13:21)JasonPell Wrote:I usually do it that way anyway. Kore also works for casting from an android phone.(2016-01-11, 11:33)V8MEM Wrote: switch to youtube-dl to bypass the limitsSwitching the plugin to use YouTube DL would be a mammoth effort.
What I do when quota strikes is use youtube on my phone and "cast" the videos to play on kodi by having yazte installed
(2016-01-12, 22:16)mrsfixit Wrote: With all due respect to the developer of this addon, and to all the people trying to help out, I too am frustrated and unable to use YouTube anymore.
I think some of you forget that we users are not all on your level. What to you seems like a simple fix to many of us is rocket science.
I've tried reading some of the directions, but when I get to having to "ssh" into something my eyes glaze over and my head hurts. There's hundreds of posts and it's getting hard to follow, much less make sense out of.
I'm a Linux user, so I'm not a total idiot, but I don't do much CLI stuff and I've never used ssh in my life. Most of this stuff is just waaaaaaay over my head.
Maybe one of the experts here would be kind enough to write a simple easy to follow tutorial?
Thanks very much for reading this, and for any help. :-)
(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
Edit 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)
Then I launched 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...