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

Parsing local file tags will fail if ffprobe JSON keys are non-lowercase #17

Open
metaisfacil opened this issue Oct 21, 2024 · 0 comments

Comments

@metaisfacil
Copy link

metaisfacil commented Oct 21, 2024

Title says it all. If, for instance, a FLAC has the artist name stored in the "ARTIST" tag and not specifically "artist", ffprobe will report the tags with case intact - and the saveSong() routine will simply skip over the track as "no title found in metadata". The same applies to all other metadata fields.

A potential fix could be to force all the keys in the JSON returned by wav.GetMetadata() to be lowercase, although that could cause issues on its own of course.

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

1 participant