Clean up. Add year to movies

This commit is contained in:
samwiseg0 2018-08-06 13:42:10 -04:00
parent 0f1ed7f234
commit 1db7666c37
2 changed files with 8 additions and 5 deletions

View file

@ -32,7 +32,8 @@ def get_missing_movies():
for movie in movies.keys():
if not movies[movie]['downloaded']:
missing.append((movies[movie]['title'], movies[movie]['tmdbId']))
movie_name = ('{} ({})'.format(movies[movie]['title'], movies[movie]['year']))
missing.append((movie_name, movies[movie]['tmdbId']))
for movie, id in missing:
influx_payload.append(