summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Lindblad <jlindblad@mythtv.org>2012-06-01 18:38:36 (GMT)
committer Jonatan Lindblad <jlindblad@mythtv.org>2012-06-01 18:38:36 (GMT)
commiteaab55b84c475fada5db55b3f1d4579119dd23d4 (patch)
tree5675b3409a46b33a58b03492c0bc88bf0be54aa9
parent912907942fef7d73f830288d2817a85d324b66b8 (diff)
Internet Content: Fix Vimeo grabber
Vimeo now requires that oauth_callback is specified. We set it to out-of-band since we don't use it. (cherry picked from commit 0c92bfd648224fc986586e5ddeef2e79c61a98ce)
-rwxr-xr-xmythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py b/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py
index 572e180..61f8c5c 100755
--- a/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py
+++ b/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py
@@ -240,7 +240,8 @@ class SimpleOAuthClient(oauth.OAuthClient):
Requests a request token and return it on success.
"""
oauth_request = oauth.OAuthRequest.from_consumer_and_token(self.consumer,
- http_url=self.request_token_url)
+ http_url=self.request_token_url,
+ callback="oob")
oauth_request.sign_request(HMAC_SHA1, self.consumer, None)
self.token = self._fetch_token(oauth_request)