From 3c7f1223f686d8dc8e749d9b14b4f19c2fbaf25f Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Fri, 14 Jul 2023 18:02:30 +0200 Subject: [PATCH] Fix failing test_a_album*_edit_apply tests by excluding 'id' fields when storing within the Album model. --- beets/library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/library.py b/beets/library.py index baf7a312d..3af15978a 100644 --- a/beets/library.py +++ b/beets/library.py @@ -1385,7 +1385,7 @@ class Album(LibModel): track_updates[key] = self[key] elif key not in self and inherit: track_deletes.add(key) - elif inherit: # Must be a flex attr + elif key != 'id' and inherit: # Could be a flex attr or id track_updates[key] = self[key] with self._db.transaction():