2012-01-22, 19:01
Hi guys,
I'm getting the Script Failed: Plugin.video.youtube error, when trying to play movie trailers
I've tried the data = re.findall('flashvars="(.*?)"', data) fix but the some trailers still will not play
I'm running Dharma 10.1 Git: e9e9099 with YouTube plugin version: 2.1.3. Here are the errors that I am seeing:
Does anyone know how to fix this?
I'm getting the Script Failed: Plugin.video.youtube error, when trying to play movie trailers
I've tried the data = re.findall('flashvars="(.*?)"', data) fix but the some trailers still will not play
I'm running Dharma 10.1 Git: e9e9099 with YouTube plugin version: 2.1.3. Here are the errors that I am seeing:
Code:
6:50:38 T:10472 M:633970688 NOTICE: YouTube-2.1.3
16:50:40 T:10472 M:550137856 ERROR: Error Type: exceptions.NameError
16:50:40 T:10472 M:550080512 ERROR: Error Contents: global name 'content' is not defined
16:50:40 T:10472 M:530546688 ERROR: Traceback (most recent call last):
File "C:\Users\~\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 52, in ?
navigator.executeAction(params)
File "C:\Users\~\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeNavigation.py", line 205, in executeAction
player.playVideo(params)
File "C:\Users\~\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 52, in playVideo
(video, status) = self.getVideoObject(params);
File "C:\Users\~\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 254, in getVideoObject
(links, video) = self._getVideoLinks(video, params)
File "C:\Users\~\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 322, in _getVideoLinks
video["apierror"] = re.compile('reason=(.*)%3Cbr').findall(content)[0]
NameError: global name 'content' is not defined
16:50:40 T:9700 M:521093120 ERROR: XBMC.PlayMedia could not play media: plugin://plugin.video.youtube/?action=play_video&videoid=ZuMNJVImHe4
Does anyone know how to fix this?