This commit is contained in:
Nicholas St. Germain 2019-04-25 09:30:29 -05:00
parent 6f0b3a29e0
commit c6a0a49100

View file

@ -51,7 +51,7 @@ class LidarrAPI(object):
percent_of_tracks = album.statistics.get('percentOfTracks', 0)
if percent_of_tracks != 100:
influx_albums.append(
(album.title, album.releaseDate, album.artist['artistName'], album.id,percent_of_tracks,
(album.title, album.releaseDate, album.artist['artistName'], album.id, percent_of_tracks,
f"{album.statistics.get('trackFileCount', 0)}/{album.statistics.get('trackCount', 0)}")
)