Skip to content

Conversation

@maneac
Copy link
Contributor

@maneac maneac commented Aug 20, 2022

Use the rating field as the value of the Popularimeter tags when handling ID3v2 tags.

closes #63

@Serial-ATA
Copy link
Owner

Thanks! It might be better to use Popularimeter::as_bytes and store it as ItemValue::Binary to preserve the other fields, just in case they're written.

Could you also document the behavior here? 🙂

@maneac
Copy link
Contributor Author

maneac commented Aug 21, 2022

Hey, I've updated the PR to now use the binary encoding to preserve all fields of the tag.
This highlighted further issues when converting between the formats, which should now also be resolved.

Documentation has been updated as suggested. I believe the existing documentation elsewhere already covers the expected behaviour, but I'm happy to update further if needed 🙂

@Serial-ATA
Copy link
Owner

Hey @maneac, I just went ahead and made the changes to make sure this gets in 0.9.0. Thanks for your work on this! :)

@Serial-ATA Serial-ATA changed the title ID3v2: populate popularimeter tag from frame value (#63) ID3v2: populate popularimeter tag from frame value Oct 14, 2022
@Serial-ATA Serial-ATA merged commit 49623cb into Serial-ATA:main Oct 14, 2022
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.

ID3v2 popularimeter is not populated

2 participants