Speed up userscript info getter by removing actor info

This commit is contained in:
Ruud
2014-01-05 13:10:27 +01:00
parent 8e5c24282e
commit 9df7f7b22c
6 changed files with 16 additions and 15 deletions
@@ -9,7 +9,7 @@ class TMDB(UserscriptBase):
def getMovie(self, url):
match = re.search('(?P<id>\d+)', url)
movie = fireEvent('movie.info_by_tmdb', identifier = match.group('id'), merge = True)
movie = fireEvent('movie.info_by_tmdb', identifier = match.group('id'), extended = False, merge = True)
if movie['imdb']:
return self.getInfo(movie['imdb'])