mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Only delete album item mtimes that are in the dictionary.
This commit is contained in:
parent
94aad7e309
commit
f8abd50090
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ def update_album_times(lib, album):
|
||||||
if config['importmtimes']['preserve_mtimes'].get(bool):
|
if config['importmtimes']['preserve_mtimes'].get(bool):
|
||||||
write_item_mtime(item, mtime)
|
write_item_mtime(item, mtime)
|
||||||
item.store()
|
item.store()
|
||||||
del item_mtime[item.path]
|
del item_mtime[item.path]
|
||||||
|
|
||||||
album.added = min(album_mtimes)
|
album.added = min(album_mtimes)
|
||||||
album.store()
|
album.store()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue