#tags #audio-metadata #vorbis #metadata #id3

moosicbox_lofty

Audio metadata library, modified for MoosicBox

1 unstable release

0.1.0 Oct 3, 2024

#124 in Audio

Download history 1188/week @ 2024-09-29 2576/week @ 2024-10-06 4468/week @ 2024-10-13 3913/week @ 2024-10-20 6710/week @ 2024-10-27 7244/week @ 2024-11-03 5423/week @ 2024-11-10

23,958 downloads per month
Used in 8 crates (via moosicbox_scan)

MIT/Apache

1MB
20K SLoC

Lofty

GitHub Workflow Status Downloads Version Documentation

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

⚠️ 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

Benchmarking

There are benchmarks available here.

These benchmarks make use of criterion, and due to its size it cannot be a normal dev-dependency. To run the benchmarks do:

RUSTFLAGS="--cfg bench" 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.

Dependencies

~0.6–1.3MB
~27K SLoC