changed Missing available to 0/1 for grafana colorization
This commit is contained in:
parent
35cb12f751
commit
230551bc0b
1 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue