Kodi Community Forum
Linux plugin-error when searching with youtube-addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Linux plugin-error when searching with youtube-addon (/showthread.php?tid=156061)



plugin-error when searching with youtube-addon - bred_pitt - 2013-02-13

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.


utf - marco python - 2013-02-18

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.


RE: plugin-error when searching with youtube-addon - bred_pitt - 2013-02-19

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.


YouTubePlayer.py - marco python - 2013-02-19

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=79487&pid=1335597#pid1335597


RE: plugin-error when searching with youtube-addon - bred_pitt - 2013-02-19

It works! 1000x thank you! XBMC with youtube!