Skip to content
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

version 1.1 and 2.3.0 returned #2

Closed
tomrobin-teschner opened this issue Mar 14, 2019 · 2 comments
Closed

version 1.1 and 2.3.0 returned #2

tomrobin-teschner opened this issue Mar 14, 2019 · 2 comments

Comments

@tomrobin-teschner
Copy link

When I read the ID3 tags from a file I get two entries, one with v1.1 and one with v2.3.0 which is fine, I can filter them so I only get those with version v2.3.0 but I was just wondering if this is safe, or if there is a better way to do this. The tag processor doesn't seem to take a constructor argument so I wonder how this could be done in a clean way.

@NiKoTron
Copy link
Owner

Hello! You could pass the second argument to the method .getTagsFromByteArray()

for example:

.getTagsFromByteArray(%some_byte_array%, [TagType.id3v2])

@tomrobin-teschner
Copy link
Author

works like a charm, thanks!

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

No branches or pull requests

2 participants