Provide AIFF metadata detection
AlphaJack opened this issue · comments
I was wondering if you could support reading standard ID3 tags from .aiff and .aif files, as unlike .wav they don't use RIFF/ID3 tags.
This hasn't been implemented because I don't have any AIFF files in my music library, and so have never needed it :-).
If you can point to the metadata spec and provide a few sample files then it would be a great start. From my brief search just now I couldn't put my finger on a spec, though it seems [1] that some files have a "chunk" containing ID3 data (which we already parse, so could be straightforward to implement).
[1] https://en.wikipedia.org/wiki/Audio_Interchange_File_Format#Metadata
Thanks @deluan @AlphaJack. Any luck finding a spec?
Maybe this could help? https://exiftool.org/TagNames/AIFF.html
Sorry, but I haven't spent time digging into low level tag formats, just high level using your library and ffmpeg
EDIT: Just downloaded this exiftool
and it properly extract all info from the AIFF I linked before, so I assume their documentation is correct :)
I found the same information as you about AIFF containing a ID3 'chunk' from a different source: http://fileformats.archiveteam.org/wiki/AIFF
Maybe this can help: beetbox/beets#250