Kodi Community Forum

Full Version: [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im unable to login anymore...

Any fixes?
(2014-02-01, 12:36)corb06 Wrote: [ -> ]Im unable to login anymore...

Any fixes?

Same here...
(2014-02-01, 12:36)corb06 Wrote: [ -> ]Im unable to login anymore...

Any fixes?

Same here too :-(, wont some body think of the children!!!!
Berre's method work for me.

My setup

Normal unmodified Youtube addon
No Google Plus
Two Factor enabled
Revoked my old Application-specific password for XBMC Youtube
Created new Application-specific password.


Thanks! Big Grin
(2014-02-02, 00:46)hams1000 Wrote: [ -> ]Berre's method work for me.

My setup

Normal unmodified Youtube addon
No Google Plus
Two Factor enabled
Revoked my old Application-specific password for XBMC Youtube
Created new Application-specific password.


Thanks! Big Grin

I tried:
Normal unmodified Youtube addon
Two Factor enabled
Revoked my old Application-specific password for XBMC Youtube
Created new Application-specific password.

But it made no difference. I click login and it says working for about 3 minutes then finally says log in failed. Was working fine Friday and early yesterday then just stopped.

Haven't tried Berre's method yet.
Well a bit of a pain to go through but Berre's method defiantly works for me. As soon as I saved the XML file on my Raspberry Pi it was able to instantly log in. Looks like the process renders the username and password login redundant as it just uses the API access key and no longer cares what you have as a user name or password.
It seems like the "opening steam" dialog takes longer now.
Just an observation, I'm not complaining by any means.
Ya same here, "opening stream" takes at least twice as long as it did before. I was thinking it was just my ADSL being crap but maybe not.
(2014-01-28, 20:58)Berre Wrote: [ -> ]I finally got the plugin to work again, by manually authenticating it, and writing the authentication token to the settings file.
My solution isn't easy, but i'll try to explain it.

1. open the following url to authenticate the youtube plugin with your google account:
https://accounts.google.com/o/oauth2/aut..._type=code

This will send you to a page which gives you an authentication code.

2. Create an HTML file with the following contents, and open it in a browser:
http://pastebin.com/fdH9xJF7

3. paste the code from step 1 in the code field and click submit
This should give you a result like this:
{
"access_token" : "A long cryptic phrase",
"token_type" : "Bearer",
"expires_in" : 3600,
"refresh_token" : "Another cryptic phrase"
}

4. open the settings.xml file in your "userdata\addon_data\plugin.video.youtube" folder
find the oauth2_access_token setting and copy the access_token phrase from step 3 to the value field
find the oauth2_refresh_token setting and copy the refresh_token phrase from step 3 to the value field
for the oauth2_expires_at setting see step 5

5. Go to http://pythonwebconsole.thomnichols.org/ and run the following script
--------------------------------
import time

print "time.time(): %f " % time.time()
---------------------------------

This will output something like:
time.time(): 1390933738.478000

add 3600 to that number, eg. 1390937338.478000

paste that number in the value field of the oauth2_expires_at setting.

6. Save the settings.xml file

7. the plugin should now work... it did for me.

Thank you soo much!!!
Is there a workaround for the Youtube problem which makes 1080p unavaible?
@Berre

Thank You, Thank You... THANK YOU !!

...for solving the Youtube Login Problem. I've been cursing my screen for the longest time - without any success - and just found your recent post.

Followed your excellent directions (twice, just to get it right Blush), and Lo and Behold... rocketed straight into my account at the first click !

And there are all my subscriptions... Woo-HOO.

Thanks again... I'm off to click on some Tubes !

ps: "Opening Stream" does take longer. Does anybody understand the mechanism causing the delay ?
Which file I have to edit in raspberry?
I haven't file settings.xml file in plugin.video.youtube folder
(2014-01-28, 20:58)Berre Wrote: [ -> ]I finally got the plugin to work again, by manually authenticating it, and writing the authentication token to the settings file.
My solution isn't easy, but i'll try to explain it.
*/ 7 steps of witchcraft */

My hat to you, sir. Worked like a charm.
I am using a Gotham release (the last monthly available, dec 2013).
Is it normal that the YouTube addon is not working properly?

Dakkar
log says :
"The video you have requested has not been rated and may contain content intended for mature audiences"

what can i change and where in my google\youtube accounts?