Finding duration of mp3 in Rails?

I’m working on a small app to manage some mp3 songs. Is there a way to
scan the mp3 file itself and return the duration in minutes? How would
I go about doing this?

Thanks,
Jeff C.man

Hey mate,

Have a look at rmovie. You can get info on mp3’s with that.

Cheers,
Carl.

On 1/20/07, Jeff C.man [email protected] wrote:

Posted via http://www.ruby-forum.com/.


Carl W.
0412218979
[email protected]

I was using http://rubyforge.org/projects/ruby-mp3info/ which worked
nice,
untill I discovered it crashes on certain mp3’s.

I will try rmovie now