moumar / ruby-audioinfo

ruby-audioinfo glues together various audio libraries and presents a simple & unified API to the developer. Currently, supported formats are: mp3, ogg, mpc, ape, wma, flac, aac, mp4, m4a.

Home Page:http://ruby-audioinfo.rubyforge.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect playing time using .length

zenmatt opened this issue · comments

Hi, I've noticed several files reporting an incorrect playing time when using the length method. Any idea on how this can be remedied or is it an issue with another lib?

Hi !
ruby-audioinfo doesn't do track length computation by itself so it must be a bug inside a dependent audio library. Which is the format of the impacted file(s) ?

The issue mainly appears on mp3 files. Any idea which library it might be?

you should try to update your version of ruby-mp3info (gem install ruby-mp3info). Latest version is 0.8.4. I'm the maintainer of this library too and i fixed a bug on length computation recently.

Will do, I'll let you know if that helps. Thank you.

This seemed to fix it. Thank you.

Unfortunately this appears to have popped again. Specifically episodes of Marc Maron's WTF podcast have problems.