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.
Hi,
I'm using XBMC on a Win7 pc.
XBMCSetup-20110805-96d01b7-master
Youtube 2.5.0 plugin

I get the error: Stream type not supported

Think this is the error in my log:
Code:
07:15:35 T:2728  NOTICE: -->Python Interpreter Initialized<--
07:15:35 T:2728  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c']
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/videos/RvN2DHmeJ6c'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 got api
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:35 T:2728  NOTICE: YouTube2.5.0 getVideoObject trying embedded
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/get_video_info?video_id=RvN2DHmeJ6c'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:35 T:2728  NOTICE: YouTube2.5.0 getVideoObject trying website
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/watch?v=RvN2DHmeJ6c&safeSearch=none&hl=en_us'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:36 T:2728  NOTICE: YouTube2.5.0 fmt_url_map not found, searching for stream map
07:15:36 T:2728  NOTICE: YouTube2.5.0 couldn't locate fmt_url_map or fmt_stream_map, no videos on page?
07:15:36 T:2728  NOTICE: YouTube2.5.0 construct video url failed contents of video item {'count': 303, 'Plot': 'Date Uploaded: 2011-08-06 04:19:38, View count: 303\nHuk (P) V Mana (P) Game 3\n\nASUS ROG Tournament - ASSEMBLY Summer 2011\n\nStream Avaliable at www.twitch.tv/setttv -- SETT TV nauhoitus - http://j-tv.me/nD1PXS', 'Title': 'Assembly 2011 : Match 3 - Huk (P) v Mana (P)', 'playlist_entry_id': u'RvN2DHmeJ6c', 'stream_map': 'true', 'apierror': u'Stream type not supported', 'Rating': 4.8823530000000002, 'videoid': u'RvN2DHmeJ6c', 'Duration': '08:47', 'Genre': 'Gaming', 'Studio': 'TotalHalibut', 'user': 'TotalHalibut', 'Date': '06-08-2011', 'thumbnail': u'http://i.ytimg.com/vi/RvN2DHmeJ6c/0.jpg'}
07:15:36 T:2092   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c]
07:16:12 T:2092   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

With debug enabled:
Code:
07:51:09 T:2864  NOTICE: -->Python Interpreter Initialized<--
07:51:09 T:2864  NOTICE: YouTube2.5.0
07:51:10 T:1844  NOTICE: -->Python Interpreter Initialized<--
07:51:11 T:1844  NOTICE: YouTube2.5.0
07:51:24 T:1512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/settings&action=settings&
07:51:24 T:1512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/settings&action=settings&) failed
07:51:24 T:3156  NOTICE: -->Python Interpreter Initialized<--
07:51:25 T:3156  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '']
07:51:25 T:2292  NOTICE: -->Python Interpreter Initialized<--
07:51:25 T:2292  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '']
07:51:27 T:4060  NOTICE: -->Python Interpreter Initialized<--
07:51:27 T:4060  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions&user_feed=subscriptions&login=true&folder=true&']
07:51:27 T:4060  NOTICE: YouTube2.5.0 _getAuth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://gdata.youtube.com/feeds/api/users/default/subscriptions?v=2&start-index=1&max-results=50', 'auth': 'true'}
07:51:27 T:4060  NOTICE: YouTube2.5.0 got auth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _getAuth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:29 T:3464  NOTICE: -->Python Interpreter Initialized<--
07:51:29 T:3464  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&user_feed=newsubscriptions&login=true&']
07:51:29 T:3464  NOTICE: YouTube2.5.0 _getAuth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos?start-index=1&max-results=50', 'auth': 'true'}
07:51:29 T:3464  NOTICE: YouTube2.5.0 got api
07:51:29 T:3464  NOTICE: YouTube2.5.0 got auth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _getAuth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:32 T:1084  NOTICE: -->Python Interpreter Initialized<--
07:51:33 T:1084  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c']
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/videos/RvN2DHmeJ6c'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 got api
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 getVideoObject trying embedded
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/get_video_info?video_id=RvN2DHmeJ6c'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 getVideoObject trying website
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/watch?v=RvN2DHmeJ6c&safeSearch=none&hl=en_us'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 fmt_url_map not found, searching for stream map
07:51:33 T:1084  NOTICE: YouTube2.5.0 couldn't locate fmt_url_map or fmt_stream_map, no videos on page?
07:51:33 T:1084  NOTICE: YouTube2.5.0 construct video url failed contents of video item {'count': 303, 'Plot': 'Date Uploaded: 2011-08-06 04:19:38, View count: 303\nHuk (P) V Mana (P) Game 3\n\nASUS ROG Tournament - ASSEMBLY Summer 2011\n\nStream Avaliable at www.twitch.tv/setttv -- SETT TV nauhoitus - http://j-tv.me/nD1PXS', 'Title': 'Assembly 2011 : Match 3 - Huk (P) v Mana (P)', 'playlist_entry_id': u'RvN2DHmeJ6c', 'stream_map': 'true', 'apierror': u'Stream type not supported', 'Rating': 4.911111, 'videoid': u'RvN2DHmeJ6c', 'Duration': '08:47', 'Genre': 'Gaming', 'Studio': 'TotalHalibut', 'user': 'TotalHalibut', 'Date': '06-08-2011', 'thumbnail': u'http://i.ytimg.com/vi/RvN2DHmeJ6c/0.jpg'}
07:51:33 T:1512   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c]


If I use XBMC 10.1 and Youtube 2.1.0 it works.
Hi,

I get always " Playlist Player: skipping unplayable item: 0, path..." error when trying to play video. Is it something with player itself?

Search and other functions seems to work though.
I have tried diff versions of plugin and xbmc but no luck.

Win7 x64
dharma 10.1
and the log...

hope its something simple..

PS. where can i download versions 2.1 or 2.5 ?
dimzen Wrote:Hi,
I'm using XBMC on a Win7 pc.
XBMCSetup-20110805-96d01b7-master
Youtube 2.5.0 plugin

I get the error: Stream type not supported

Think this is the error in my log:
Code:
07:15:35 T:2728  NOTICE: -->Python Interpreter Initialized<--
07:15:35 T:2728  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c']
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/videos/RvN2DHmeJ6c'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 got api
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:35 T:2728  NOTICE: YouTube2.5.0 getVideoObject trying embedded
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/get_video_info?video_id=RvN2DHmeJ6c'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:35 T:2728  NOTICE: YouTube2.5.0 getVideoObject trying website
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/watch?v=RvN2DHmeJ6c&safeSearch=none&hl=en_us'}
07:15:35 T:2728  NOTICE: YouTube2.5.0 _fetchPage making request
07:15:36 T:2728  NOTICE: YouTube2.5.0 fmt_url_map not found, searching for stream map
07:15:36 T:2728  NOTICE: YouTube2.5.0 couldn't locate fmt_url_map or fmt_stream_map, no videos on page?
07:15:36 T:2728  NOTICE: YouTube2.5.0 construct video url failed contents of video item {'count': 303, 'Plot': 'Date Uploaded: 2011-08-06 04:19:38, View count: 303\nHuk (P) V Mana (P) Game 3\n\nASUS ROG Tournament - ASSEMBLY Summer 2011\n\nStream Avaliable at www.twitch.tv/setttv -- SETT TV nauhoitus - http://j-tv.me/nD1PXS', 'Title': 'Assembly 2011 : Match 3 - Huk (P) v Mana (P)', 'playlist_entry_id': u'RvN2DHmeJ6c', 'stream_map': 'true', 'apierror': u'Stream type not supported', 'Rating': 4.8823530000000002, 'videoid': u'RvN2DHmeJ6c', 'Duration': '08:47', 'Genre': 'Gaming', 'Studio': 'TotalHalibut', 'user': 'TotalHalibut', 'Date': '06-08-2011', 'thumbnail': u'http://i.ytimg.com/vi/RvN2DHmeJ6c/0.jpg'}
07:15:36 T:2092   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c]
07:16:12 T:2092   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

With debug enabled:
Code:
07:51:09 T:2864  NOTICE: -->Python Interpreter Initialized<--
07:51:09 T:2864  NOTICE: YouTube2.5.0
07:51:10 T:1844  NOTICE: -->Python Interpreter Initialized<--
07:51:11 T:1844  NOTICE: YouTube2.5.0
07:51:24 T:1512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/settings&action=settings&
07:51:24 T:1512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/settings&action=settings&) failed
07:51:24 T:3156  NOTICE: -->Python Interpreter Initialized<--
07:51:25 T:3156  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '']
07:51:25 T:2292  NOTICE: -->Python Interpreter Initialized<--
07:51:25 T:2292  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '']
07:51:27 T:4060  NOTICE: -->Python Interpreter Initialized<--
07:51:27 T:4060  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions&user_feed=subscriptions&login=true&folder=true&']
07:51:27 T:4060  NOTICE: YouTube2.5.0 _getAuth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://gdata.youtube.com/feeds/api/users/default/subscriptions?v=2&start-index=1&max-results=50', 'auth': 'true'}
07:51:27 T:4060  NOTICE: YouTube2.5.0 got auth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _getAuth
07:51:27 T:4060  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:29 T:3464  NOTICE: -->Python Interpreter Initialized<--
07:51:29 T:3464  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&user_feed=newsubscriptions&login=true&']
07:51:29 T:3464  NOTICE: YouTube2.5.0 _getAuth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos?start-index=1&max-results=50', 'auth': 'true'}
07:51:29 T:3464  NOTICE: YouTube2.5.0 got api
07:51:29 T:3464  NOTICE: YouTube2.5.0 got auth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _getAuth
07:51:29 T:3464  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:32 T:1084  NOTICE: -->Python Interpreter Initialized<--
07:51:33 T:1084  NOTICE: YouTube2.5.0 ARGV: ['plugin://plugin.video.youtube/', '0', '?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c']
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'api': 'true', 'link': 'http://gdata.youtube.com/feeds/api/videos/RvN2DHmeJ6c'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 got api
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 getVideoObject trying embedded
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/get_video_info?video_id=RvN2DHmeJ6c'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 getVideoObject trying website
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage called for : {'link': 'http://www.youtube.com/watch?v=RvN2DHmeJ6c&safeSearch=none&hl=en_us'}
07:51:33 T:1084  NOTICE: YouTube2.5.0 _fetchPage making request
07:51:33 T:1084  NOTICE: YouTube2.5.0 fmt_url_map not found, searching for stream map
07:51:33 T:1084  NOTICE: YouTube2.5.0 couldn't locate fmt_url_map or fmt_stream_map, no videos on page?
07:51:33 T:1084  NOTICE: YouTube2.5.0 construct video url failed contents of video item {'count': 303, 'Plot': 'Date Uploaded: 2011-08-06 04:19:38, View count: 303\nHuk (P) V Mana (P) Game 3\n\nASUS ROG Tournament - ASSEMBLY Summer 2011\n\nStream Avaliable at www.twitch.tv/setttv -- SETT TV nauhoitus - http://j-tv.me/nD1PXS', 'Title': 'Assembly 2011 : Match 3 - Huk (P) v Mana (P)', 'playlist_entry_id': u'RvN2DHmeJ6c', 'stream_map': 'true', 'apierror': u'Stream type not supported', 'Rating': 4.911111, 'videoid': u'RvN2DHmeJ6c', 'Duration': '08:47', 'Genre': 'Gaming', 'Studio': 'TotalHalibut', 'user': 'TotalHalibut', 'Date': '06-08-2011', 'thumbnail': u'http://i.ytimg.com/vi/RvN2DHmeJ6c/0.jpg'}
07:51:33 T:1512   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/subscriptions/new&action=play_video&videoid=RvN2DHmeJ6c]


If I use XBMC 10.1 and Youtube 2.1.0 it works.

may i try your youtube 2.1.0 or give me link to download it
mbah.pande Wrote:may i try your youtube 2.1.0 or give me link to download it

I just downloaded youtube 2.1.0 in XBMC 10.1

But then the subtitle addon don't work for me, so I hope there is a fix for the XBMC and Youtube version I use... Smile
dimzen Wrote:I just downloaded youtube 2.1.0 in XBMC 10.1

But then the subtitle addon don't work for me, so I hope there is a fix for the XBMC and Youtube version I use... Smile
don't you have zip one
mbah.pande Wrote:don't you have zip one

Nope, I download it from XBMC's addon-interface.
speed32219 Wrote:Here ya go!

Line 820: http://www.youtube.com/movies/movies?fl=f&amp;pt=fm?p=1&hl=en
does not work

Changed to: http://www.youtube.com//movies?fl=f&amp;pt=fm?p=1&hl=en
works - removed the highlighted movies above in the url

http://pastebin.com/3G2NHU5T

Also ran into another error, API error when I select some videos under family genre, dang it. Some of the older videos play (Lassie) and many don't (Oliver!), get the API error.

Code:
00:49:27 T:2826959728 M:1292206080  NOTICE: -->Python Interpreter Initialized<--
00:49:27 T:2826959728 M:1292206080  NOTICE: YouTube-2.0.5
00:49:29 T:2826959728 M:1292460032  NOTICE: YouTube-2.0.5 getVideoUrlMap Searching for fmt_url_map 2: [u'']
00:49:29 T:2826959728 M:1292460032   ERROR: Error Type: exceptions.AttributeError
00:49:29 T:2826959728 M:1292460032   ERROR: Error Contents: YouTubePlayer instance has no attribute 'showMessage'
00:49:29 T:2826959728 M:1292460032   ERROR: Traceback (most recent call last):
                                              File "/home/XBMC/.xbmc/addons/plugin.video.youtube/default.py", line 48, in ?
                                                navigator.executeAction(params)
                                              File "/home/XBMC/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 203, in executeAction
                                                player.playVideo(params)
                                              File "/home/XBMC/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 57, in playVideo
                                                self.showErrorMessage(self.__language__(30603), video["apierror"], status)
                                              File "/home/XBMC/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 365, in showErrorMessage
                                                self.showMessage(title, result)
                                            AttributeError: YouTubePlayer instance has no attribute 'showMessage'
00:49:29 T:3055814528 M:1292460032   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/explore/movies&action=play_video&videoid=_dHFoGqfYXM]

Yes, that helped, We will look into it.

As for the second error, i need a full debug log for that as well. Smile
dimzen Wrote:Hi,
I'm using XBMC on a Win7 pc.
XBMCSetup-20110805-96d01b7-master
Youtube 2.5.0 plugin

I get the error: Stream type not supported


If I use XBMC 10.1 and Youtube 2.1.0 it works.

Just a few days ago YouTube changed their playback code. and 2.5.0 (which is beta) broke. We were a bit faster with updating the stable version (2.1.0)

We have sent a pull request for 2.6.0 already, which should solve the issues.
@dimzon & @speed32219

This is a version 2.1.1 zip file that you can install.
http://www.zshare.net/download/9338349727da08ae/

Note: Do not use this if you have an otherwise functioning stable version of youtube.

@dimzen:

Specifically what do you mean by the subtitle addon no longer works?
TobiasTheCommie Wrote:Specifically what do you mean by the subtitle addon no longer works?

In XBMC 10.1 the XBMC subtitle addon is broken for me, the button to download susbtitles is greyed out, but it works in the XBMC nightly build.
Nothing to do with the Youtube addon Smile
TobiasTheCommie Wrote:@dimzon & @speed32219

This is a version 2.1.1 zip file that you can install.
http://www.zshare.net/download/9338349727da08ae/

Note: Do not use this if you have an otherwise functioning stable version of youtube.

@dimzen:

Specifically what do you mean by the subtitle addon no longer works?


Cool TNX this one works on pre-eden 11.
Is this Add-on down? I have used youtube dozens of times and today on 2 of my htpcs both say script error.. and wont load anything.
@toymachine if you are on Eden Pre, plugin version 2.5.0 is broken.
An update (2.6.0) is pending but has not yet been "pushed" into xbmc's plugin repo
toymachine2009 Wrote:Is this Add-on down? I have used youtube dozens of times and today on 2 of my htpcs both say script error.. and wont load anything.

And if you are in dharma you need to give me a debug log.
TobiasTheCommie Wrote:And if you are in dharma you need to give me a debug log.

I am on dharma 10.1

ill work on getting a debug log I guess

Edit: Nevermind I guess it was a bad video on youtube sorry for the question.