mirror of
https://github.com/beetbox/beets.git
synced 2026-01-19 06:34:05 +01:00
log duplicate albums during import (#141)
This commit is contained in:
parent
096816cba7
commit
7baf41827d
2 changed files with 2 additions and 0 deletions
1
NEWS
1
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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue