Skip to content
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

lp1865957 TagLib: Fix detection of empty or missing file tags #2535

Merged
merged 2 commits into from
Mar 10, 2020
Merged

lp1865957 TagLib: Fix detection of empty or missing file tags #2535

merged 2 commits into from
Mar 10, 2020

Conversation

uklotzde
Copy link
Contributor

@uklotzde uklotzde commented Mar 7, 2020

https://bugs.launchpad.net/mixxx/+bug/1865957

I didn't test if 2.2 is affected. But even if it is, no backport to 2.2!! I'm unable to take care of all this work, time and resources are limited.

@uklotzde uklotzde added this to the 2.3.0 milestone Mar 7, 2020
@uklotzde uklotzde changed the title lp1865957 TagLib: Fix detection of empty or missing file tags [WiP] lp1865957 TagLib: Fix detection of empty or missing file tags Mar 7, 2020
@uklotzde uklotzde changed the title [WiP] lp1865957 TagLib: Fix detection of empty or missing file tags lp1865957 TagLib: Fix detection of empty or missing file tags Mar 7, 2020
@uklotzde
Copy link
Contributor Author

uklotzde commented Mar 7, 2020

Ready. Backward compatibility issues with older TagLib versions are fixed. But I'm not able to test or guarantee that the bug is fixed for TagLib versions other than 1.11.1. Out of scope.

@Holzhaus
Copy link
Member

Holzhaus commented Mar 7, 2020

I can't really comment on the code because I don't know the reason for many of these changes. How can I test this?

@uklotzde
Copy link
Contributor Author

uklotzde commented Mar 7, 2020

I have tested MP3, MP4, FLAC. Removed all tags with a tag editor and imported into a new library -> "artist - title" should be parsed from file name.

The FLAC file then contained no tags, but a cover image directly in the container. This revealed the repeated reimport bug.

TagLib is a tricky beast with an inconsistent API. Unfortunately we still "support" various old versions which make matters worse. I'm refusing to test all those variants manually.

@daschuer
Copy link
Member

Tested with Taglib 1.9.1 without any issues.

@daschuer
Copy link
Member

LGTM, Thank you.

@daschuer daschuer merged commit 51a3e78 into mixxxdj:master Mar 10, 2020
@uklotzde uklotzde deleted the 1865957_taglib_empty_file_tags branch March 11, 2020 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants