Skip to content
A rust library for reading and writing ID3 metadata
Rust
Branch: master
Clone or download
polyfloyd Add support for synchronised lyrics (SYLT) frames
The spec is not super clear on some things, most notably how timestamps
are encoded (BE? LE?). The code is passing encoding/decoding tests, so
I'm shipping it with the hope to be able to resolve any issues with the
first person to start using it.
Latest commit 5b2149a Apr 13, 2019

README.md

rust-id3

Build Status Docs

A library for reading and writing ID3 metadata.

Usage

fn main() {
  let tag = id3::Tag::read_from_path("testdata/id3v24.id3").unwrap();

  // print the artist the hard way
  println!("{}", tag.get("TPE1").unwrap().content().text().unwrap());

  // or print it the easy way
  println!("{}", tag.artist().unwrap());
}

Supported ID3 Versions

  • ID3v1 reading
  • ID3v2.2 reading/writing
  • ID3v2.3 reading/writing
  • ID3v2.4 reading/writing

Unsupported Features

  • Grouping identity
  • Encryption

Contributors

You can’t perform that action at this time.