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

  Thread Rating:
  • 5 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jaymax Offline
Junior Member
Posts: 12
Joined: Jun 2012
Reputation: 0
Post: #256
To get this working on Gotham, you need to make the following modifications:

Code:
--- VimeoPlayer.old.py    2014-01-19 22:16:16.000000000 -0800
+++ VimeoPlayer.py    2014-01-19 22:08:56.000000000 -0800
@@ -63,7 +63,7 @@
             return False

         listitem = self.xbmcgui.ListItem(label=video['Title'], iconImage=video['thumbnail'], thumbnailImage=video['thumbnail'], path=video['video_url'])
-        listitem.setInfo(type='Video', infoLabels=video)
+        listitem.setInfo('Video', {'infoLabels': 'video'})

         self.common.log("Playing video: " + video['Title'] + " - " + get('videoid') + " - " + video['video_url'])

--- VimeoNavigation.old.py    2014-01-19 22:22:35.000000000 -0800
+++ VimeoNavigation.py    2014-01-19 22:22:25.000000000 -0800
@@ -362,7 +362,7 @@

         listitem.setProperty("Video", "true")
         listitem.setProperty("IsPlayable", "true")
-        listitem.setInfo(type='Video', infoLabels=item_params)
+        listitem.setInfo('Video', {'infoLabels': 'item_params'})

         self.xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]), url=url, listitem=listitem, isFolder=False, totalItems=listSize + 1)

--- VimeoPlaylistControl.old.py    2014-01-19 22:23:22.000000000 -0800
+++ VimeoPlaylistControl.py    2014-01-19 22:23:12.000000000 -0800
@@ -80,7 +80,7 @@
             listitem = self.xbmcgui.ListItem(label=video("Title"), iconImage=video("thumbnail"), thumbnailImage=video("thumbnail"))
             listitem.setProperty('IsPlayable', 'true')
             listitem.setProperty("Video", "true" )
-            listitem.setInfo(type='Video', infoLabels=entry)
+            listitem.setInfo('Video', {'infoLabels': 'entry'})

             playlist.add(video_url % (sys.argv[0], video("videoid") ), listitem)
find quote
torenvalk Offline
Junior Member
Posts: 15
Joined: Jan 2014
Reputation: 1
Post: #257
Thanks for the fix, working great.
find quote
Johnny569 Offline
Junior Member
Posts: 17
Joined: Mar 2012
Reputation: 0
Post: #258
Vimeo doesn't work for me on Gotham beta 2.

I downloaded the XBMC Gotham source code. Where do you make those modifications to get Vimeo working? Thanks.

Why can't this fix be integrated into the Gotham master source code?
(This post was last modified: 2014-03-19 01:15 by Johnny569.)
find quote
ruuk Offline
Skilled Python Coder
Posts: 1,272
Joined: Aug 2005
Reputation: 176
Location: Bremerton, WA USA
Post: #259
(2014-03-19 01:14)Johnny569 Wrote:  Vimeo doesn't work for me on Gotham beta 2.

I downloaded the XBMC Gotham source code. Where do you make those modifications to get Vimeo working? Thanks.

Why can't this fix be integrated into the Gotham master source code?

The modifications do not go into the Gotham source, but in the addon source.

Since Gotham is not released yet, many of the addons are not updated for it.
It seems like it has been a while since the author has posted here, and he is the one who will need to update and fix it.

[Image: sig.jpg]
find quote
Johnny569 Offline
Junior Member
Posts: 17
Joined: Mar 2012
Reputation: 0
Post: #260
Understood. Thanks.
find quote
sogopot Offline
Junior Member
Posts: 19
Joined: Jul 2013
Reputation: 3
Post: #261
I integrated the fixes to get the YouTube and Vimeo addon working in Gotham Beta 2. I uploaded the addons with the fixes. Just uninstall your current addons and manually re-install with the fixed addons. For the YouTube addon, it's advised to delete the cookie "yt-cookiejar.txt" located in the following folder: xbmc/userdata/addon_data/plugin.video.youtube. For windows user's, you'll find the xbmc folder in C:\Users\UserAccount\AppData\Roaming.

DOWNLOAD LINK: https://www.mediafire.com/folder/ie3ammajgrc2o/xbmc_addons

LIST OF FIXES APPLIED

YOUTUBE FIXES
  • To solve the login problems, I added the fix from this post: Reply #52. If you continue to have login problems, you may have to find a different fix.
  • To fix a problem with VEVO videos not playing, as well as certain videos added to favorites not playing, I added the YouTubePlayer.py from this post: Reply #217
VIMEO FIXES
  • To get Vimeo working in Gotham Beta 2 I added the fixes found in this post: Post #256, and added the VimeoPlayer.py found in this post: Post #240
Thanks to all that fix and post ways to resolve broken addons Big Grin
(This post was last modified: 2014-03-20 16:30 by sogopot.)
find quote
schumi2004 Offline
Posting Freak
Posts: 1,046
Joined: Aug 2011
Reputation: 9
Post: #262
Addons keep saying unable to contact remote server and unable to play playlist, is this a known issue?
Using latest (today) XBMC version

[Image: all-thin-banner.jpg]
find quote
mnaylor Offline
Junior Member
Posts: 1
Joined: Apr 2014
Reputation: 0
Post: #263
I'm having an issue with at least one video. It is viewable via a browser, but on XBMC, it fails. It appears from the log (http://pastebin.com/1MijY8Fx) that XBMC perhaps isn't representing itself correctly? Here is the relevant line:

22:04:58 T:2843292768 NOTICE: u'{"message": "Because of its privacy settings, this video cannot be played here.", "title": "Sorry", "button": {"text": "Watch on Vimeo", "link": "http://vimeo.com/80895684"}, "view": 7}'
find quote
Post Reply