Skip to content

Instantly share code, notes, and snippets.

@jk0
Created September 24, 2012 14:42
Show Gist options
  • Select an option

  • Save jk0/3776286 to your computer and use it in GitHub Desktop.

Select an option

Save jk0/3776286 to your computer and use it in GitHub Desktop.
diff --git a/Contents/Code/__init__.py b/Contents/Code/__init__.py
index 5890a62..8f5d73e 100644
--- a/Contents/Code/__init__.py
+++ b/Contents/Code/__init__.py
@@ -206,9 +206,9 @@ def GetVideoObject(url, video_type, title=None, summary=None, thumb_url=None):
thumb = Resource.ContentsOfURLWithFallback(url=thumb_url, fallback=PLUGIN_ICON_DEFAULT)
if video_type == "episode":
- return EpisodeObject(key=Callback(VideoDetails, url), rating_key=url, items=video_items(url), title=tit
+ return EpisodeObject(key=Callback(VideoDetails, url=url), rating_key=url, items=video_items(url), title
else:
- return MovieObject(key=Callback(VideoDetails, url), rating_key=url, items=video_items(url), title=title
+ return MovieObject(key=Callback(VideoDetails, url=url), rating_key=url, items=video_items(url), title=t
@route("/video/amazoninstantvideo/videodetails")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment