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

Added workaround for APE v1 where binary tags are treated as string #303

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hopla
Copy link

@hopla hopla commented Jul 31, 2022

Some applications still use APE v1 tags (such as Station Playlist, which is used by a lot of radio stations).

APE v1 does not use flags. Because of this, Taglib treats binary tags which were written by an application that uses APE v1 as strings. Even if it is really binary data.

This change fills both the data and text fields of an APE item.
The "normal flow" reading the text-field, because Type is still set to ItemType.Text.
However if the application knows that the item is really binary, it will be able to read it by setting Type to ItemType.Binary.

@vrdriver
Copy link

Now all we need is to be able to read and write the tags SPL does to wave files properly.

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.

None yet

2 participants