(2013-10-22, 05:35)quaternio Wrote: I found a solution for my inability to login to Youtube through the plugin (and boy, was it a pain!). This is for people who have already attached their Youtube account to a Google+ ACCOUNT (as opposed to a Google+ page). Basically, we will be detaching your YT account from your G+ account, and then we will reattach said YT account to a G+ page. Thanks to taliz's post, which helped me deduce what was necessary for this fix.
If you are sure that your YT is not associated with a G+ account, my solution probably won't help you (unless maybe if you choose to create a G+ account, then create a page to associate with your YT account). If you are sure that your YT account is already associated with a G+ PAGE, just skip to step #8 and this should work for you.
This solution will not require deleting your G+ account or any pages already associated with it. Warning: after 14 days, your YT account will be permanently associated with said page (or so the warning dialog claims after doing this).
1) Login to Youtube on a web browser.
2) Click your account in the top right area, then select "Youtube settings" under the YouTube column.
3) In overview, select Advanced (or go to youtube.com/account_advanced)
4) Here, there should be an option to disconnect your channel from your Google+ account, click that and click okay/accept on the next page.
5) Go back to youtube.com/account_advanced as described before.
6) Click the button that says "Connect with a Google+ Page"
7) Choose an existing page or create a new page (DO NOT associate it with your ACCOUNT; and remember, this may be permanent, so choose a page name with which you will be happy)
*At this point, you should be given a login name with a format like <page-name><unique#>@pages.plusgoogle.com ; if not, you should receive it in an email. You will need this to login to Youtube XBMC plugin.
**From here, you have to add a password to your new page-associated version of your channel. I did the following:
8) Go to Google+ (plus.google.com)
9) In the dashboard (hover over Home), select "Pages" and choose "Manage this Page" for the page that you associated with your YT account.
10) Choose "Settings" in the bar at the top of the webpage
11) Scroll down and in the "Third Party Tools" category, click "Set up a password"
12) Create a password
13) Finally, use your <page-name><unique#>@pages.plusgoogle.com and newly created password as your login credentials in the YouTube XBMC plugin (replacing "<page-name><unique#>" with your unique login)
I hope this helps those who have yet to find a solution.
Hi,
I hope someone can shed some light. I´m new to the Raspberry Pi and xbmc.
I´m trying to setup the plugin on a Raspberry Pi running Xbian beta 2 and continue to get an error message.
I followed "quaternio" instructions to attach my youtube account to a g+ page and setup a password for it.
However I still get an error.
In the debug file I see the following section that I think might be the cause:
u'Iniciar sesi\xf3n'
Am I right in thinking that it´s getting text in spanish and getting mixed up with the accent mark.
I have the default setup on the OS (haven´t changed anything). Is this due to the country I´m in (Spain)? Can I work around it?
Below is the debug log. I have changed the password as it was in plain text.
Code:
16:21:24 T:2824860736 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\xf3' in position 12: ordinal not in range(128)
Traceback (most recent call last):
File "/home/xbian/.xbmc/addons/plugin.video.youtube/default.py", line 111, in <module>
login.login()
File "/home/xbian/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 75, in login
result, status = self.authorize()
File "/home/xbian/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 85, in authorize
(result, status) = self._httpLogin({"new": "true"})
File "/home/xbian/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 183, in _httpLogin
ret = self.core._fetchPage(fetch_options)
File "/home/xbian/.xbmc/addons/plugin.video.youtube/YouTubeCore.py", line 400, in _fetchPage
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
File "/usr/lib/python2.7/urllib.py", line 1312, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 12: ordinal not in range(128)
-->End of Python script error report<--
Thanks for your help.
Nicolas