From 01990c097419136db89a65fcd9baa1389940da3e Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 6 Mar 2020 17:37:05 -0600 Subject: [PATCH] Fix looking for an album named meta AGAIN --- badwitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/badwitch.py b/badwitch.py index f3e681e..d8f86fd 100755 --- a/badwitch.py +++ b/badwitch.py @@ -64,7 +64,7 @@ class Library: metadata = {} for song, songcontent in albumcontent.items(): if song == 'meta': - metadata = self.albums['meta'] + metadata = songcontent['meta'] # Skip albums that don't match our criterea if targetalbum is not None and not album == targetalbum: logging.debug('Skipping album ' + album)