Kodi Community Forum
[RELEASE] Vimeo (Video) Plugin - De facto default standard Vimeo Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Vimeo (Video) Plugin - De facto default standard Vimeo Addon for XBMC (/showthread.php?tid=81052)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


- Japaja - 2011-05-23

Any luck with the fix?


- HenrikDK - 2011-05-23

Japaja Wrote:Any luck with the fix?

It's not stable enough right now, first login attempt works but any successive login attempt will fail and then you have to go de-authorize the plugin on the vimeo home page to make it work again (in short: it's a mess and I'm not releasing such messy code). I've opened an issue on vimeo's api forums asking for help, but I'm not sure when they'll respond (it seems hard to grab their attention).


- Japaja - 2011-05-23

That's too bad, hope they respond eventually. I just want to access the videos I marked as liked.


- HenrikDK - 2011-05-23

Japaja Wrote:That's too bad, hope they respond eventually. I just want to access the videos I marked as liked.

Yeah so seems I spoke to soon. I had another look at the code and apparently I missed a nuance about the login changes to vimeo and I've created a fix that seems to work, it'll have to go through some more QA testing before it's released but at least there's that.


- HenrikDK - 2011-05-29

Just request SVN pull for a new version it should be out to every one in a couple of days:

Version 1.0.4
- Fixed login breakage cause by Vimeo site changes (Proper)


- Japaja - 2011-05-30

Works! Thank you.


Thanks! - arjhun - 2011-06-05

Hey, thanks for the fix Smile! Hope vimeo won't change its authentication methods too often!

Bye!


- Velophile - 2011-06-08

Hi again, just updated to Arch's recent release of xbmc-10.1.3 and when I run the Vimeo plugin I get this logged when I try 'My Likes':

Code:
18:32:34 T:139918425106496 M:1530941440 WARNING: Trying to add unsupported control type 3
18:32:34 T:139918425106496 M:1530941440 WARNING: Previous line repeats 8 times.
18:32:34 T:139918425106496 M:1530941440 WARNING: GetLabel - Unknown nodetype requested 6
18:32:35 T:139918425106496 M:1508466688   ERROR: Python script "script.TvTunes" does not exist
18:32:37 T:139917418022656 M:1508495360  NOTICE: -->Python Interpreter Initialized<--
18:32:37 T:139917418022656 M:1508495360  NOTICE: Vimeo-1.0.4 ARGV: ['plugin://plugin.video.vimeo/', '-1', '?path=/root/explore&login=false&']
18:32:39 T:139917418022656 M:1508253696  NOTICE: Vimeo-1.0.4 __init__
18:32:39 T:139917418022656 M:1508253696   ERROR:  AddItem - called with an invalid handle.
18:32:39 T:139917418022656 M:1508253696   ERROR: Previous line repeats 4 times.
18:32:39 T:139917418022656 M:1508253696  NOTICE: Vimeo-1.0.4 view mode: 0
18:32:39 T:139917418022656 M:1508253696   ERROR:  EndOfDirectory - called with an invalid handle.
18:32:42 T:139917846279936 M:1508126720   ERROR: Unable to find plugin
18:32:42 T:139918425106496 M:1508126720   ERROR: GetDirectory - Error getting plugin://
18:32:42 T:139918425106496 M:1508126720   ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed

Get this when I try 'My Watch Later':

Code:
18:55:42 T:139907687249664 M:1585700864  NOTICE: Vimeo-1.0.4 ARGV: ['plugin://plugin.video.vimeo/', '-1', '?path=/root/my_watch_later&login=true&api=my_watch_later&']
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 __init__
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 listUserFolderFeeds
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 getUserData
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 calling vimeo api for my_watch_later with user_id: 'REDACTED' page: 1 per_page: 25
18:55:44 T:139907687249664 M:1585586176  NOTICE: Vimeo-1.0.4 _getvideoinfo: 202
18:55:44 T:139907687249664 M:1585586176   ERROR: Error Type: exceptions.TypeError
18:55:44 T:139907687249664 M:1585586176   ERROR: Error Contents: unsubscriptable object
18:55:44 T:139907687249664 M:1585586176   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 87, in listMenu
                                                self.listUserFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 230, in listUserFeed
                                                (result, status) = core.getUserData(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 471, in getUserData
                                                result = self._getvideoinfo(result)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 672, in _getvideoinfo
                                                if (soup.videos["perpage"] == soup.videos["on_this_page"]):
                                            TypeError: unsubscriptable object

Don't think it's a return of the NTP problem I had ages ago that you found as the error and behaviour are different at it appears to have started with the update to xbmc.

Any advice appreciated


- clipper99 - 2011-08-23

I can't login to Vimeo. Settings are correct. Perhaps because I am running nightly builds?

Cheers


- HenrikDK - 2011-08-23

clipper99 Wrote:I can't login to Vimeo. Settings are correct. Perhaps because I am running nightly builds?

Cheers

I just tested login on eden-pre and it worked fine even when i deauthorized the plugin, so dont know whats happening on your machine. sure you're not have timing issues? (the plugin requires that the systems time be set accurate to within a couple of minuts.)


- HenrikDK - 2011-08-23

Velophile Wrote:Hi again, just updated to Arch's recent release of xbmc-10.1.3 and when I run the Vimeo plugin I get this logged when I try 'My Likes':

Code:
18:32:34 T:139918425106496 M:1530941440 WARNING: Trying to add unsupported control type 3
18:32:34 T:139918425106496 M:1530941440 WARNING: Previous line repeats 8 times.
18:32:34 T:139918425106496 M:1530941440 WARNING: GetLabel - Unknown nodetype requested 6
18:32:35 T:139918425106496 M:1508466688   ERROR: Python script "script.TvTunes" does not exist
18:32:37 T:139917418022656 M:1508495360  NOTICE: -->Python Interpreter Initialized<--
18:32:37 T:139917418022656 M:1508495360  NOTICE: Vimeo-1.0.4 ARGV: ['plugin://plugin.video.vimeo/', '-1', '?path=/root/explore&login=false&']
18:32:39 T:139917418022656 M:1508253696  NOTICE: Vimeo-1.0.4 __init__
18:32:39 T:139917418022656 M:1508253696   ERROR:  AddItem - called with an invalid handle.
18:32:39 T:139917418022656 M:1508253696   ERROR: Previous line repeats 4 times.
18:32:39 T:139917418022656 M:1508253696  NOTICE: Vimeo-1.0.4 view mode: 0
18:32:39 T:139917418022656 M:1508253696   ERROR:  EndOfDirectory - called with an invalid handle.
18:32:42 T:139917846279936 M:1508126720   ERROR: Unable to find plugin
18:32:42 T:139918425106496 M:1508126720   ERROR: GetDirectory - Error getting plugin://
18:32:42 T:139918425106496 M:1508126720   ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed

Get this when I try 'My Watch Later':

Code:
18:55:42 T:139907687249664 M:1585700864  NOTICE: Vimeo-1.0.4 ARGV: ['plugin://plugin.video.vimeo/', '-1', '?path=/root/my_watch_later&login=true&api=my_watch_later&']
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 __init__
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 listUserFolderFeeds
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 getUserData
18:55:44 T:139907687249664 M:1585459200  NOTICE: Vimeo-1.0.4 calling vimeo api for my_watch_later with user_id: 'REDACTED' page: 1 per_page: 25
18:55:44 T:139907687249664 M:1585586176  NOTICE: Vimeo-1.0.4 _getvideoinfo: 202
18:55:44 T:139907687249664 M:1585586176   ERROR: Error Type: exceptions.TypeError
18:55:44 T:139907687249664 M:1585586176   ERROR: Error Contents: unsubscriptable object
18:55:44 T:139907687249664 M:1585586176   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 87, in listMenu
                                                self.listUserFeed(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 230, in listUserFeed
                                                (result, status) = core.getUserData(params)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 471, in getUserData
                                                result = self._getvideoinfo(result)
                                              File "/home/xbmc/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 672, in _getvideoinfo
                                                if (soup.videos["perpage"] == soup.videos["on_this_page"]):
                                            TypeError: unsubscriptable object

Don't think it's a return of the NTP problem I had ages ago that you found as the error and behaviour are different at it appears to have started with the update to xbmc.

Any advice appreciated

For anyone else experiencing this problem, it should've been handled in the following trac:
trac.xbmc.org/ticket/11584


- clipper99 - 2011-08-23

HenrikDK Wrote:I just tested login on eden-pre and it worked fine even when i deauthorized the plugin, so dont know whats happening on your machine. sure you're not have timing issues? (the plugin requires that the systems time be set accurate to within a couple of minuts.)

Thanks for taking the time to check that for me!

Hmmmm, most unusual....still can't login to Vimeo with the addon though.

I'm running the Aug 22 nightly for Win32 and the 1.04 Vimeo addon. Win 7 x64.

System time is spot-on.

Reset the addon settings to default. Email addy and password is absolutely correct.

Runnng the addon I choose "login" and I am taken to the settings screen (unusual?) but then I just choose "OK" and get the login failure.

I disabled my firewall - nothing
I changed to Confluence skin - nothing

To be clear, I don't have to change anything on my Vimeo page or anything do I? I'm not really sure then (if not) what the setting "Yes, authorize Vimeo XBMC Plugin" is really for.

I think I have a bigger problem as even without logging in (as I've only just discovered) I still get script failure trying to view any video. Although I am able to browse categories and groups I just can't *watch* any vids with getting a script failure.

Time to roll up the sleeves on this one!


- TobiasTheCommie - 2011-08-23

Well, i also just confirmed that it works.

Please enable debuging in Vimeo and in xbmc and restart xbmc, and try again. And give us the log.

Note: Please do verify the time, we are talking as little as 20 seconds can cause problems.


- clipper99 - 2011-08-23

TobiasTheCommie Wrote:Well, i also just confirmed that it works.

Please enable debuging in Vimeo and in xbmc and restart xbmc, and try again. And give us the log.

Note: Please do verify the time, we are talking as little as 20 seconds can cause problems.

Turns out my time server was not responding so choosing another one adjusted my time by about 1m30sec but that still did not make a difference.

Here's my log file, first time doing this so hopefully it works. Was far too long to paste here!

http://dl.dropbox.com/u/37005165/xbmc.log


- TobiasTheCommie - 2011-08-23

It is failing in one of our dependencies, not any of our code.

I'm sorry but it just looks like it is a timing issue from what i can see.

:/