Serial-ATA / lofty-rs

Audio metadata library
Apache License 2.0
193 stars 36 forks source link
aac adts aiff apev2 audio flac hacktoberfest id3v1 id3v2 mp3 mp4 ogg opus riff rust speex tagging vorbis wav wavpack
Lofty logo

Lofty

Parse, convert, and write metadata to various audio formats.

GitHub Workflow Status Downloads Version Documentation GitHub Sponsors

⚠️ LOOKING FOR HELP WITH DOCUMENTATION ⚠️

I'm looking for help with the refinement of the docs. Any contribution, whether it be typos, grammar, punctuation, or missing examples is highly appreciated!

Supported Formats

See here

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/to/file
cargo run --example custom_resolver

Documentation

Available here

Testing

As some formats are complex, Lofty makes use of test-log to get the detailed debug/trace logging for failures. To run the tests, do:

RUST_LOG=trace cargo test

Benchmarking

There are benchmarks available here. To run them, do:

cargo bench

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.