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.
nunux59 Wrote:I am having the same issue, downloading works fine but I am not able to stream videos. Here is some logs :
Code:
$ tail -f temp/xbmc.log | grep ERROR
23:13:23 T:140286799136512   ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
23:13:23 T:140286799136512   ERROR: Open - failed to open source <http://v20.lscache6.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=906357,910014,914102&itag=22&ip=0.0.0.0&signature=7409C3840E6187F43DB8A194C4CDA60A810049A9.8071A07E2C13A35DD2349994E6C9B120CF59FA72&sver=3&ratebypass=yes&source=youtube&expire=1326429454&key=yt1&ipbits=0&cp=U0hRS1RNV19KTkNOMV9MR0FFOnpNSWlWc25BVWhB&id=0bd605c9a5111cd1&quality=hd720&fallback_host=tc.v20.cache6.c.youtube.com | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8>
23:13:23 T:140286799136512   ERROR: CDVDPlayer::OpenInputStream - error opening [http://v20.lscache6.c.youtube.com/videoplayback?sparams=id,expire,ip,ipbits,itag,source,ratebypass,cp&fexp=906357,910014,914102&itag=22&ip=0.0.0.0&signature=7409C3840E6187F43DB8A194C4CDA60A810049A9.8071A07E2C13A35DD2349994E6C9B120CF59FA72&sver=3&ratebypass=yes&source=youtube&expire=1326429454&key=yt1&ipbits=0&cp=U0hRS1RNV19KTkNOMV9MR0FFOnpNSWlWc25BVWhB&id=0bd605c9a5111cd1&quality=hd720&fallback_host=tc.v20.cache6.c.youtube.com | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8]
23:13:23 T:140288035936192   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=C9YFyaURHNE]

Should i report a bug?

And my very next post said:
TobiasTheCommie Wrote:If download works, so should playback.

http://wiki.xbmc.org/index.php?title=Add...ting_a_bug
So why didn't you do that?
TobiasTheCommie Wrote:This is because 4oD(etc) uses rtmp, and the current opensource rtmp support is not sufficient.

You will get a more descriptive error message in the future.

Hi Tobias, I am now able to login but still cannot play content under TV Shows and cannot see any content under 4oD or Demand 5. Just wondered if you are you now able to access and play any of this content?
mansman Wrote:Hi Tobias, I am now able to login but still cannot play content under TV Shows and cannot see any content under 4oD or Demand 5. Just wondered if you are you now able to access and play any of this content?

No. Do not expect this for at least 6 months. (I base this on nothing, it may drop tomorrow, but don't expect it).

There will be a big announcement in the first post of this thread, and a new version of the add-on which again, explicitily, states that rtmp and 4oD now works again.

As far as i know there have been made no progress at this at all. Then again when this problem existed with handshake type 9 there was no information about progress at all. And then suddenly it just arrived.

So as i say, it may drop tomorrow. But i wouldn't expect anything for at least 6 months.
I was using youtube plugin for few weeks and it was ok, than suddenly some music videos stopped working. (script failed)
Only videos that are marked with (This video has been age-restricted based on our Community Guidelines) example: c6JxbeY2wRE
are not playing. others do play good.

How can I make those videos play in plugin?

I am using plugin v . 2.13 and XBMC 10.1

P.S.
it did work before. dont know why. it stopped, afterthat i switched youtube account.. had some problems XBMC to change to new account (it showed old one). Is it also location related? now my youtube is registered as US (google apps limitations) but I am in Europe..
any help would be appreciated.
Age restricted videos are broken in the Dharma release of the plugin. And will not be fixed.

If you are having this problem on Eden, try to visit the link in your browser(Logged in to the same account) and click the "Verify age" button manually.
OK... so just installed Eden over Dharma... no changes! anything more to do?
marko-mb Wrote:OK... so just installed Eden over Dharma... no changes! anything more to do?

I would make a backup of .xbmc before upgrading to Eden. After updating the YouTube plugin itself must be updated to a later version.
youtube plugin is on latest version... been working whole night to reconfigure Eden to our needs Smile now eden works like dharma did before (I hope) but youtube still wont play restricded videos
marko-mb Wrote:youtube plugin is on latest version... been working whole night to reconfigure Eden to our needs Smile now eden works like dharma did before (I hope) but youtube still wont play restricded videos

TobiasTheCommie Wrote:If you are having this problem on Eden, try to visit the link in your browser(Logged in to the same account) and click the "Verify age" button manually.

Have you done that?

If it still fails after that, then:

http://wiki.xbmc.org/index.php?title=Add...ting_a_bug
TobiasTheCommie Wrote:If you are having this problem on Eden, try to visit the link in your browser(Logged in to the same account) and click the "Verify age" button manually.

It plays video in browser, dont see any verify age button. I believe it is already verified.
hi mr ussing! im facing some troubles with the plugin, something with the showMessage attribute, the log says:

09:58:55 M: 26062848 ERROR: -->Python Initialized<--
09:58:57 M: 23855104 NOTICE: YouTube-2.1.2 ARGV: ['plugin://video/YouTube/', '0', '?path=/root/search&action=play_video&videoid=P_Qm-yIM38U']
09:58:58 M: 23666688 NOTICE: YouTube-2.1.2 fetching page : http://gdata.youtube.com/feeds/api/videos/P_Qm-yIM38U
09:58:58 M: 23646208 NOTICE: YouTube-2.1.2 _getvideoinfo: 5570
09:58:58 M: 23502848 NOTICE: YouTube-2.1.2 _getvideoinfo done : 1
09:58:58 M: 23494656 NOTICE: YouTube-2.1.2 _getVideoLinks trying website
09:58:58 M: 23494656 NOTICE: YouTube-2.1.2 fetching page : http://www.youtube.com/watch?v=P_Qm-yIM3...earch=none
09:59:00 M: 23490560 NOTICE: YouTube-2.1.2 construct video url failed contents of video item {'count': 13804, 'Plot': 'Date Uploaded: 2010-03-06, View count: 13804\nRipped from Armin van Buuren - A State of Trance 446\n\nBlue Soho Recordings : http://www.bluesohorecordings.com', 'Title': 'SoundLift - Nakhti (Original Mix)', 'apierror': u"Couldn't extract video url", 'Rating': 4.8630136999999998, 'videoid': u'P_Qm-yIM38U', 'next': 'false', 'Duration': '06:35', 'Genre': 'Music', 'Studio': 'TranceAtmosphereTV', 'user': 'TranceAtmosphereTV', 'Date': '2010-03-06T09:36:40.000Z', 'thumbnail': u'http://i.ytimg.com/vi/P_Qm-yIM38U/0.jpg'}
09:59:00 M: 23490560 ERROR: Error Type: exceptions.AttributeError
09:59:00 M: 23490560 ERROR: Error Contents: YouTubePlayer instance has no attribute 'showMessage'
09:59:00 M: 23486464 ERROR: Traceback (most recent call last):
File "Q:\plugins\video\YouTube\default.py", line 52, in ?
navigator.executeAction(params)
File "Q:\plugins\video\YouTube\YouTubeNavigation.py", line 205, in executeAction
player.playVideo(params)
File "Q:\plugins\video\YouTube\YouTubePlayer.py", line 57, in playVideo
self.showErrorMessage(self.__language__(30603), video["apierror"], status)
File "Q:\plugins\video\YouTube\YouTubePlayer.py", line 365, in showErrorMessage
self.showMessage(title, result)
AttributeError: YouTubePlayer instance has no attribute 'showMessage'
09:59:00 M: 28942336 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://video/YouTube/?path=/root/search&action=play_video&videoid=P_Qm-yIM38U]

im running it in an XBMC4Xbox. Built on May 16 2011 (SVN:30850, compiler 1310) and it just ran flawlessly until yesterday. can you help me? thank you very much!
Hi,

I've been using the Youtube addon for a couple of weeks and it was working fine, but it has suddenly stopped working. Specifically, when I select a video and press play, it reports a script error and fails to play the video. I don't recall changing anything on the box recently that could have caused this change of behaviour.

The debug log is at:
http://http://pastebin.com/TjBKuSu2

The relevant part of the log appears to be:
Code:
21:42:14 T:2997861232 M:1939259392  NOTICE: YouTube-2.1.3
21:42:16 T:2997861232 M:1938501632    INFO: -->Python script returned the following error<--
21:42:16 T:2997861232 M:1938501632   ERROR: Error Type: exceptions.AttributeError
21:42:16 T:2997861232 M:1938501632   ERROR: Error Contents: YouTubePlayer instance has no attribute 'showMessage'
21:42:16 T:2997861232 M:1938501632   ERROR: Traceback (most recent call last):
                                              File "/home/c-media/.xbmc/addons/plugin.video.youtube/default.py", line 52, in ?
                                                navigator.executeAction(params)
                                              File "/home/c-media/.xbmc/addons/plugin.video.youtube/YouTubeNavigation.py", line 205, in executeAction
                                                player.playVideo(params)
                                              File "/home/c-media/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 57, in playVideo
                                                self.showErrorMessage(self.__language__(30603), video["apierror"], status)
                                              File "/home/c-media/.xbmc/addons/plugin.video.youtube/YouTubePlayer.py", line 365, in showErrorMessage
                                                self.showMessage(title, result)
                                            AttributeError: YouTubePlayer instance has no attribute 'showMessage'
21:42:16 T:2997861232 M:1938501632    INFO: -->End of Python script error report<--

I'm using XBMCLive Dharma, 2.6.32-29-generic i686, built on Mar 9 2011. Youtube addon version is 2.1.3.

I searched this thread for similar issues - I found something similar but I'm not sure whether it's related. I've tried rebooting as well as uninstalling the Youtube addon and then re-installing.

Grateful for any suggestions. I desperately need to fix this to stop my kids from screaming!!

Thanks,
CL

PS: big thanks to XBMC devs for developing such an awesome media player!
Hi I just installed OpenELEC and the same issue here orangebox.

Thanks
A Youtube-upload script. http://code.google.com/p/youtube-upload/wiki/Readme

Maybe this is something for this great plugin.
I have the same Issue as Orange, where trying to play any video, gives out a message alert, but no videos are actually being played.

I just noticed this now, and I haven't made any chances to the box recently either.

Maybe youtube changing something yet again?