Linux plugin-error when searching with youtube-addon
#1
The software is xbmc frodo, running on ubuntu 12.04.1 on a 64-bit machine. The plugin is called Youtube Video Plugin 4.4.1.

When I choose Videos >> Add-ons >> YouTube >> Search, I get an error-message in xbmc reading: "Script Error!: plugin.video.youtube". That's all. No search-window is popping up anymore. It worked a few days ago but now it's just gone. All other functions work without problems.

I tried reinstalling the addon already. This threat recommends deleting a line in Addons15.db but it didn't work for me too.

Couldn't find anything on google about this.
Reply
#2
Lightbulb 
I use eden on 12.10 and get the same problem - "script error" message when trying to choose search in youtube plugin. It arose after using not ASCII symbols.
Replacing return key.encode("utf-8","ignore") string in ~/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py file by return key.decode("utf-8").encode("utf-8","ignore") solved the problem.
Reply
#3
Gorgeous! That fixed the search-entry. However, I now can't play the videos I find. Not sure if this is related to the same problem. No matter which result I choose, the addon always says: "can't find video-url". Maybe the fixed utf8-characters cause missspelled urls now.
Reply
#4
Lightbulb 
Try to replace YouTubePlayer.py with https://www.dropbox.com/l/GBKQUmxrRnoOBGFB - you can download this and copy it into your plugin.video.youtube folder. It works for me.
I found this tip here: http://forum.xbmc.org/showthread.php?tid...pid1335597
Reply
#5
It works! 1000x thank you! XBMC with youtube!
Reply

Logout Mark Read Team Forum Stats Members Help
plugin-error when searching with youtube-addon0