Fix looking for a piece of song metadata named meta

AUUUUUUUUUUUUUUUUGH
This commit is contained in:
Salt 2020-03-06 17:40:16 -06:00
parent 01990c0974
commit 0bb342ffec

View File

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