Use TheMovieDB v3 api

This commit is contained in:
Ruud
2013-09-02 14:10:31 +02:00
parent 88176997e7
commit 910578a2ac
17 changed files with 2830 additions and 854 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', id = match.group('id'), merge = True)
movie = fireEvent('movie.info_by_tmdb', identifier = match.group('id'), merge = True)
if movie['imdb']:
return self.getInfo(movie['imdb'])