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.
YouTube add-on says needs Dharma 10.1+ so want to see what I have and can't find it. Huh??

I did find the log. Turned on debugging and saw the path.

Here's my log - would love to get youtube videos to actually play.

http://www.ronkramer.net/xbmcpro.log
I'm running win 7 64 and nightly XBMC and beta youtube addon.
I get script error when I try to start a movie from youtube. I don't know anything about coding or debug log but here goes:

Quote:00:03:49 T:5452 NOTICE: YouTube2.6.3 Got key 's_categories_category_%2Fentertainment'
00:03:51 T:5452 NOTICE: YouTube2.6.3 _getvideoinfo : 248736
00:03:52 T:5452 NOTICE: YouTube2.6.3 _getvideoinfo Done: 36
00:03:53 T:5664 ERROR: Texture manager unable to load file: C:\Program Files (x86)\XBMC\addons\skin.transparency\media\flags\movies\resolution\
00:03:53 T:5664 ERROR: Texture manager unable to load file: C:\Program Files (x86)\XBMC\addons\skin.transparency\media\flags\movies\aspectratio\
00:03:53 T:5664 ERROR: Texture manager unable to load file: C:\Program Files (x86)\XBMC\addons\skin.transparency\media\flags\movies\videocodec\
00:03:53 T:5664 ERROR: Texture manager unable to load file: C:\Program Files (x86)\XBMC\addons\skin.transparency\media\flags\movies\audiocodec\
00:03:54 T:5560 NOTICE: -->Python Interpreter Initialized<--
00:03:54 T:5560 NOTICE: YouTube2.6.3
00:03:55 T:5560 NOTICE: YouTube2.6.3 _getvideoinfo : 9368
00:03:55 T:5560 NOTICE: YouTube2.6.3 _getvideoinfo Done: 1
00:03:55 T:5560 ERROR: Error Type: <type 'exceptions.UnicodeDecodeError'>
00:03:55 T:5560 ERROR: Error Contents: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
00:03:55 T:5560 ERROR: Traceback (most recent call last):
File "C:\Users\..\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 75, in <module>
__navigation__.executeAction(params)
File "C:\Users\..\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeNavigation.py", line 150, in executeAction
self.__player__.playVideo(params)
File "C:\Users\..\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 273, in playVideo
(video, status) = self.getVideoObject(params);
File "C:\Users\..\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubePlayer.py", line 537, in getVideoObject
path = "%s%s-[%s].mp4" % (path, ''.join(c for c in video['Title'] if c in self.VALID_CHARS), video["videoid"])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4: ordinal not in range(128)
00:03:55 T:5664 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/explore/categories&action=play_video&videoid=9XBLgkVMQKQ]
so if this is something that makes sense for some of u guys, I'd appreciate some help
i cant seem to login today..

i get the error

http error 501

any ideas?

###edit --- got it to work when i disable/enable proxie settings
vikjon0 Wrote:Changed two lines => working! Thanks again.

Hello, was this never fixed in the standard code? When I used the plugin today, "now playing" takes me to an empty queue (Music now playing)

EDIT:
I am talking about this
Quote:cm.append( ( self.__language__( 30527 ), "XBMC.ActivateWindow(VideoPlaylist)"))
Todilo Wrote:Can you somehow sort by time uploaded. The Date sort does not appear to work like that.

The Date sort should sort videos on the current page by time, but it doesn't do it for the entire feed, we could probably do an advanced setting changing the default sort option for searches.
RGB_Gamer Wrote:I would really appreciate it if YouTube search results could sort by name and if it could stay that way. it seems that every page of search results reverts back to default.

Same issue as with date sorting, we'll lookinto adding it Smile
rojoyinc Wrote:YouTube add-on says needs Dharma 10.1+ so want to see what I have and can't find it. Huh??

I did find the log. Turned on debugging and saw the path.

Here's my log - would love to get youtube videos to actually play.

http://www.ronkramer.net/xbmcpro.log

You xbmc build is from october (probably only dharma 10.0), download the latest stable version here: http://xbmc.org/download/
kardesken Wrote:I'm running win 7 64 and nightly XBMC and beta youtube addon.
I get script error when I try to start a movie from youtube. I don't know anything about coding or debug log but here goes:


so if this is something that makes sense for some of u guys, I'd appreciate some help

Seems like a unicode deconding error, we'll look into it
vikjon0 Wrote:Hello, was this never fixed in the standard code? When I used the plugin today, "now playing" takes me to an empty queue (Music now playing)

EDIT:
I am talking about this

Quote:cm.append( ( self.__language__( 30527 ),"XBMC.ActivateWindow(VideoPlaylist)"))

just double checked, and that line wasnt corrected in the stable release (but was in the beta build), I'll push it out with the next bug fix release.
rojoyinc Wrote:ok - newbie question time.

1. how to I find the version XBMC I'm running? I can't find it anywhere - seems it would be in system info.

2. Where is the error log that people always want to see when we have a problem. I did a log search - found many - but none seem to pertain to xbmc

I had a shortcut to a xbmc.log - but wasn't it.

Debug log can be found by following the appropriate steps in this guide:

http://code.google.com/p/youtubexbmc/wik...llDebugLog
the first line of the log tells you what the version of XBMC you're running
thank you sir - installing update from 10. to 10.1 did it - you tube add on works great now.
rojoyinc Wrote:thank you sir - installing update from 10. to 10.1 did it - you tube add on works great now.

Glad it helped Big Grin
HenrikDK Wrote:
Quote:Quote: Originally Posted by kardesken
I'm running win 7 64 and nightly XBMC and beta youtube addon.
I get script error when I try to start a movie from youtube. I don't know anything about coding or debug log but here goes:


so if this is something that makes sense for some of u guys, I'd appreciate some help

Seems like a unicode deconding error, we'll look into it

Update:
I manually deleted all the youtube plugin files (found them at last) and reinstalled. Now it works again.
TobiasTheCommie Wrote:Hm, yes, 2.1.0 does report as 2.0.5 in the log(i forgot that).

Could you enable Debug in the plugin, and restart xbmc, and then retry(and send me the new log)

Here is my xbmc.log with YouTube debug enabled, http://pastebin.ca/2084684
broman Wrote:Here is my xbmc.log with YouTube debug enabled, http://pastebin.ca/2084684

Edit: Henrik already pushed a fix to our trunk.