Fix looking for an album named meta

AGAIN
This commit is contained in:
Salt 2020-03-06 17:37:05 -06:00
parent 82274d2a00
commit 01990c0974

View File

@ -64,7 +64,7 @@ class Library:
metadata = {} metadata = {}
for song, songcontent in albumcontent.items(): for song, songcontent in albumcontent.items():
if song == 'meta': if song == 'meta':
metadata = self.albums['meta'] metadata = songcontent['meta']
# Skip albums that don't match our criterea # Skip albums that don't match our criterea
if targetalbum is not None and not album == targetalbum: if targetalbum is not None and not album == targetalbum:
logging.debug('Skipping album ' + album) logging.debug('Skipping album ' + album)