2013-02-16, 16:23
hello,
i'm running plugin version 4.4.1 on raspberry pi.
Today it failed to play any videos from YT. reinstall didn't help. err message: youtube script failed to work. Or something to this extent. i'm also getting message that i need t o check the log files. But i cann't locate any. my messages is clean and nothing in the .xbmc/addons/plugin.video.youtube.
I don't use any login credent to search YT.
Please advise.
P.S. I used to be able to watch YT a week ago.
Found the log :
i'm running plugin version 4.4.1 on raspberry pi.
Today it failed to play any videos from YT. reinstall didn't help. err message: youtube script failed to work. Or something to this extent. i'm also getting message that i need t o check the log files. But i cann't locate any. my messages is clean and nothing in the .xbmc/addons/plugin.video.youtube.
I don't use any login credent to search YT.
Quote:Mossy Wrote: Quick hack that works for me, replace YouTubePlayer.py with this: https://www.dropbox.com/l/GBKQUmxrRnoOBGFB - you can download this and copy it into your plugin.video.youtube folder.didn't work
Please advise.
P.S. I used to be able to watch YT a week ago.
Found the log :
Code:
09:42:22 T:2897212480 NOTICE: Thread Jobworker start, auto delete: true
09:42:31 T:2918908992 NOTICE: Previous line repeats 2 times.
09:42:31 T:2918908992 NOTICE: Thread XBPyThread start, auto delete: false
09:42:31 T:2918908992 NOTICE: -->Python Interpreter Initialized<--
09:42:34 T:2918908992 NOTICE: YouTube-4.4.1
09:42:37 T:2918908992 NOTICE: CommonFunctions-2.5.1
09:42:40 T:2918908992 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('content',)
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.youtube/default.py", line 109, in <module>
navigation.executeAction(params)
File "/home/pi/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 144, in executeAction
self.player.playVideo(params)
File "/home/pi/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 81, in playVideo
(video, status) = self.buildVideoObject(params)
File "/home/pi/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 284, in buildVideoObject
(links, video) = self.extractVideoLinksFromYoutube(video, params)
File "/home/pi/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 367, in extractVideoLinksFromYoutube
if self.isVideoAgeRestricted(result) and self.pluginsettings.userName() != "":
File "/home/pi/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 358, in isVideoAgeRestricted
error = self.common.parseDOM(result['content'], "div", attrs={"id": "watch7-player-age-gate-content"})
KeyError: ('content',)
-->End of Python script error report<--
09:42:41 T:3037876224 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=X1eS3c8S3Uk]
09:42:41 T:2808083520 NOTICE: COMXPlayer::OnExit()
09:42:41 T:2808083520 NOTICE: OMXPlayer: closing audio stream
09:42:41 T:2808083520 NOTICE: Closing audio stream
09:42:41 T:2789155904 NOTICE: thread end: OMXPlayerAudio::OnExit()
09:42:42 T:2808083520 NOTICE: OMXClock using video as reference
09:42:42 T:2808083520 NOTICE: OMXPlayer: closing video stream
09:42:42 T:2808083520 NOTICE: Closing video stream
09:42:42 T:2927297600 NOTICE: thread end: video_thread