Open AlphaJack opened 4 years ago
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
@dhowden Due to the size I have uploaded a sample file here. It's an aiff file tagged in ID3v2.4 with Mp3Tag.
I also think that the implementation should be straightforward, since iTunes, Pioneer DJ devices and some car computers can read the tags without problem.
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: https://github.com/beetbox/beets/issues/250
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.