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


- HenrikDK - 2011-04-22

neo2154 Wrote:Hello Smile
The video id is 5606758 (an incredible HD 720p video of the most large aquarium in the world Sad ).

Forgot to mention this, but yes it really is a very awesome video, already had it in my likes list but thanks for reminding me Smile


- neo2154 - 2011-04-23

Hello Henrik ¡¡

You are right, is a great video and the song is incredible, is in my favourites too...

Thank you so much for the solution. With your permission, I am going to link the file you have said me with the fix for other users with the same problem. If you dont want for any reason the file published, tell me and i will quit it.

You are developing a great job. The plugin is really cool...

Regards and thanks again, i will help in the forum always i can...

http://www.megaupload.com/?d=VZ5OBKVN ( the file is for being copied to /home/<user>/.xbmc/addons/plugin.video.vimeo/ and replace the file with the same name )


- pike - 2011-04-23

You can subscribe to something called "Staff Picks" (or something like it). And inside there's atleast 1 video with a
Code:
"
in the name causing an error in the script and of course no playback of said video Nerd


- HenrikDK - 2011-04-24

pike Wrote:You can subscribe to something called "Staff Picks" (or something like it). And inside there's atleast 1 video with a
Code:
"
in the name causing an error in the script and of course no playback of said video Nerd

Hi pike,
can you get a video id on that, i really want to fix that bug before i push out a new version, I tried going into the staff pick's thats under explore vimeo (basically it should be the same channel) but I couldn't find the video you mentioned.

========= EDIT ==========
ok looked a bit further found this video on the second page:
http://vimeo.com/22047266

doesn't give me any problems other than the title looking a bit odd on playback which i've now fixed. in case that wasn't it please link to the appropriate video and i will check it out.


- pike - 2011-04-26

this seems relevant, video is called

Quote:Alexander "A Million years"

here's some xbmc logging:

Code:
01:09:41 T:140180904933312 M:580952064   DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/subscriptions&action=play_video&videoid=22619663')
01:09:41 T:140180904933312 M:580952064    INFO: initializing python engine.
01:09:41 T:140180904933312 M:580952064   DEBUG: new python thread created. id=9
01:09:41 T:140180904933312 M:580952064   DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
01:09:41 T:140180448913152 M:580952064   DEBUG: Thread XBPyThread start, auto delete: 0
01:09:41 T:140180448913152 M:580952064   DEBUG: Python thread: start processing
01:09:41 T:140180448913152 M:580952064  NOTICE: -->Python Interpreter Initialized<--
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - The source file to load is /home/pike/.xbmc/addons/plugin.video.vimeo/default.py
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - Setting the Python path to /home/pike/.xbmc/addons/plugin.video.vimeo:/home/pike/.xbmc/addons/script.module.simplejson/lib:/home/pike/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/share/xbmc/addons/script.module.pil/lib:/usr/local/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/dist-packages:/usr/lib/python2.6/dist-packages/PIL:/usr/lib/python2.6/dist-packages/gst-0.10:/usr/lib/pymodules/python2.6:/usr/lib/python2.6/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/local/lib/python2.6/dist-packages:
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - Entering source directory /home/pike/.xbmc/addons/plugin.video.vimeo
01:09:41 T:140180448913152 M:580952064   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.vimeo" dependent on version 1.0 of the xbmc.python api
01:09:41 T:140180448913152 M:580952064  NOTICE: Vimeo-1.0.2
01:09:42 T:140180448913152 M:580816896    INFO: -->Python script returned the following error<--
01:09:42 T:140180448913152 M:580816896   ERROR: Error Type: <type 'exceptions.AttributeError'>
01:09:42 T:140180448913152 M:580816896   ERROR: Error Contents: 'NoneType' object has no attribute 'contents'
01:09:42 T:140180448913152 M:580820992   ERROR: Traceback (most recent call last):
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in <module>
                                                navigator.executeAction(params)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
                                                self.playVideo(params)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
                                                (video, status) = core.construct_video_url(get('videoid'));
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 351, in construct_video_url
                                                video = self._get_details(videoid)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 523, in _get_details
                                                video['videoid'] = soup.embed_settings.clip_id.contents[0]
                                            AttributeError: 'NoneType' object has no attribute 'contents'
01:09:42 T:140180448913152 M:580820992    INFO: -->End of Python script error report<--
01:09:42 T:140180448913152 M:580820992    INFO: Python script stopped
01:09:42 T:140180448913152 M:580820992   DEBUG: Thread Python Thread 140180448913152 terminating
01:09:42 T:140180904933312 M:580878336   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
01:09:42 T:140180904933312 M:580878336   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/subscriptions&action=play_video&videoid=22619663]
01:09:42 T:140180904933312 M:580878336   DEBUG: Playlist Player: no more playable items... aborting playback
01:09:42 T:140180604692224 M:580878336   DEBUG: Thread Background Loader start, auto delete: 0



- HenrikDK - 2011-04-26

pike Wrote:this seems relevant, video is called

here's some xbmc logging:

Code:
01:09:41 T:140180904933312 M:580952064   DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/subscriptions&action=play_video&videoid=22619663')
01:09:41 T:140180904933312 M:580952064    INFO: initializing python engine.
01:09:41 T:140180904933312 M:580952064   DEBUG: new python thread created. id=9
01:09:41 T:140180904933312 M:580952064   DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
01:09:41 T:140180448913152 M:580952064   DEBUG: Thread XBPyThread start, auto delete: 0
01:09:41 T:140180448913152 M:580952064   DEBUG: Python thread: start processing
01:09:41 T:140180448913152 M:580952064  NOTICE: -->Python Interpreter Initialized<--
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - The source file to load is /home/pike/.xbmc/addons/plugin.video.vimeo/default.py
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - Setting the Python path to /home/pike/.xbmc/addons/plugin.video.vimeo:/home/pike/.xbmc/addons/script.module.simplejson/lib:/home/pike/.xbmc/addons/script.module.beautifulsoup/lib:/usr/local/share/xbmc/addons/script.module.pil/lib:/usr/local/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/usr/lib/python2.6/dist-packages:/usr/lib/python2.6/dist-packages/PIL:/usr/lib/python2.6/dist-packages/gst-0.10:/usr/lib/pymodules/python2.6:/usr/lib/python2.6/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/local/lib/python2.6/dist-packages:
01:09:41 T:140180448913152 M:580952064   DEBUG: Process - Entering source directory /home/pike/.xbmc/addons/plugin.video.vimeo
01:09:41 T:140180448913152 M:580952064   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.vimeo" dependent on version 1.0 of the xbmc.python api
01:09:41 T:140180448913152 M:580952064  NOTICE: Vimeo-1.0.2
01:09:42 T:140180448913152 M:580816896    INFO: -->Python script returned the following error<--
01:09:42 T:140180448913152 M:580816896   ERROR: Error Type: <type 'exceptions.AttributeError'>
01:09:42 T:140180448913152 M:580816896   ERROR: Error Contents: 'NoneType' object has no attribute 'contents'
01:09:42 T:140180448913152 M:580820992   ERROR: Traceback (most recent call last):
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in <module>
                                                navigator.executeAction(params)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
                                                self.playVideo(params)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
                                                (video, status) = core.construct_video_url(get('videoid'));
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 351, in construct_video_url
                                                video = self._get_details(videoid)
                                              File "/home/pike/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 523, in _get_details
                                                video['videoid'] = soup.embed_settings.clip_id.contents[0]
                                            AttributeError: 'NoneType' object has no attribute 'contents'
01:09:42 T:140180448913152 M:580820992    INFO: -->End of Python script error report<--
01:09:42 T:140180448913152 M:580820992    INFO: Python script stopped
01:09:42 T:140180448913152 M:580820992   DEBUG: Thread Python Thread 140180448913152 terminating
01:09:42 T:140180904933312 M:580878336   DEBUG:  WaitOnScriptResult - plugin exited prematurely - terminating
01:09:42 T:140180904933312 M:580878336   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/subscriptions&action=play_video&videoid=22619663]
01:09:42 T:140180904933312 M:580878336   DEBUG: Playlist Player: no more playable items... aborting playback
01:09:42 T:140180604692224 M:580878336   DEBUG: Thread Background Loader start, auto delete: 0

Hi, This bug is fixed in version 1.0.3 currently available from the home page (http://code.google.com/p/vimeoxbmc/). I have also sent a pull request to the mailing thread yesterday but i suspect the holidays have people busy elsewhere Wink.


version 1.0.3

Changelog:
- Fixed issue where listing groups would fail if every group didnt have a logo
- Fixed a minor issue where special html chars would appear incorrectly in the title during playback
- Fixed login breakage caused by Vimeo site changes
- Fixed playback breakage caused by Vimeo api changes


- neo2154 - 2011-05-07

Thank you very much for the update. It works perfectly now...

Regards,


- ctawn - 2011-05-13

this is not working for me currently. it even crashed xbmc. using mac os x.


- HenrikDK - 2011-05-13

ctawn Wrote:this is not working for me currently. it even crashed xbmc. using mac os x.

Please post a log with both XBMC's and the plugins debug mode enabled..


- ctawn - 2011-05-17

HenrikDK Wrote:Please post a log with both XBMC's and the plugins debug mode enabled..

the problem is apparently related to logging in to vimeo.

here's the xbmc.log. first part pertains to pitchfork plugin, also not working.

http://pastebin.com/T9vz7HC7

and here's the crash log:

http://pastebin.com/qndWQRsz


Vimeo login fails - arjhun - 2011-05-17

Hello Guys,

It's too bad that my login fail at the moment! It only works when I manually authorize the plugin via the link in xbmc.log and add my user id to the settings.xml in the vimeo addon folder, but when I go to the configure part in XBMC it resets my user id because of errors...

the log:

Quote:15:16:06 T:1472 M:960335872 NOTICE: Vimeo-1.0.3 login_get_verifier - auth_url: http://vimeo.com/oauth/authorize?oauth_token=4f981b5672076865c42b64fd22b60e17&permission=write
15:16:08 T:1472 M:960475136 NOTICE: Cookie jar contents: <_LWPCookieJar.LWPCookieJar[Cookie(version=0, name='cached_email', value='[email protected]', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=None, discard=False, comment=None, comment_url=None, rest={}), Cookie(version=0, name='uid', value='1349979%7Carjenklaverstijn%7C1235518006%7C0', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=1620998166, discard=False, comment=None, comment_url=None, rest={}), Cookie(version=0, name='vimeo', value='ijsmi6916fit55imcgh661dj96', port=None, port_specified=False, domain='.vimeo.com', domain_specified=True, domain_initial_dot=True, path='/', path_specified=True, secure=False, expires=1308230165, discard=False, comment=None, comment_url=None, rest={})]>
15:16:08 T:1472 M:960475136 NOTICE: Vimeo-1.0.3 setting userid: '1349979'
15:16:08 T:1472 M:960516096 NOTICE: Vimeo-1.0.3 login_get_verifier no login verifier
15:16:08 T:1472 M:960516096 NOTICE: Vimeo-1.0.3 login_get_verifier failed uncaught exception
15:16:08 T:1472 M:960516096 NOTICE: ERROR: VimeoCore::login_get_verifier (198) - global name 'data' is not defined
15:16:08 T:3712 M:960495616 NOTICE: -->Python Interpreter Initialized<--
15:16:08 T:3712 M:960487424 NOTICE: Vimeo-1.0.3 ARGV: ['plugin://plugin.video.vimeo/', '1', '']
15:16:09 T:3712 M:959152128 NOTICE: Vimeo-1.0.3 __init__
15:16:09 T:3712 M:959139840 NOTICE: Vimeo-1.0.3 view mode: 0
15:16:09 T:4332 M:959119360 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
15:16:09 T:4332 M:959463424 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.vimeo/?path=/root/settings&action=settings&
15:16:09 T:4332 M:959463424 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.vimeo/?path=/root/settings&action=settings&) failed
15:16:09 T:4956 M:959463424 NOTICE: -->Python Interpreter Initialized<--
15:16:09 T:4956 M:959463424 NOTICE: Vimeo-1.0.3 ARGV: ['plugin://plugin.video.vimeo/', '0', '']
15:16:09 T:4956 M:960516096 NOTICE: Vimeo-1.0.3 __init__
15:16:09 T:4956 M:960503808 NOTICE: Vimeo-1.0.3 view mode: 0
15:16:09 T:4332 M:960458752 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6



- HenrikDK - 2011-05-17

ctawn Wrote:the problem is apparently related to logging in to vimeo.

Hi it would seem that vimeo has changed their authorization procedure, I'll look into fixing it again, but a fix might first be available at the end of the week as im kinda busy atm.


- ctawn - 2011-05-18

thanks, look forward to it. cheers.


- arjhun - 2011-05-18

Thanks! Good luck...

Btw, I have a question:
My password is stored in plain text, are future releases going to store the pw encrypted?

Bye!


- HenrikDK - 2011-05-18

arjhun Wrote:Thanks! Good luck...

Btw, I have a question:
My password is stored in plain text, are future releases going to store the pw encrypted?

Bye!

I think this should be a feature provided by XBMC as we don't control the settings module. Maybe you could file a trac ticket (http://trac.xbmc.org/)?