Skip to content

id3: fix reading/writing v1.0 and v1.1#686

Open
corubba wants to merge 1 commit intoquodlibet:mainfrom
corubba:bugfix/id3-v1
Open

id3: fix reading/writing v1.0 and v1.1#686
corubba wants to merge 1 commit intoquodlibet:mainfrom
corubba:bugfix/id3-v1

Conversation

@corubba
Copy link
Copy Markdown

@corubba corubba commented Sep 12, 2025

Properly read and write ID3 v1.0 and v1.1 tags according to the spec. ID3 v1.0 tags are no longer always read as v1.1, which previously resulted in wrong track numbers. Writing will use v1.0 by default, automatically upgrading to v1.1 if needed.

I am not entirely sure what the WinAmp special-case was for, but the (also fixed) testcase still passes so ... probably still covered.

Fixes #668

Properly read and write ID3 v1.0 and v1.1 tags according to the spec
[0]. ID3v1.0 tags are no longer always read as v1.1, which previously
resulted in wrong track numbers. Writing will use v1.0 by default,
automatically upgrading to v1.1 if needed.

I am not entirely sure what the WinAmp special-case was for, but the
(also fixed) testcase still passes so ... probably still covered.

[0] https://id3.org/ID3v1
@corubba corubba changed the title id3: fix reading/writing v1 and v1.1 id3: fix reading/writing v1.0 and v1.1 Sep 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug handling ID3 v1.0 vs v1.1 comment field causing overflow into track field

1 participant