Skip to content

agersant/mp3-duration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Replaced usage of failure with thiserror for error management (thanks @amesgen for the contribution)

Version 0.1.9

  • Fixed a bug where the MP3Duration error type was no longer public since version 0.1.8 (thanks @compenguy for the contribution)

Version 0.1.8

  • Minor performance improvements

Version 0.1.7

  • Fixed a crash when reading corrupted files with impossibly short MPEG frames

Links

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages