mirror of
https://github.com/beetbox/beets.git
synced 2025-12-10 02:22:25 +01:00
Removed dont_write_if_unchanged config option: now files tags are never updated unless db tags are changed (with beet modify)
This commit is contained in:
parent
3a8250930f
commit
e7c8b16480
2 changed files with 2 additions and 6 deletions
|
|
@ -98,5 +98,3 @@ match:
|
|||
ignored: []
|
||||
track_length_grace: 10
|
||||
track_length_max: 30
|
||||
|
||||
dont_write_if_unchanged: no
|
||||
|
|
|
|||
|
|
@ -1180,16 +1180,14 @@ def modify_items(lib, mods, query, write, move, album, confirm):
|
|||
if write:
|
||||
if album:
|
||||
for a in albums:
|
||||
if config['dont_write_if_unchanged'].get(bool) and \
|
||||
a in unchanged:
|
||||
if a in unchanged:
|
||||
continue
|
||||
for item in a.items():
|
||||
item.write()
|
||||
|
||||
else:
|
||||
for item in items:
|
||||
if config['dont_write_if_unchanged'].get(bool) and \
|
||||
item in unchanged:
|
||||
if item in unchanged:
|
||||
continue
|
||||
item.write()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue