lofty-rs/README.md
2022-02-13 20:14:24 -05:00

2.2 KiB

Lofty

GitHub Workflow Status Downloads Version Documentation

Parse, convert, and write metadata to various 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

To try them out, run:

cargo run --example tag_reader /path/to/file
cargo run --example tag_stripper /path/to/file
cargo run --example tag_writer <options> --path /path/to/file

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.