No description
Find a file
Serial 8ff6bb52c8 Start work on duration
Added a duration field to each tag struct, and implemented duration reading for mp3. All other tags return None for now.
2021-04-20 15:15:05 -04:00
.github Create rust.yml 2020-10-30 00:09:00 +06:00
src Start work on duration 2021-04-20 15:15:05 -04:00
tests Managed to delete the test assets again 2021-04-20 12:08:44 -04:00
.gitignore Add test assets to gitignore 2021-04-15 13:33:50 -04:00
Cargo.toml Forgot to remove stuff from testing 2021-04-17 15:45:40 -04:00
LICENSE-APACHE Change license 2021-04-03 14:56:29 -04:00
LICENSE-MIT Change license 2021-04-03 14:56:29 -04:00
README.md Forgot some MP4 extensions 2021-04-18 00:24:32 -04:00
rustfmt.toml Initial work 2021-04-02 20:47:44 -04:00

Lofty

Crate Crate Crate Documentation

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.

Supported Formats

File Format Extensions Read Write Backend
Ape ape X X ape
FLAC flac X X metaflac
MP3 mp3 X X id3
MP4 mp4, m4a, m4b, m4p, m4v, isom X X mp4ameta
Opus opus X opus_headers
Ogg Vorbis ogg, oga X X lewton (decoding) ogg (encoding)
WAV(*) wav, wave X X riff
  • NOTE: Only RIFF LIST type INFO is supported for now. This means there's less data available, and it's less likely to be accurate due to the use of non-standard INFO IDs. ID3 support will come soon.

Documentation

Available here

License

Licensed under either of

at your option.

Contribution

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.