Kodi Community Forum

Full Version: [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2013-01-08, 02:54)spencers Wrote: [ -> ]Good god. I get home from being out of town for a couple of weeks and what the heck happened?

Dependencies not met. Youtube broken.

Frodo RC3. (Openelec RC1)

I suppose this is how it goes with a new major XBMC release... a lot of stuff is broken and needs to be fixed. :\
Well your not on your own, I get the same messages. Can't even stream YT from my phone using Yatse Sad
this is from a message i posted 3 days ago
noone got the answers?
Code:
19:15:47 T:2750528320   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xd1 in position 7: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/default.py", line 111, in <module>
                                                navigation.listMenu(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 109, in listMenu
                                                return self.list(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 184, in list
                                                (results, status) = self.storage.list(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 53, in list
                                                return self.getStoredSearches(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 112, in getStoredSearches
                                                thumbnail = self.retrieveSettings(params, "thumbnail", item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 476, in retrieveSettings
                                                key = self.getStorageKey(params, type, item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 249, in getStorageKey
                                                return self._getThumbnailStorageKey(params, item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 299, in _getThumbnailStorageKey
                                                return key.encode("utf-8","ignore")
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 7: ordinal not in range(128)
                                            -->End of Python script error report<--
Having problems playing the new Bowie video. Keeps stuttering. Anyone else have this problem?
http://www.youtube.com/watch?v=QWtsV50_-p4
I'm assuming that it is due it being an HD Vevo channel as all other videos are playing fine.
I have also experienced video stuttering symptom but not on all videos and those videos were playing fine in the older version.
(2013-01-09, 02:44)MadPriest Wrote: [ -> ]this is from a message i posted 3 days ago
noone got the answers?
Code:
19:15:47 T:2750528320   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xd1 in position 7: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/default.py", line 111, in <module>
                                                navigation.listMenu(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 109, in listMenu
                                                return self.list(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 184, in list
                                                (results, status) = self.storage.list(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 53, in list
                                                return self.getStoredSearches(params)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 112, in getStoredSearches
                                                thumbnail = self.retrieveSettings(params, "thumbnail", item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 476, in retrieveSettings
                                                key = self.getStorageKey(params, type, item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 249, in getStorageKey
                                                return self._getThumbnailStorageKey(params, item)
                                              File "/home/igalsc/.xbmc/addons/plugin.video.youtube/YouTubeStorage.py", line 299, in _getThumbnailStorageKey
                                                return key.encode("utf-8","ignore")
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 7: ordinal not in range(128)
                                            -->End of Python script error report<--

Try this:
in YouTubeStorage.py find this line:
Code:
return key.encode("utf-8","ignore")
and replace it with this one:
Code:
return key.decode("utf-8").encode("utf-8","ignore")

It should work (don't ask me why)
Hey,

The addon works great, the youtube video is played on my computer, but how can I view it on my TV?
The DLNA client only shows music or video, and the video folder is empty...How can I get the youtube stream there ?

Thanks :-) (new with XBMC!)
I have a question that relates somehow with this topic, maybe someone can enlighten me. With this youtube plugin the HD videos play great on my EeeBox. However if i play a HD video in a browser (any browser) the video is choppy and lags. The reason Im asking is that I want to play HD content from different sites, not only Youtube and I cant get it to work. Any ideas would be highly apreciated on what to do to play HD content from a site like http://www.voyo.ro.
My system is: EeeBox. Intel Atom CPU D525 1.8 Ghz. 2Gb Ram. W7 HP 64 SP1. XBMC Frodo RC2.
(2013-01-09, 13:28)ghizzu Wrote: [ -> ]Try this:
in YouTubeStorage.py find this line:
Code:
return key.encode("utf-8","ignore")
and replace it with this one:
Code:
return key.decode("utf-8").encode("utf-8","ignore")

It should work (don't ask me why)

Thank you, will give it a try when home
(2013-01-09, 13:28)ghizzu Wrote: [ -> ]Try this:
in YouTubeStorage.py find this line:
Code:
return key.encode("utf-8","ignore")
and replace it with this one:
Code:
return key.decode("utf-8").encode("utf-8","ignore")

It should work (don't ask me why)
Mate, you just made my day!
Hi all,

Not sure where to post this, but here goes.

I've just updated to Frodo RC3 and Aeon Nox 4.

When I go into a CD view and choose info, I get the chance to search you tube with the selected artist, which is cool.

What would be even better, if you could search artist-track title via the music view. So you could view your cds and search for music videos via track names.

Any way possibleHuh

Thanks
(2013-01-09, 13:28)ghizzu Wrote: [ -> ]Try this:
in YouTubeStorage.py find this line:
Code:
return key.encode("utf-8","ignore")
and replace it with this one:
Code:
return key.decode("utf-8").encode("utf-8","ignore")

It should work (don't ask me why)

WOW ghizzu, this really works!!!
Thanks a lot!!
I setup a new HTPC tonight, Frodo RC13, youtube works fine........ On my main HTPC, also Frodo RC13 (was upgraded from Eden previously), youtube does NOT work. What gives?

I tried uninstalling on my main and reinstalling, no dice.

EDIT: SOLVED! Solution? Backup XBMC database, completely remove, and re-install. No idea what was being left behind and screwing with everything. Confused
Hi,

I've just installed the Play In XBMC extension in Firefox (v0.5). When it installed, it gave me a brief settings dialogue. However, I now cannot see *anywhere* how to get back in to that dialogue and change settings. It's driving me nuts. Unlike other extensions listed in about:addons in Firefox, this one does not have a Preferences button. All I can do is disable or remove it. There are not settings I can find in about:config

I tried un-installing and then re-installing. Sadly, it just remembered my settings from previously.

From what I can see, my only option to change settings at the moment is to completely wipe my whole Firefox data directory and then re-install this plug-in. That's not something I'm prepared to do.

Is the settings dialogue somewhere obvious that I'm completely missing? Please help!

Dave
I did a fresh install. But of a pain setting it all up again Undecided