From 1c61bd006f30bc4003fa026b27884e6cad97428b Mon Sep 17 00:00:00 2001 From: Peter van Liesdonk Date: Mon, 6 Jan 2025 13:17:01 +0100 Subject: [PATCH] Incorrect assumption that all media_fields are fixed fields --- beets/ui/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index 99aa04f0ac..85fe4e717e 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -1631,8 +1631,8 @@ def update_items(lib, query, album, move, pretend, fields, exclude_fields=None): # database. fields.append("path") if fields is None: - # no fields were provided, update all media fields - item_fields = fields or library.Item._media_fields + # no fields were provided, update all fields + item_fields = fields or library.Item._fields.keys() if move and "path" not in item_fields: # move is enabled, add 'path' to the list of fields to update item_fields.add("path")