Skip to content

Write back unrecognized user text tags in Vorbis comments - #24

Open
ElCruncharino wants to merge 1 commit into
enzo1982:masterfrom
ElCruncharino:fix-vorbis-usertext-roundtrip
Open

Write back unrecognized user text tags in Vorbis comments#24
ElCruncharino wants to merge 1 commit into
enzo1982:masterfrom
ElCruncharino:fix-vorbis-usertext-roundtrip

Conversation

@ElCruncharino

Copy link
Copy Markdown

Reading a Vorbis comment file already preserved any unrecognized field
as an INFO_USERTEXT entry, but writing had no matching case, so custom
tags (e.g. a URL field) were silently dropped whenever a file got
re-tagged or converted between Vorbis-comment-based formats. id3v2
already round-trips this correctly, this mirrors the same approach.

Closes #760

Reading a Vorbis comment file already preserved any unrecognized field
as an INFO_USERTEXT entry, but writing never had a matching branch, so
custom tags (anything not in the fixed field list, e.g. a URL field)
were silently dropped whenever a file got re-tagged or converted
between Vorbis-comment-based formats. id3v2 already round-trips this
correctly; mirror the same id/value split here.
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.

1 participant