mirror of
https://github.com/beetbox/beets.git
synced 2026-02-08 16:34:12 +01:00
This patch prevents Item.write() from performing a mediafile.save() when no writable media tag fields have changed. Without this change, commands such as 'beet modify -a onplayer=true' trigger unnecessary file writes, updating mtimes and causing significant slowdowns. Fix verified with a tiny mp3 test case. Signed-off-by: Qianwei Wang <qweiw@umich.edu> Signed-off-by: weiqianwang123 <1416740298@qq.com> |
||
|---|---|---|
| .. | ||
| autotag | ||
| dbcore | ||
| importer | ||
| library | ||
| test | ||
| ui | ||
| util | ||
| __init__.py | ||
| __main__.py | ||
| config_default.yaml | ||
| logging.py | ||
| mediafile.py | ||
| metadata_plugins.py | ||
| plugins.py | ||
| py.typed | ||
| random.py | ||