Parse, convert, and write metadata to audio formats.
Supported Formats
File Format | Metadata Format(s) |
---|---|
Ape | APEv2 , APEv1 , ID3v2 *, ID3v1 |
AIFF | ID3v2 , Text Chunks |
FLAC | Vorbis Comments |
MP3 | ID3v2 , ID3v1 , APEv2 , APEv1 |
MP4 | iTunes-style ilst |
Opus | Vorbis Comments |
Ogg Vorbis | Vorbis Comments |
Speex | Vorbis Comments |
WAV | ID3v2 , RIFF INFO |
* APE does not officially support ID3v2, so the tag will be read only
Examples
Reading a generic file
It isn't always convenient to use concrete file types, which is where [TaggedFile
]
comes in.
Using a path
# use LoftyError;
#
Using an existing reader
# use LoftyError;
#
Accessing tags
# use LoftyError;
#
Using concrete file types
# use LoftyError;
#
Features
Individual metadata formats
These features are available if you have a specific use case, or just don't want certain formats.
aiff_text_chunks
ape
id3v1
id3v2
mp4_ilst
riff_info_list
vorbis_comments
Utilities
id3v2_restrictions
- Parses ID3v2 extended headers and exposes flags for fine grained control
Important format-specific notes
All formats have their own quirks that may produce unexpected results between conversions. Be sure to read the module documentation of each format to see important notes and warnings.