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

ID3v2: Disallow 4 character TXXX descriptions as ItemKey #394

Merged
merged 1 commit into from
May 3, 2024

Conversation

Serial-ATA
Copy link
Owner

As mentioned in the TODO, this is a temporary hack that doesn't allow any 4 character TXXX/WXXX descriptions. A better solution in the future would be to have the ItemKey map entries be prefixed.

So rather than:
"REPLAYGAIN_ALBUM_GAIN" => ReplayGainAlbumGain

It'd be:
"TXXX:REPLAYGAIN_ALBUM_GAIN" => ReplayGainAlbumGain,

closes #309

@Serial-ATA Serial-ATA merged commit 32fb134 into main May 3, 2024
4 checks passed
@Serial-ATA Serial-ATA deleted the id3v2-txxx-generic branch May 3, 2024 16:17
@Serial-ATA Serial-ATA added this to the 0.20.0 milestone May 3, 2024
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.

Writing metadata to specific mp3 causes error BadFrame("MODE", Text)
1 participant