From 66382600319a8b870007469d297f21c51a4a9d29 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 4 Mar 2020 00:42:28 -0600 Subject: [PATCH] Separate list by album --- badwitch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/badwitch.py b/badwitch.py index cfe009e..cccdb06 100755 --- a/badwitch.py +++ b/badwitch.py @@ -123,9 +123,9 @@ class BadWitch: return elif self.args.action == 'list': for album, albumcontent in lib.albums.items(): + print(album) for song, songcontent in albumcontent.items(): - print(album - + ' - ' + str(songcontent['track']) + print(str(songcontent['track']) + ' - ' + song + ' by ' + songcontent['artist']) return