-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto writing to media files upon exit #12587
Comments
My guess is that the analyzer has updated theetadate. Do you have a backup of the old file to confirm? |
Support for multi-valued tags is limited: #9087 If the current mapping doesn't work for you then you should disable this opt-in option. Why did you enable it if you expect that your files remain untouched? |
This is not a bug. It works as designed with the known limitations that might not be suitable for everyone. |
My understanding of the option was that the metadata is written to the file when I manually modify it via "Properties" menu. I did not expect it to write metadata to a file automatically. Are you sure it has been like this in "Git Version: 2.4-beta-314-g71dceb27ba" as well? Even if I disable the option, can I control which fields go to the file when I enable it to do a timely sync? |
The behavior has not changed recently. It's either all or nothing. Always was. |
Read with TagLib::Tag::genre(), written by TagLib::Tag::setGenre(), and not touched by Mixxx. |
It IS touched by Mixxx, that is the issue. The lossy roundtrip happens here:
It can be solved by reading the tag before and skip the call in case the genre has not changed. |
Incorrect. TagLib internally joins multi-valued fields which causes these issues: The behavior is not documented and also affects other fields. |
I spotted taglib/taglib#988 |
It does not matter at which point the merging happens. Mixxx does the calls leading to the loss of user data and the proposed solution will fix the issue. |
Interesting: Taglib v2.0beta includes a separator " / ": |
Sure. Adding a workaround in Mixxx would be a pragmatic solution. I didn't question that. But the non-bidirectional mapping that causes these issues is still on TagLib's side. |
Bug Description
Mixxx 2.4.0-beta
Git Version: 2.4-beta-347-gc323d0cd54
Platform: Linux x86_64
OS: Debian 11
Preferences -> Library -> "Synchronize library track metadata from/to file tags" is checked (enabled).
I keep my music files checksum-ed for validity of integrity.
Play a media file and then close the application.
The checksum of the file is different.
Some sort of write to the file occurred.
The application should not write to a file if the user has not explicitly updated the metadata.
I do not think, this issue exists on "Git Version: 2.4-beta-314-g71dceb27ba" as I would have got a lot of failing checksums.
I tried "Git Version: 2.4-beta-347-gc323d0cd54" today.
Version
2.4
OS
Debian 11
The text was updated successfully, but these errors were encountered: