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)