Separate list by album
This commit is contained in:
parent
e6da96f2e7
commit
6638260031
@ -123,9 +123,9 @@ class BadWitch:
|
|||||||
return
|
return
|
||||||
elif self.args.action == 'list':
|
elif self.args.action == 'list':
|
||||||
for album, albumcontent in lib.albums.items():
|
for album, albumcontent in lib.albums.items():
|
||||||
|
print(album)
|
||||||
for song, songcontent in albumcontent.items():
|
for song, songcontent in albumcontent.items():
|
||||||
print(album
|
print(str(songcontent['track'])
|
||||||
+ ' - ' + str(songcontent['track'])
|
|
||||||
+ ' - ' + song
|
+ ' - ' + song
|
||||||
+ ' by ' + songcontent['artist'])
|
+ ' by ' + songcontent['artist'])
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user