[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
kricker Offline
Team-XBMC QA Specialist
Posts: 3,450
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #46
Login does work great now though Wink I could finally see my videos and subscriptions, etc.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #47
So I discovered this was an issue with vimeo's embedding server and alot of people had issues with this:
http://vimeo.com/forums/topic:32796

But it seems to be back up now, and playback is indeed working for me again. I'm still arguing with myself if theres any point in creating a workaround for this issue. Since there doesn't seem to be another "clean" way to get this information, scraping the video homepage would be the only way to go and it seems rather messy. Anyway I will probably look into this but I'm putting the issue on the back burner for now.
(This post was last modified: 2011-01-06 21:13 by HenrikDK.)
find quote
kricker Offline
Team-XBMC QA Specialist
Posts: 3,450
Joined: Apr 2004
Reputation: 20
Location: Knoxville, TN
Post: #48
Since the playback issue looks fixed on Vimeo's side are you pushing this beta to the repo?

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #49
kricker Wrote:Since the playback issue looks fixed on Vimeo's side are you pushing this beta to the repo?

Pushing changes to the release branch as I'm write this Smile
find quote
colbert Offline
Senior Member
Posts: 227
Joined: Dec 2008
Reputation: 0
Post: #50
Yes I can confirm that video playback now works as well!
find quote
Velophile Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #51
Hi, I'm using the 1.0.2 verion thats in the XBMC repos, hope that's the same as the one being discussed here, and am getting an error during logon:

Code:
19:04:31 T:140506952619776 M:1590718464  NOTICE: -->Python Interpreter Initialized<--
19:04:31 T:140506952619776 M:1590718464  NOTICE: Vimeo-1.0.2
19:07:57 T:140506952619776 M:1584836608   ERROR: Error Type: exceptions.TypeError
19:07:57 T:140506952619776 M:1584836608   ERROR: Error Contents: unpack non-sequence
19:07:57 T:140506952619776 M:1584836608   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
                                                navigator.executeAction(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 145$
                                                self.login(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 251$
                                                (result, status ) = core.login()
                                            TypeError: unpack non-sequence
19:07:57 T:140507550697536 M:1584836608   ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/login&$
19:07:57 T:140507550697536 M:1584836608   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/login$
19:07:57 T:140507550697536 M:1584836608 WARNING: GetLabel - Unknown nodetype requested 6
19:08:23 T:140507550697536 M:1585127424 WARNING: Previous line repeats 1 times.

I also get this error when trying to open one of the folders that contains videos (rather than other folders):

Code:
19:18:29 T:140506969405184 M:1570172928   ERROR: Error Type: exceptions.TypeError
19:18:29 T:140506969405184 M:1570172928   ERROR: Error Contents: unsubscriptable object
19:18:29 T:140506969405184 M:1570045952   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/default.py", line 37, in ?
                                                navigator.listMenu(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 72, in listMenu
                                                self.listVideoFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 126, in listVideoFeed
                                                (results, status) = core.listVideoFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 422, in listVideoFeed
                                                result = self._getvideoinfo(result);
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 642, in _getvideoinfo
                                                if (soup.videos["perpage"] == soup.videos["on_this_page"]):
                                            TypeError: unsubscriptable object
19:18:29 T:140507550697536 M:1570045952   ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/explore/groups&group=bikesinnit&
19:18:29 T:140507550697536 M:1570045952   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/explore/groups&group=bikesinnit&) failed
19:18:29 T:140507550697536 M:1569918976 WARNING: GetLabel - Unknown nodetype requested 6

Not sure what's going on, I've tried uninstall/reinstall, removing the plugin and it's settings but no luck, any ideas please?
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #52
Velophile Wrote:Hi, I'm using the 1.0.2 verion thats in the XBMC repos, hope that's the same as the one being discussed here, and am getting an error during logon:

Code:
19:04:31 T:140506952619776 M:1590718464  NOTICE: -->Python Interpreter Initialized<--
19:04:31 T:140506952619776 M:1590718464  NOTICE: Vimeo-1.0.2
19:07:57 T:140506952619776 M:1584836608   ERROR: Error Type: exceptions.TypeError
19:07:57 T:140506952619776 M:1584836608   ERROR: Error Contents: unpack non-sequence
19:07:57 T:140506952619776 M:1584836608   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
                                                navigator.executeAction(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 145$
                                                self.login(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 251$
                                                (result, status ) = core.login()
                                            TypeError: unpack non-sequence
19:07:57 T:140507550697536 M:1584836608   ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/login&$
19:07:57 T:140507550697536 M:1584836608   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/login$
19:07:57 T:140507550697536 M:1584836608 WARNING: GetLabel - Unknown nodetype requested 6
19:08:23 T:140507550697536 M:1585127424 WARNING: Previous line repeats 1 times.

I also get this error when trying to open one of the folders that contains videos (rather than other folders):

Code:
19:18:29 T:140506969405184 M:1570172928   ERROR: Error Type: exceptions.TypeError
19:18:29 T:140506969405184 M:1570172928   ERROR: Error Contents: unsubscriptable object
19:18:29 T:140506969405184 M:1570045952   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/default.py", line 37, in ?
                                                navigator.listMenu(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 72, in listMenu
                                                self.listVideoFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 126, in listVideoFeed
                                                (results, status) = core.listVideoFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 422, in listVideoFeed
                                                result = self._getvideoinfo(result);
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 642, in _getvideoinfo
                                                if (soup.videos["perpage"] == soup.videos["on_this_page"]):
                                            TypeError: unsubscriptable object
19:18:29 T:140507550697536 M:1570045952   ERROR: GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/explore/groups&group=bikesinnit&
19:18:29 T:140507550697536 M:1570045952   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/explore/groups&group=bikesinnit&) failed
19:18:29 T:140507550697536 M:1569918976 WARNING: GetLabel - Unknown nodetype requested 6

Not sure what's going on, I've tried uninstall/reinstall, removing the plugin and it's settings but no luck, any ideas please?

Hi Velophile,

Im sorry to hear that you're having problems with the plugin, I just retested to see that the functions you mention are still working (Vimeo might have change something) but everythings working fine on this end..

In order to tell anything more I need a complete log file with the plugins debug mode enabled.

/HenrikDK
find quote
Velophile Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #53
Hi, thanks for the reply, I'm pretty sure it's something on my machine not a plugin issue but I'm struggling to work out what.

I've tried to enable the debug setting a couple of times (plugin settings->Advanced->debug (on)->ok) but don't see any debug output in the log files, which is odd.

I've enabled system wide debug in the XBMC settings and got quite a lot of output however, it's odd, but with debug enable when I click on the logon menu entry in the Vimeo plugin it takes me into the plugins settings/configure screen where it just sits with 'Vimeo loading directory' displayed in the top right.

That means I don't get the error we want to debug but it's still not working as it should, just not erroring.
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #54
Velophile Wrote:Hi, thanks for the reply, I'm pretty sure it's something on my machine not a plugin issue but I'm struggling to work out what.

I've tried to enable the debug setting a couple of times (plugin settings->Advanced->debug (on)->ok) but don't see any debug output in the log files, which is odd.

I've enabled system wide debug in the XBMC settings and got quite a lot of output however, it's odd, but with debug enable when I click on the logon menu entry in the Vimeo plugin it takes me into the plugins settings/configure screen where it just sits with 'Vimeo loading directory' displayed in the top right.

That means I don't get the error we want to debug but it's still not working as it should, just not erroring.

Ohh I think I might know what's wrong, are you using xbmc with external python (usually the case when there's no debug code)?

If thats the case you could try the fix we presented in the youtube plugin thread:
http://forum.xbmc.org/showpost.php?p=680...tcount=544
(This post was last modified: 2011-02-12 00:27 by HenrikDK.)
find quote
timbuck Offline
Junior Member
Posts: 6
Joined: Jun 2010
Reputation: 0
Post: #55
Not working for me either, turned on debug in the add-on settings.

http://pastebin.com/kyVz95QR
find quote
Velophile Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #56
Hi HenrikDK, thanks for the help.

That sounds a possible cause, thinking back I think the problems started about the time of a system update which could well have included a python package.

Do you know if there's any way of forcing the use of the xmbc supplied python? I've tried adding the /usr/lib/xbmc/system/python path to ld.so.conf.

I've also had a grep through the .py files to see if I could find an instance of add_header with a non-string as the second param but didn't see anything, not a python programmer though so might have missed a trick there.
find quote
HenrikDK Offline
Skilled Python Coder
Posts: 539
Joined: Jul 2007
Reputation: 18
Post: #57
Velophile Wrote:Hi HenrikDK, thanks for the help.

That sounds a possible cause, thinking back I think the problems started about the time of a system update which could well have included a python package.

Do you know if there's any way of forcing the use of the XBMC supplied python? I've tried adding the /usr/lib/xbmc/system/python path to ld.so.conf.

I've also had a grep through the .py files to see if I could find an instance of add_header with a non-string as the second param but didn't see anything, not a python programmer though so might have missed a trick there.

The pyton 2.7 thing is a compile time parameter as far as I know, what flavor of linux are you running and did you compile your xbmc version yourself?.

As for the aformentioned fix I checked the code myself and the vimeo plugin doesn't contain that problem, so im not quite sure if this is really the problem. Last the problem happened I discovered it by accident since a user had enabled both xbmc's internal debug mode (which tells what flavor of python is loaded) and the plugins debugmode,

Maybe you could try that and upload a log?, might give me an idea of what's going on. Confused
(This post was last modified: 2011-02-12 22:11 by HenrikDK.)
find quote
Velophile Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #58
I'm using x86_64 Arch Linux and the XBMC package is the one from the Arch repo, so is built by the Arch guys.

I'll give the extra logging thing a go when I get chance, probably tomorrow, and see if I can find a place to drop it in so you can have a look.

Again, thanks for the help...much appreciated.
find quote
Velophile Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #59
Hi, got the DEBUG lines from the log, available here:

http://www.mediafire.com/?d06xbvy52u5ovib

Looks to be using the XBMC lib files but still fails when trying to logon or when trying to list a folder on Vimeo that's got video files in it.

Hope it helps, thanks.
find quote
TobiasTheCommie Offline
Skilled Python Coder
Posts: 618
Joined: Apr 2008
Reputation: 6
Post: #60
Velophile Wrote:Hi, got the DEBUG lines from the log, available here:

http://www.mediafire.com/?d06xbvy52u5ovib

Looks to be using the XBMC lib files but still fails when trying to logon or when trying to list a folder on Vimeo that's got video files in it.

Hope it helps, thanks.

I have looked at the log you supplied in post #51, and i must admit it doesn't make any sense to me.

The log you uploaded on mediafire is incomplete, i'm missing some information from the beginning of the log. Could you please upload a new log, and please not just a snippet of it.

I also couldn't see any debug code from the vimeo plugin in the mediafire log. Could you please verify that debug is enabled in the vimeo plugin?

I have tested vimeo login on ubuntu 32bit. I'm going to test it on arch 32bit and arch 64bit momentarily, but the error message you first posted makes me think it will just work for me.

Sincerely
Tobias
find quote
Post Reply