2011-08-29, 05:36
I recently had to change my google account password due to a suspected security breach, and I believe that I have found a bug.
My current password has a space in it, which works fine for logging in through a browser, but not so much with this plugin.
When I enter in my username (full gmail address) and password then run the script, i get a dialog that says loading youtube, then xbmc notifies me that the script has failed. Here is the relevant portion:
Thanks!
My current password has a space in it, which works fine for logging in through a browser, but not so much with this plugin.
When I enter in my username (full gmail address) and password then run the script, i get a dialog that says loading youtube, then xbmc notifies me that the script has failed. Here is the relevant portion:
Code:
23:25:57 T:5500 ERROR: Error Type: <type 'exceptions.ValueError'>
23:25:57 T:5500 ERROR: Error Contents: No JSON object could be decoded
23:25:57 T:5500 ERROR: Traceback (most recent call last):
File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 66, in <module>
__login__.login()
File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 74, in login
(result, status) = self._apiLogin()
File "C:\Users\Kevin\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 133, in _apiLogin
oauth = json.loads(ret["content"])
File "C:\Program Files (x86)\XBMC\system\python\Lib\json\__init__.py", line 307, in loads
return _default_decoder.decode(s)
File "C:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
23:25:57 T:2780 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/
23:25:57 T:2780 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
23:25:57 T:2816 WARNING: XFILE::CFactoryDirectory::Create - Unsupported protocol(script) in script://
Thanks!