Build Status

mp3-duration

This crate has only one purpose: determining the playback duration of mp3 files.

Example

```rust use std::path::Path; use std::fs::File; use mp3_duration;

let path = Path::new("music.mp3"); let file = File::open(path).unwrap(); let duration = mp3duration::fromfile(&file).unwrap(); println!("File duration: {:?}", duration); ```

Links