mirror of
https://github.com/beetbox/beets.git
synced 2025-12-16 05:34:47 +01:00
print "(unknown album)" when no tags are present
This commit is contained in:
parent
c2fd535047
commit
6c1edc792c
2 changed files with 4 additions and 1 deletions
1
NEWS
1
NEWS
|
|
@ -33,6 +33,7 @@
|
|||
to the @listen decorator (Thanks again, Lugoues!)
|
||||
* In path formats, $albumartist now falls back to $artist (as well as
|
||||
the other way around).
|
||||
* The importer now prints "(unknown album)" when no tags are present.
|
||||
* When autotagging, "and" is considered equal to "&".
|
||||
* Fix some crashes when deleting files that don't exist.
|
||||
* Fix adding individual tracks in BPD.
|
||||
|
|
|
|||
|
|
@ -76,8 +76,10 @@ def show_change(cur_artist, cur_album, items, info, dist, color=True):
|
|||
def show_album(artist, album):
|
||||
if artist:
|
||||
print_(' %s - %s' % (artist, album))
|
||||
else:
|
||||
elif album:
|
||||
print_(' %s' % album)
|
||||
else:
|
||||
print_(' (unknown album)')
|
||||
|
||||
# Identify the album in question.
|
||||
if cur_artist != info['artist'] or \
|
||||
|
|
|
|||
Loading…
Reference in a new issue