Closed 11xx closed 3 years ago
As you see in the errro message, MPD 0.23 added new tag types. Since the set of enabled tags has changed (no matter which version), MPD needs to rescan all files, because the files in the database may have the tags that have been added, but are missing in the old database file.
This is expected behavior, and can be mitigated by enabling exactly the tags that are in your database file. Configure metadata_to_use
: https://mpd.readthedocs.io/en/stable/user.html#metadata-to-use
Thanks, It would not occur to me that Tag list mismatch
meant that new tags were added and that it needs to re-scan everything.
Using metadata_to_use
helped a lot :+1:
Bug report
Describe the bug
MPD wipes the database after upgrading from
0.22.11
to0.23
Expected Behavior
MPD should be able to read the database file after the update.
Actual Behavior
MPD can't read the database and without warning or backup deletes the old file and creates a new empty one. It throws the error
exception: Tag list mismatch, discarding database file
on the--verbose
logVersion
Log
Luckily I had a backup. Restoring it don't work in
0.23
or0.23.1
. But downgrading to 0.22.11 fixed it. This is important for my use case because I point MPD to a streamablerclone
mount. It takes about two days to fully scan the entire directory for the first time. I also tried waiting a full fresh database scan but it got wiped out again after the next boot.I'm on arch, kernel
5.14.12-zen1-1-zen
Also my config: