Skip to content

fix: ID3 TOWN parsing and add regression test#103

Closed
ClementBeal wants to merge 1 commit into
mainfrom
fix_town_frame_assignment_test
Closed

fix: ID3 TOWN parsing and add regression test#103
ClementBeal wants to merge 1 commit into
mainfrom
fix_town_frame_assignment_test

Conversation

@ClementBeal
Copy link
Copy Markdown
Owner

This change fixes a small typo with a big impact: when reading the TOWN field (file owner) from MP3 metadata, the code was accidentally comparing values instead of saving the value. So even if the file owner existed in the tag, it was silently ignored.

I also added a test to prevent this from happening again. The test writes a file owner value into an MP3 tag, reads the file back, and checks that the same value is still there. This makes sure the field is now properly handled end to end.

@Feichtmeier
Copy link
Copy Markdown
Contributor

@ClementBeal you forgot to run dart format .

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