2014-01-29, 10:35
Well Berre, you seem to be good at this Using your instructions I'm able to login to youtube and see all of my contents, but I'm still getting script failed when trying to play any of the videos.
Code:
09:28:21 T:6576 NOTICE: YouTube-4.4.6
09:28:21 T:6576 NOTICE: CommonFunctions-2.5.1
09:28:27 T:6576 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'\u0159' in position 1: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 120, in <module>
navigation.executeAction(params)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeNavigation.py", line 143, in executeAction
self.player.playVideo(params)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 80, in playVideo
(video, status) = self.buildVideoObject(params)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 285, in buildVideoObject
(links, video) = self.extractVideoLinksFromYoutube(video, params)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 418, in extractVideoLinksFromYoutube
result = self.getVideoPageFromYoutube(get)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 401, in getVideoPageFromYoutube
page = self.core._fetchPage({u"link": self.urls[u"video_stream"] % get(u"videoid"), "login": login})
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py", line 447, in _fetchPage
self.login._httpLogin()
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 183, in _httpLogin
ret = self.core._fetchPage(fetch_options)
File "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py", line 400, in _fetchPage
request = urllib2.Request(link, urllib.urlencode(get("url_data")))
File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib.py", line 1269, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0159' in position 1: ordinal not in range(128)
-->End of Python script error report<--
09:28:27 T:6576 WARNING: The python script "C:\Users\xxxxxxxx\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py" has left several classes in memory that we couldn't clean up. The classes include: Addon,Addon
09:28:27 T:11152 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=6j9WP2bXIE8]