summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonatan Lindblad <jlindblad@mythtv.org>2012-06-01 18:12:40 (GMT)
committer Jonatan Lindblad <jlindblad@mythtv.org>2012-06-01 18:12:40 (GMT)
commit0c92bfd648224fc986586e5ddeef2e79c61a98ce (patch)
tree540ad1b39de700e04abf481f7662130ad0d3f14f
parentdd4eab189a67dd2951eb22259b94b8bc500d89a9 (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.
-rw-r--r--mythtv/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 5fa3bad..37a7df9 100644
--- a/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py
+++ b/mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py
@@ -241,7 +241,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)