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

Unable to read APEv2 tags from .wav files. #256

Closed
lazka opened this issue Feb 22, 2016 · 3 comments
Closed

Unable to read APEv2 tags from .wav files. #256

lazka opened this issue Feb 22, 2016 · 3 comments
Labels

Comments

@lazka
Copy link
Member

lazka commented Feb 22, 2016

Originally reported by: Abhimanyu Pathania (Bitbucket: abhimanyuPathania, GitHub: abhimanyuPathania)


According to mutagen documentation, the WavePack(.wav,.wv) files use APEv2 tags. But on trying to read the tag:

#!python

from mutagen.apev2 import APEv2
from mutagen.wavpack import WavPack

# file_path is absolute path to the wave file

print(APEv2(file_path))
# print(WavPack(file_path))

This gives the error:

#!python

mutagen.apev2.APENoHeaderError: No APE tag found

I get similar error with the WavPack class.

The code works for .wv extensions. I tried reading with every other tag class but it gave errors. Looking at audio files in VLC and foobar2000, they do have the metadata.

I have attached the .wav file which I used. There are some more sample files here. For few samples I had to tag them with foobar2000 myself but results remain same.

I am using mutagen 1.31


@lazka
Copy link
Member Author

lazka commented Feb 22, 2016

Original comment by Christoph Reiter (Bitbucket: lazka, GitHub: lazka):


.wav != WavPack

https://en.wikipedia.org/wiki/WAV

.wav support is currently missing from mutagen, see #207

@lazka
Copy link
Member Author

lazka commented Feb 22, 2016

Original comment by Abhimanyu Pathania (Bitbucket: abhimanyuPathania, GitHub: abhimanyuPathania):


well that was embarrassing...

PS - I was able to read the sample file using AAC class but it returned empty {}.

@lazka
Copy link
Member Author

lazka commented Feb 22, 2016

Original comment by Abhimanyu Pathania (Bitbucket: abhimanyuPathania, GitHub: abhimanyuPathania):


.wav != WavPack

https://en.wikipedia.org/wiki/WAV

.wav support is currently missing from mutagen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant