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.
crappymate Wrote:In the stable version of the plugin,
When I go to movies>indian cinema it doesn't list any videos.
Can this bug be looked at.
Same happens in pre Eden beta.

I just tested this in eden-pre v2.6.1 and listing indian cinema works fine here but we know youtube has made some changes to their region restrictions in the movie section so could I get you to create a debug log?
http://code.google.com/p/youtubexbmc/wik...llDebugLog
Hirs Wrote:I'm running eden-pre 2:11.0~git20110809.52a14da-0ubuntu1~ppa1~natty

According to google, last time I used the youtube-xbmc specific pass was on august 8. The plugin says the user or pass is invalid. I have created a new one, but still the same

Well. two factor login works for me.

Did you use your application specific password?
Thanks i just checked it again and it works in 2.6.1.
I just upgraded to 2.6.1 in xbmc nightly in apple tv 1.
YouTube login not working any more.login was working in the stable version.logs is below.

http://pastebin.com/PCii8Q3m

I have tried all the steps mentioned in the troubleshooting login issue page.still no luck.
cheers


HenrikDK Wrote:I just tested this in eden-pre v2.6.1 and listing indian cinema works fine here but we know youtube has made some changes to their region restrictions in the movie section so could I get you to create a debug log?
http://code.google.com/p/youtubexbmc/wik...llDebugLog
crappymate Wrote:Thanks i just checked it again and it works in 2.6.1.
I just upgraded to 2.6.1 in xbmc nightly in apple tv 1.
YouTube login not working any more.login was working in the stable version.I will upload the logs shortly.

Hi, I can still login. Note that if you're making a debug log remove the password as due to an error this is currently written in the log Confused Blush.
can u see any problem looking at the debug log?its doesnt work for me.
but when i use stable on dharma 10.1 login works.
its only when i upgrade to nightyly and use 2.6.1 login fails.

HenrikDK Wrote:Hi, I can still login. Note that if you're making a debug log remove the password as due to an error this is currently written in the log Confused Blush.
crappymate Wrote:can u see any problem looking at the debug log?its doesnt work for me.
but when i use stable on dharma 10.1 login works.
its only when i upgrade to nightyly and use 2.6.1 login fails.

Code:
06:26:21 T:62203392  NOTICE: YouTube2.6.1 _fetchPage connecting to server...
06:26:21 T:62203392  NOTICE: YouTube2.6.1 _fetchPage URLError : <urlopen error unknown url type: https>
06:26:24 T:62203392  NOTICE: YouTube2.6.1 _fetchPage called for : {'link': 'https://www.google.com/accounts/ServiceLogin?uilel=3&amp;service=youtube&amp;passive=true&amp;continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26nomobiletemp%3D1%26hl%3Den_US%26next%3D%252F&amp;hl=en_US&amp;ltmpl=sso', 'error': '1'}
Seems the nightly version of xbmc you're using was built without ssl support.. Huh
so which version should i use? i am using http://mirrors.xbmc.org/nightlies/osx/xb...r-i386.dmg.

what version are u using?
also username field, do i put my youtube account name xxxxxx or google account [email protected].

I used to use second one before in stable version and it used to work.
crappymate Wrote:so which version should i use? i am using http://mirrors.xbmc.org/nightlies/osx/xb...r-i386.dmg.

what version are u using?
also username field, do i put my youtube account name xxxxxx or google account [email protected].

I used to use second one before in stable version and it used to work.

Im using (must be a build issue thats cropped up lately):
http://mirrors.xbmc.org/nightlies/osx/xb...r-i386.dmg

in the username field I put my youtube account name, but both should work.
TobiasTheCommie Wrote:Well. two factor login works for me.

Did you use your application specific password?

Yes, I even created a new one

I have tried to login with my google user and pass, then I'm asked for the pin, after entering the pin, I get this error after some seconds:

Code:
10:54:16 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage called for : {'link': 'https://accounts.google.com/o/oauth2/auth?client_id=208795275779.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=http%3A%2F%2Fgdata.youtube.com&response_type=code', 'no-language-cookie': 'true'}
10:54:16 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage connecting to server...
10:54:18 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage done
10:54:18 T:139917011187456   ERROR: Error Type: <type 'exceptions.ValueError'>
10:54:18 T:139917011187456   ERROR: Error Contents: No JSON object could be decoded
10:54:18 T:139917011187456   ERROR: Traceback (most recent call last):
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/default.py", line 75, in <module>
                                                __navigation__.executeAction(params)
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 125, in executeAction
                                                self.__login__.login(params)
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 74, in login
                                                (result, status) = self._apiLogin()
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 133, in _apiLogin
                                                oauth = json.loads(ret["content"])
                                              File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 360, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
10:54:18 T:139917654677440   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
10:54:18 T:139917654677440   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed
Hirs Wrote:Yes, I even created a new one

I have tried to login with my google user and pass, then I'm asked for the pin, after entering the pin, I get this error after some seconds:

Code:
10:54:16 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage called for : {'link': 'https://accounts.google.com/o/oauth2/auth?client_id=208795275779.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=http%3A%2F%2Fgdata.youtube.com&response_type=code', 'no-language-cookie': 'true'}
10:54:16 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage connecting to server...
10:54:18 T:139917011187456  NOTICE: YouTube2.6.1 _fetchPage done
10:54:18 T:139917011187456   ERROR: Error Type: <type 'exceptions.ValueError'>
10:54:18 T:139917011187456   ERROR: Error Contents: No JSON object could be decoded
10:54:18 T:139917011187456   ERROR: Traceback (most recent call last):
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/default.py", line 75, in <module>
                                                __navigation__.executeAction(params)
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 125, in executeAction
                                                self.__login__.login(params)
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 74, in login
                                                (result, status) = self._apiLogin()
                                              File "/home/carlos/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 133, in _apiLogin
                                                oauth = json.loads(ret["content"])
                                              File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 360, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
10:54:18 T:139917654677440   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/login&action=settings&
10:54:18 T:139917654677440   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/login&action=settings&) failed

That is at least one problem. You should NOT I repeat NOT use application specific password.

Also. I need a complete log. Not a snippet (be sure to remove your pword before uploading it. )
TobiasTheCommie Wrote:That is at least one problem. You should NOT I repeat NOT use application specific password.

Also. I need a complete log. Not a snippet (be sure to remove your pword before uploading it. )

Here it is: http://pastebin.com/iymGdEBk

Is app specific password not supported now? it was working fine for me. I'm not confortable leavig my google pass in clear text Smile
Hirs Wrote:Here it is: http://pastebin.com/iymGdEBk

Is app specific password not supported now? it was working fine for me. I'm not confortable leavig my google pass in clear text Smile

No, it isn't possible with the new Oauth2. Before we used an old deprecated login method, which only supported application specific passwords.

What i can do, is allow login with now password being set(so it will ask every time it needs it). With the new Oauth2 we can refresh the user token, so the password prompt should pop very rarely.

That is still just a snippet, and not the complete log. I NEED the complete log.
I'm running Windows Nightly 20110803 with YouTube 2.6.1.

If I try to login with my YouTube username, the script tells me to use my Google account.

If I then login with my Google account, I get a script failure.

http://pastebin.com/BWChvbnS

Thanks

David
Hi there.
Here the informations :
Windows 7 x86
XBMC Nightly builds
script 2.6.1 from repo
Issue : script error at login with my google creds, it used to works before.
I've deleted add-on and add-on\data folders then downloaded the script from the add-on UI
Here's the debug log :
http://pastebin.com/rzNyEhgQ

Thanks
Hi,

To all the people, that are having problems with the Loggin' in to youtube on the nightly branch, this was caused by youtube changing part of their oauth2 verification procedure (again!).

We're currently working on a bugfixing release that will remedy this, but since Google might change the sign-in process again and we don't wish put too much stress on team xbmc's repositories, we will not be releasing the fix for this through the nightly repo until a couple of weeks have passed and we're more certain that the situation has stabilized. Until then we will provide zip'ed releases of any eventual bugfixes to the login process here