This is a fork of Audiotags, adding support for more file types and (optionally) duration.
Parse, convert, and write metadata to audio files of different file types.
Lofty aims to provide a unified trait for parsers and writers of different audio file formats. Without this crate, you would otherwise need to learn the different APIs in id3, mp4ameta, etc. in order to parse metadata in different file formats.
| File Format | Extensions | Read | Write | Metadata Format(s) |
|-------------|-------------------------------------------|------|-------|----------------------|
| Ape | ape
|X |X | APEv2
|
| AIFF | aiff
, aif
|X |X | ID3v2
|
| FLAC | flac
|X |X | Vorbis Comments
|
| MP3 | mp3
|X |X | ID3v2
|
| MP4 | mp4
, m4a
, m4b
, m4p
, m4v
, isom
|X |X | Vorbis Comments
|
| Opus | opus
|X |X | Vorbis Comments
|
| Ogg | ogg
, oga
|X |X | Vorbis Comments
|
| WAV | wav
, wave
|X |X | RIFF INFO
, ID3v2
|
Available here
All these great projects helped make this crate possible. (Sorted alphabetically)
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.