Home

Awesome

Crates.io Build Status

mp3-duration

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

Example

use std::path::Path;
use mp3_duration;

let path = Path::new("music.mp3");
let duration = mp3_duration::from_path(&path).unwrap();
println!("File duration: {:?}", duration);

Changelog

Version 0.1.10

Version 0.1.9

Version 0.1.8

Version 0.1.7

Links