Forum

Full Version: YouTube plugin 4.46 can't login
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

I'm having some trouble with logging in the youtube plugin. I've used the same method I always used since I installed Xbian on my RPi and I have no ideea what could be the cause for this issue.
Here is a log where you can see the exact error, and maybe point me to a solution.
I hope I hear back from you guys asap.

Thanks!
Version 446 seems really not the best released version. Many users rollback to 444, as it seems more stable.
Regarding the login issue there are also many reports in the offical thread:
http://forum.xbmc.org/showthread.php?tid=79487&page=350

Personally I really think it's a big shame that such important addon is sooo buggy the last months. Many problems, some crashes from time to time and it's slow. It's really not a good addon.
(14th Sep, 2013 09:50 PM)namtih Wrote: [ -> ]Version 446 seems really not the best released version. Many users rollback to 444, as it seems more stable.
Regarding the login issue there are also many reports in the offical thread:
http://forum.xbmc.org/showthread.php?tid=79487&page=350

Personally I really think it's a big shame that such important addon is sooo buggy the last months. Many problems, some crashes from time to time and it's slow. It's really not a good addon.

Can you show me where to download a working version for the youtube app ?

Thanks.
when you go to youtube add-on plug info, there should be a "rollback" option.
here you have some older versions as well:

http://ivka57.dyndns-ip.com/add-ons/
Do you have 2 factor auth on?
Hi,

I'm also having problems with login in. I tried all the solutions (disconnecting g+, creating page, setting password for page user) and still get login failed. I'm using youtube 4.4.6, funny thing is that it works correctly on my ATV2, but not on latest xbian. Any ideas? I checked the debug log, but nothing special there. Does anybody still has problems with login in?
@namecaps See post #4
(11th Jan, 2014 03:37 AM)IriDium Wrote: [ -> ]@namecaps See post #4

Hi, thanks, but I don't know what it does have to do with my problem. I cannot rollback, because 4.4.6 is the first version I have installed, not to mention I tried 4.4.3 and 3.4.4 as well and got the same problem. On the other hand youtube on android and atv2 xbmc log me in correctly, however I haven't tried to delete all the data to check if it works for new users as well.

So, any ideas?
I have the same errors on MacOSX.

Open bug report on the official youtube addon site with author.
The erros on YouTube plugin, there is two main errors that fixing the files make it work to me:
Problems with the login for not "ASCII" users of YouTube: http://code.google.com/p/youtubexbmc/issues/detail?id=106
On YouTubeCore.py
Right before:
Code:
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
add this line to encode the values first
Code:
params["url_data"] = dict((k, v.encode('utf-8')) for (k, v) in get("url_data").items())

Problems with the login for users with the two steps login of youtube: http://code.google.com/p/youtubexbmc/issues/detail?id=115
On YouTubeLogin.py
Look for text string:
Code:
nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})
Replace that with:
Code:
nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})

With those two patches YouTube plugin works for me like a charm.

To see the log of the YouTube plugin go to settins and enable it at the Advanced settings.
Then,
Terminal
tail -f .xbmc/temp/xbmc.log
Reference URL's