ebassi / taglib-rust

TagLib bindings for Rust
MIT License
28 stars 11 forks source link

Add support for getting the length of a file #13

Closed robozman closed 4 years ago

robozman commented 4 years ago

Based on this example (https://github.com/taglib/taglib/blob/master/examples/tagreader_c.c), taglib_c supports getting the length of a track (and some other data) through the AudioProperties interface. Would it be possible to add support for that to taglib-rust?

Thanks!

robozman commented 4 years ago

This is already supported: https://docs.rs/taglib/1.0.0/taglib/struct.AudioProperties.html. Ignore this haha