[RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC

  Thread Rating:
  • 14 Votes - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
torran1 Offline
Junior Member
Posts: 44
Joined: Nov 2011
Reputation: 0
Post: #1821
Midnight Tboy Wrote:Hi all,

I'm in Windows 7 64bit, a clean OS install of Eden beta 2. I've just imported my movie info etc, and at first a trailer played fine, then I get a playback failed message, nearly every time.

Googled for answers but can't see any. Searched for the lines of text suggested in the last couple of pages in my YouTubePlayer.py file, but them lines don't exist to be changed in the first place

Any ideas?

If I browse on the youtube plugin to random sections like top free movies, then sometimes it will play, mostly they wont

once go into the youtube app, theres a lot of data in the log, but trying to get the relevant info I get this



not sure if got the right data there though?

Links play fine in IE/chrome. Tried resetting plugin settings to default too


I had trouble too finding the correct code until i noticed it in the youtubeplayer.py in the 2.1.3 version of the youtube plugin, not 2.80
i seem to have the same problem when it comes to watching videos sometimes it works others it doesnt!!
issue = playback failed- false
find quote
vijayk416 Offline
Senior Member
Posts: 192
Joined: Apr 2011
Reputation: 1
Post: #1822
Same here. After upgrading to Eden everything was fine. Then I was watching Al Jazeera, it crashed and ever since then I can't play YouTube. Tried uninstalling, rebooting and reinstalling - didn't work. Al Jazeera and other plugins playing fine.
find quote
Flomaster Offline
Posting Freak
Posts: 1,293
Joined: Jun 2010
Reputation: 6
Location: East Texas
Thumbs Up    Post: #1823
FML..... YouTube no longer works for me. Well at least my subscription don't.
find quote
spsmyth Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #1824
I applied the fix a couple of days ago, worked up to this morning, now it stopped again tonight. I have also tried upgrading to Eden and the 2.7 version, but it's not working there either. Are we sure that YT isn't infecting the API so we have to watch their crappy ads?
find quote
jackparsons Offline
Junior Member
Posts: 34
Joined: Jan 2012
Reputation: 0
Post: #1825
As of Thu Jan 26 08:20:39 GMT 2012 I can confirm the Youtube plugin isn't functioning with Eden Beta 2 on Linux (Mint 12).

The log doesn't look very helpful:
Code:
08:01:51 T:2993671024  NOTICE: -->Python Interpreter Initialized<--
08:01:51 T:2993671024  NOTICE: YouTube-2.8.0
08:01:51 T:2993671024  NOTICE: CommonFunctions-0.9.0
...
08:01:52 T:2993671024  NOTICE: [YouTube-2.8.0] _getVideoLinks : 'Couldn't find url map or stream map.'
08:01:52 T:2993671024  NOTICE: [YouTube-2.8.0] _findErrors : ''
...
08:01:52 T:2993671024  NOTICE: [YouTube-2.8.0] _findErrors : 'couldn't find any errors: {'status': 200, 'content': '<!DOCTYPE ... '}'
08:01:52 T:2993671024  NOTICE: [YouTube-2.8.0] playVideo : 'construct video url failed contents of video item { ... }'
08:01:52 T:6965008   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtu
find quote
gott_sei_dank Offline
Member
Posts: 63
Joined: Sep 2009
Reputation: 0
Post: #1826
jackparsons Wrote:The log doesn't look very helpful:

Your're right, it isn't a full debug log (My best Tobias impression :nodSmile
http://code.google.com/p/youtubexbmc/wik...llDebugLog


Something has obviously changed @Youtube's end, hopefully it is an easy fix which can be sorted soon.
find quote
jackparsons Offline
Junior Member
Posts: 34
Joined: Jan 2012
Reputation: 0
Post: #1827
gott_sei_dank Wrote:Something has obviously changed @Youtube's end, hopefully it is an easy fix which can be sorted soon.
I looked at Youtube, which I'd had some "Adblockplus" rules applied to: they've changed some of the HTML/CSS, presumably to try and interfere with ad blockers... a waste of everyone's time.
find quote
chaitow Offline
Junior Member
Posts: 1
Joined: Jan 2012
Reputation: 0
Post: #1828
jonnysarmbrace Wrote:Worked perfectly, thanks guys!

Hi there, I've tried this over and over and saw the same fix in another thread but for some reason it won't work for me. Here's the paste from my log, really appreciate any suggestions ? (I'm running pretty much vanilla XBMC 10.1 on OS X 10.7)

Thanks!


22:20:54 T:2955448320 M:131579904 ERROR: Error Type: exceptions.AttributeError
22:20:54 T:2955448320 M:131579904 ERROR: Error Contents: YouTubePlayer instance has no attribute 'showMessage'
22:20:54 T:2955448320 M:131489792 ERROR: Traceback (most recent call last):
File "/Users/jdbox/Library/Application Support/XBMC/addons/plugin.video.youtube/default.py", line 52, in ?
navigator.executeAction(params)
File "/Users/jdbox/Library/Application Support/XBMC/addons/plugin.video.youtube/YouTubeNavigation.py", line 205, in executeAction
player.playVideo(params)
File "/Users/jdbox/Library/Application Support/XBMC/addons/plugin.video.youtube/YouTubePlayer.py", line 57, in playVideo
self.showErrorMessage(self.__language__(30603), video["apierror"], status)
File "/Users/jdbox/Library/Application Support/XBMC/addons/plugin.video.youtube/YouTubePlayer.py", line 365, in showErrorMessage
self.showMessage(title, result)
AttributeError: YouTubePlayer instance has no attribute 'showMessage'
find quote
Midnight Tboy Offline
Junior Member
Posts: 39
Joined: Dec 2011
Reputation: 0
Post: #1829
I'm guessing youtube is broken for everyone now then, on Eden?

Very very rarely it will work. It seems if I go into IE and play a youtube video, and let it play its advert...then I can maybe sometimes get 1 or 2 plays out of XBMC....but afterwards it stops again.......so at a speculation maybe they've changed their ads method?
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 538
Joined: Jul 2007
Reputation: 17
Post: #1830
HI, i was looking into our playback code and it seems that youtube changed a lot behind the scenes, several different problems with our automated testing prevented us from discovering this was happening, which puts us in our current situation. I'm working on some new playback code, that will fix this most pressing issue, but we have alot of broken test on our server and as such a release will have to wait until we've had a chance to look into all of them.

From a cursory glance it looks like youtubes recent changes to their api broke alot of V2 calls that the plugin relies on, breaking stuff like subscriptions and playlists.
find quote
Post Reply