diff --git a/NEWS b/NEWS index ba0e39fad..fa449b01c 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,7 @@ * When importing with the "delete" option and importing files that are already at their destination, files could be deleted (leaving zero copies afterward). This is fixed. +* "import -l" now logs duplicate albums. * Fix a bug where some files would be erroneously interpreted as MP4. * Fix permission bits applied to album art files. * Fix malformed MusicBrainz queries caused by null characters. diff --git a/beets/ui/commands.py b/beets/ui/commands.py index e79c10528..9ace1cab1 100644 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -435,6 +435,7 @@ def user_query(lib, logfile=None, color=True, quiet=False): library.MatchQuery('album', album))) count, _ = q.count(lib) if count >= 1: + tag_log(logfile, 'duplicate', path) print_("This album (%s - %s) is already in the library!" % (artist, album)) out = toppath, path, items, None