Skip to content

Fix invalid metadata #4422

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

Merged

Conversation

aleksandar9999a
Copy link
Contributor

Summary

  • When the metadata has the tag "iTunSMPB" or "iTunNORM" then the metadata is not converted correctly and comes [nil, nil, ...] which leads to crash.

Motivation

  • Our team use this library for our app and it is important to prevent crash.

Changes

  • I changed the code so that when merging the metadata, it handles nil or duplicate values. This doesn't add support for the tags in question, but at least it doesn't crash.

Test plan

  • Play link which has tags Itunsmpb и Itunnorm. Sorry, but I can't give you a sample link because ours are private.

- When the metadata has the tag "iTunSMPB" or "iTunNORM" then the metadata is not converted correctly and comes [nil, nil, ...] which leads to crash
@freeboub freeboub merged commit bc533e5 into TheWidlarzGroup:master Mar 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants