Forum
[PROBLEM] YouTube plugin 4.46 can't login - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+---- Forum: Addons (/forum-19.html)
+---- Thread: [PROBLEM] YouTube plugin 4.46 can't login (/thread-1353.html)



YouTube plugin 4.46 can't login - CaptainZap - 14th Sep, 2013 09:25 PM

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!


RE: YouTube plugin 4.46 can't login - namtih - 14th Sep, 2013 09:50 PM

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.


RE: YouTube plugin 4.46 can't login - CaptainZap - 15th Sep, 2013 08:11 PM

(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.


RE: YouTube plugin 4.46 can't login - mk01 - 15th Sep, 2013 08:40 PM

when you go to youtube add-on plug info, there should be a "rollback" option.


RE: YouTube plugin 4.46 can't login - mk01 - 16th Sep, 2013 02:15 AM

here you have some older versions as well:

http://ivka57.dyndns-ip.com/add-ons/


RE: YouTube plugin 4.46 can't login - brantje - 16th Sep, 2013 07:11 PM

Do you have 2 factor auth on?


RE: YouTube plugin 4.46 can't login - namecaps - 10th Jan, 2014 10:17 PM

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?


RE: YouTube plugin 4.46 can't login - IriDium - 11th Jan, 2014 03:37 AM

@namecaps See post #4


RE: YouTube plugin 4.46 can't login - namecaps - 12th Jan, 2014 05:45 PM

(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?


RE: YouTube plugin 4.46 can't login - mk01 - 16th Jan, 2014 04:01 PM

I have the same errors on MacOSX.

Open bug report on the official youtube addon site with author.


RE: YouTube plugin 4.46 can't login - chochis - 29th Apr, 2014 09:51 PM

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