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
www.progressions.org/blog

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs