changed Missing available to 0/1 for grafana colorization

This commit is contained in:
Nicholas St. Germain 2018-12-10 01:16:01 -06:00
parent 35cb12f751
commit 230551bc0b

View file

@ -40,9 +40,9 @@ class RadarrAPI(object):
for movie in movies: for movie in movies:
if not movie.downloaded: if not movie.downloaded:
if movie.isAvailable: if movie.isAvailable:
ma = True ma = 0
else: else:
ma = False ma = 1
movie_name = '{} ({})'.format(movie.title, movie.year) movie_name = '{} ({})'.format(movie.title, movie.year)
missing.append((movie_name, ma, movie.tmdbId)) missing.append((movie_name, ma, movie.tmdbId))