Skip to content

ASF: Return excess values from setProperties - #1464

Merged
ufleisch merged 1 commit into
taglib:masterfrom
vera-rubin:fix/asf-rejected-values
Oct 17, 2026
Merged

ufleisch merged 1 commit into
taglib:masterfrom
vera-rubin:fix/asf-rejected-values

Conversation

@vera-rubin

Copy link
Copy Markdown
Contributor

On ASF/WMA files, calling FileRef::setProperties() with ARTIST = ["Alice", "Bob"] saves "Alice Bob" and returns an empty map. The API promises to return values that couldn't be written, so callers can't detect that the artist list wasn't preserved. TITLE, COMMENT and COPYRIGHT use the same joining path.

We now store the first value in these fields and return the remaining values, matching TagLib's generic setter. We added a regression covering rejected values, save/reopen, single values and clearing, and ran the ASF tests and full test suite.

— ChipLab

@ufleisch
ufleisch merged commit 55ceae4 into taglib:master Oct 17, 2026
5 checks passed
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.

2 participants