- HenrikDK - 2010-12-19
New version out to fix problems with install from zip, latest version is 0.6.1:
Changelog:
- Fixed zip file to make install from zip possible again, and reduced install size by 50%
I have tested it on osx and a linux install and installation works fine there, but i don't have a windows machine to test on so there might or might not be problems there.
- HenrikDK - 2010-12-31
Soo, I was playing with this plugin today, and accidentially discovered that certain videos are now unplayable, seems Vimeo has added more of what I guess are cross site scripting checks in their code to keep people away from their videos.
I will look into a solution to this problem, but until then be warned that certain clips might not play.
Video quality settings - TravellingGuy - 2011-01-01
Thanks for the excellent plugin.
I have problem/question. In the General settings for the plugin, if I set the "Max video quality" setting to 720p, the plugin will only play videos that are minimum 720p. i.e. it won't revert to a lower resolution video if there is no 720p available. It took me a while to figure out why many of the videos wouldn't play. :-)
Is it possible to have the plugin fall back to a lower resolution video if the 720p resolution is not available?
Alternatively, if I set the "Max video quality" to SD Only, it will only play the lower resolution version of a video, even if a 720p version is available.
Thanks!
Todd
P.S. Maybe this is related to your comment yesterday about some videos not playing?
- HenrikDK - 2011-01-01
TravellingGuy Wrote:Thanks for the excellent plugin.
I have problem/question. In the General settings for the plugin, if I set the "Max video quality" setting to 720p, the plugin will only play videos that are minimum 720p. i.e. it won't revert to a lower resolution video if there is no 720p available. It took me a while to figure out why many of the videos wouldn't play. :-)
Is it possible to have the plugin fall back to a lower resolution video if the 720p resolution is not available?
Alternatively, if I set the "Max video quality" to SD Only, it will only play the lower resolution version of a video, even if a 720p version is available.
Thanks!
Todd
P.S. Maybe this is related to your comment yesterday about some videos not playing?
Hi, thanks for the hint, and yup you're right, this seems to be the same problem i was experiencing with playback not working.
You just saved me a great deal of pain trying to debug this issue against vimeo
- HenrikDK - 2011-01-01
Just pushed a pull request through the usual channels with a bugfix for the video playback issue, The latest version is Version 1.0.1 and should be available in the repo once some xbmc dev's get around to it.
- TravellingGuy - 2011-01-01
HenrikDK Wrote:Hi, thanks for the hint, and yup you're right, this seems to be the same problem i was experiencing with playback not working.
You just saved me a great deal of pain trying to debug this issue against vimeo
Glad I could help. I just updated to 1.0.1 and it's working spiffy!
Thanks
Todd
- kricker - 2011-01-04
How can I easily watch my own Vimeo videos I uploaded? Is there any API hook to show those? When you login on the site it is the "My Stuff" tab.
- HenrikDK - 2011-01-04
kricker Wrote:How can I easily watch my own Vimeo videos I uploaded? Is there any API hook to show those? When you login on the site it is the "My Stuff" tab.
Ehm, if you allow the plugin to log in it should be visble under my videos.
- kricker - 2011-01-05
Well, I've logged in and never seen a my videos. I'll try the latest on the code page and see.
- kricker - 2011-01-05
Okay here is a log from XBMC where I try to login and see my videos using vs 1.0.1. I keep seeing login in the list. Each time I use it to login and I get the notification that I am logged in, but the login entry is still in the item list and I see no "My Videos". "My Videos" is also not hidden in the addon options.
- HenrikDK - 2011-01-05
kricker Wrote:Okay here is a log from XBMC where I try to login and see my videos using vs 1.0.1. I keep seeing login in the list. Each time I use it to login and I get the notification that I am logged in, but the login entry is still in the item list and I see no "My Videos". "My Videos" is also not hidden in the addon options.
Code: 23:04:52 T:5456 M:165625856 NOTICE: Vimeo-1.0.0 login_get_verifier - auth_url: http://vimeo.com/oauth/authorize?oauth_token=fd36f85174117f2d5caae5c950e7580e&permission=write
23:04:53 T:5456 M:165838848 NOTICE: Vimeo-1.0.0 setting userid: ''
23:04:54 T:5456 M:165511168 NOTICE: Vimeo-1.0.0 login_get_verifier verifier: toys-1150726094
23:04:54 T:5456 M:165404672 NOTICE: Vimeo-1.0.0 login token: oauth_token_secret=21d3b5046e7b2111220b2e4d1b6c7bb8bd602356&oauth_token=ffc04f15a21638522755b0af8c112003
23:04:54 T:5456 M:165404672 NOTICE: Vimeo-1.0.0 login done
Hmm it seems that the login process goes fine, but the user id isnt found, i will create a new beta with better debugging code that will give me an idea of what is wrong.
- kricker - 2011-01-05
Great. Let me know when it is ready and I'll give it a dance.
- HenrikDK - 2011-01-05
I've reworked how the plugin fetches and stores the userid to a more consistent method. I've also added some additional debugging that should tell us what's wrong if it doesn't work:
The new version is plugin.video.vimeo.beta-1.1.1 and can be downloaded from the site:
http://code.google.com/p/vimeoxbmc/downloads/list
If this release fixes the problem we'll push it to the official repo, as its only a minor fix.
/HenrikDK
- colbert - 2011-01-06
I can login sucessfully, load Show Information, browse the listings, etc. just fine but trying to watch a video goes back out to the menu and I see: http://i.imgur.com/64lzA.jpg
Here is log output:
Code: 20:20:59 T:3022288768 M:2556256256 DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/explore/staffpicks&action=play_video&videoid=18046748')
20:20:59 T:3022288768 M:2556256256 INFO: initializing python engine.
20:20:59 T:3022288768 M:2556256256 DEBUG: new python thread created. id=32
20:20:59 T:3022288768 M:2556256256 DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
20:20:59 T:2928175984 M:2556256256 DEBUG: thread start, auto delete: 0
20:20:59 T:2928175984 M:2556256256 DEBUG: Python thread: start processing
20:20:59 T:2928175984 M:2556256256 NOTICE: -->Python Interpreter Initialized<--
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - The source file to load is /home/bobby/.xbmc/addons/plugin.video.vimeo/default.py
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Setting the Python path to /home/bobby/.xbmc/addons/plugin.video.vimeo:/home/bobby/.xbmc/addons/script.module.simplejson/lib:/home/bobby/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/bobby/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Entering source directory /home/bobby/.xbmc/addons/plugin.video.vimeo
20:20:59 T:2928175984 M:2556256256 NOTICE: Vimeo-1.0.0 ARGV: ['plugin://plugin.video.vimeo/', '0', '?path=/root/explore/staffpicks&action=play_video&videoid=18046748']
20:21:00 T:2928175984 M:2556534784 NOTICE: Vimeo-1.0.0 __init__
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 construct_video_url : '18046748'
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 _get_details: '18046748'
20:21:00 T:2928175984 M:2556366848 INFO: -->Python script returned the following error<--
20:21:00 T:2928175984 M:2556366848 ERROR: Error Type: urllib2.HTTPError
20:21:00 T:2928175984 M:2556366848 ERROR: Error Contents: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 ERROR: Traceback (most recent call last):
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
navigator.executeAction(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
self.playVideo(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
(video, status) = core.construct_video_url(get('videoid'));
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 342, in construct_video_url
video = self._get_details(videoid)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 505, in _get_details
con = urllib2.urlopen(url);
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 INFO: -->End of Python script error report<--
20:21:00 T:2928175984 M:2556366848 INFO: Python script stopped
20:21:00 T:2928175984 M:2556366848 DEBUG: Thread 2928175984 terminating
20:21:00 T:3022288768 M:2556366848 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
20:21:00 T:3022288768 M:2556366848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/explore/staffpicks&action=play_video&videoid=18046748]
20:21:00 T:3022288768 M:2556366848 DEBUG: Playlist Player: one or more items failed to play... aborting playback
20:21:00 T:3022288768 M:2556366848 INFO: Loading skin file: DialogOK.xml
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogOK.xml) ------
20:21:00 T:3022288768 M:2556366848 DEBUG: python thread 32 destructed
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:21:03 T:3022288768 M:2555133952 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:03 T:3022288768 M:2555133952 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:03 T:3022288768 M:2555133952 ERROR: GLX: Same window as before, refreshing context
20:21:03 T:3022288768 M:2555133952 INFO: GL: Maximum texture width: 8192
20:21:05 T:3022288768 M:2552725504 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:05 T:3022288768 M:2552725504 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:05 T:3022288768 M:2552594432 ERROR: GLX: Same window as before, refreshing context
20:21:05 T:3022288768 M:2552594432 INFO: GL: Maximum texture width: 8192
20:21:06 T:3022288768 M:2552852480 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:21:07 T:2919783280 M:2552987648 NOTICE: 'TRAKT: Resetting last update timestamp'
20:21:08 T:3022288768 M:2553225216 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:08 T:3022288768 M:2553225216 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:08 T:3022288768 M:2553249792 ERROR: GLX: Same window as before, refreshing context
20:21:08 T:3022288768 M:2553249792 INFO: GL: Maximum texture width: 8192
20:21:12 T:3022288768 M:2552250368 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
20:21:12 T:3022288768 M:2552250368 DEBUG: OnKey: 61453 pressed, action is Select
20:21:12 T:3022288768 M:2552250368 DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:21:12 T:2854218608 M:2552758272 DEBUG: thread start, auto delete: 0
20:21:12 T:2928175984 M:2552758272 DEBUG: thread start, auto delete: 1
20:21:12 T:2854218608 M:2552758272 DEBUG: Thread 2854218608 terminating
20:21:13 T:3022288768 M:2552860672 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:13 T:3022288768 M:2552860672 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:13 T:3022288768 M:2552877056 ERROR: GLX: Same window as before, refreshing context
20:21:13 T:3022288768 M:2552877056 INFO: GL: Maximum texture width: 8192
20:21:22 T:2919783280 M:2557345792 NOTICE: 'TRAKT: Resetting last update timestamp'
ââ[ 01/05/11 07:09:36 PM ][ ~/.xbmc/temp ]
Thank you for any help!
- HenrikDK - 2011-01-06
colbert Wrote:I can login sucessfully, load Show Information, browse the listings, etc. just fine but trying to watch a video goes back out to the menu and I see: http://i.imgur.com/64lzA.jpg
Here is log output:
Code: 20:20:59 T:3022288768 M:2556256256 DEBUG: StartScript - calling plugin Vimeo('plugin://plugin.video.vimeo/','0','?path=/root/explore/staffpicks&action=play_video&videoid=18046748')
20:20:59 T:3022288768 M:2556256256 INFO: initializing python engine.
20:20:59 T:3022288768 M:2556256256 DEBUG: new python thread created. id=32
20:20:59 T:3022288768 M:2556256256 DEBUG: WaitOnScriptResult - waiting on the Vimeo plugin...
20:20:59 T:2928175984 M:2556256256 DEBUG: thread start, auto delete: 0
20:20:59 T:2928175984 M:2556256256 DEBUG: Python thread: start processing
20:20:59 T:2928175984 M:2556256256 NOTICE: -->Python Interpreter Initialized<--
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - The source file to load is /home/bobby/.xbmc/addons/plugin.video.vimeo/default.py
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Setting the Python path to /home/bobby/.xbmc/addons/plugin.video.vimeo:/home/bobby/.xbmc/addons/script.module.simplejson/lib:/home/bobby/.xbmc/addons/script.module.beautifulsoup/lib:/usr/lib/xbmc/addons/script.module.pil/lib:/home/bobby/.xbmc/addons/script.module.elementtree/lib:/usr/lib/xbmc/addons/script.module.pysqlite/lib:/usr/lib/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
20:20:59 T:2928175984 M:2556256256 DEBUG: Process - Entering source directory /home/bobby/.xbmc/addons/plugin.video.vimeo
20:20:59 T:2928175984 M:2556256256 NOTICE: Vimeo-1.0.0 ARGV: ['plugin://plugin.video.vimeo/', '0', '?path=/root/explore/staffpicks&action=play_video&videoid=18046748']
20:21:00 T:2928175984 M:2556534784 NOTICE: Vimeo-1.0.0 __init__
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 construct_video_url : '18046748'
20:21:00 T:2928175984 M:2556366848 NOTICE: Vimeo-1.0.0 _get_details: '18046748'
20:21:00 T:2928175984 M:2556366848 INFO: -->Python script returned the following error<--
20:21:00 T:2928175984 M:2556366848 ERROR: Error Type: urllib2.HTTPError
20:21:00 T:2928175984 M:2556366848 ERROR: Error Contents: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 ERROR: Traceback (most recent call last):
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/default.py", line 35, in ?
navigator.executeAction(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 135, in executeAction
self.playVideo(params)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoNavigation.py", line 307, in playVideo
(video, status) = core.construct_video_url(get('videoid'));
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 342, in construct_video_url
video = self._get_details(videoid)
File "/home/bobby/.xbmc/addons/plugin.video.vimeo/VimeoCore.py", line 505, in _get_details
con = urllib2.urlopen(url);
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 471, in http_response
response = self.parent.error(
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 402, in error
return self._call_chain(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/xbmc/system/python/python24.zip/urllib2.py", line 480, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
20:21:00 T:2928175984 M:2556366848 INFO: -->End of Python script error report<--
20:21:00 T:2928175984 M:2556366848 INFO: Python script stopped
20:21:00 T:2928175984 M:2556366848 DEBUG: Thread 2928175984 terminating
20:21:00 T:3022288768 M:2556366848 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
20:21:00 T:3022288768 M:2556366848 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.vimeo/?path=/root/explore/staffpicks&action=play_video&videoid=18046748]
20:21:00 T:3022288768 M:2556366848 DEBUG: Playlist Player: one or more items failed to play... aborting playback
20:21:00 T:3022288768 M:2556366848 INFO: Loading skin file: DialogOK.xml
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogOK.xml) ------
20:21:00 T:3022288768 M:2556366848 DEBUG: python thread 32 destructed
20:21:00 T:3022288768 M:2556366848 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
20:21:03 T:3022288768 M:2555133952 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:03 T:3022288768 M:2555133952 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:03 T:3022288768 M:2555133952 ERROR: GLX: Same window as before, refreshing context
20:21:03 T:3022288768 M:2555133952 INFO: GL: Maximum texture width: 8192
20:21:05 T:3022288768 M:2552725504 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:05 T:3022288768 M:2552725504 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:05 T:3022288768 M:2552594432 ERROR: GLX: Same window as before, refreshing context
20:21:05 T:3022288768 M:2552594432 INFO: GL: Maximum texture width: 8192
20:21:06 T:3022288768 M:2552852480 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
20:21:07 T:2919783280 M:2552987648 NOTICE: 'TRAKT: Resetting last update timestamp'
20:21:08 T:3022288768 M:2553225216 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:08 T:3022288768 M:2553225216 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:08 T:3022288768 M:2553249792 ERROR: GLX: Same window as before, refreshing context
20:21:08 T:3022288768 M:2553249792 INFO: GL: Maximum texture width: 8192
20:21:12 T:3022288768 M:2552250368 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
20:21:12 T:3022288768 M:2552250368 DEBUG: OnKey: 61453 pressed, action is Select
20:21:12 T:3022288768 M:2552250368 DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:21:12 T:2854218608 M:2552758272 DEBUG: thread start, auto delete: 0
20:21:12 T:2928175984 M:2552758272 DEBUG: thread start, auto delete: 1
20:21:12 T:2854218608 M:2552758272 DEBUG: Thread 2854218608 terminating
20:21:13 T:3022288768 M:2552860672 DEBUG: SDLKeyboard: scancode: 51, sym: 92, unicode: 92, modifier: 0
20:21:13 T:3022288768 M:2552860672 DEBUG: OnKey: 61676 pressed, action is ToggleFullScreen
20:21:13 T:3022288768 M:2552877056 ERROR: GLX: Same window as before, refreshing context
20:21:13 T:3022288768 M:2552877056 INFO: GL: Maximum texture width: 8192
20:21:22 T:2919783280 M:2557345792 NOTICE: 'TRAKT: Resetting last update timestamp'
ââ[ 01/05/11 07:09:36 PM ][ ~/.xbmc/temp ]
Thank you for any help!
Hmm seems that vimeo changed their backend systems AGAIN and one of the urls we use to resolve video details is broken. I Will look into fixing this tonight.
|