From: Scott Rubin Date: 2005-02-17T12:14:50+09:00 Subject: Re: Reading mp3 files Totally awesome, that's perfect. Thanks! Florian Groß wrote: > Scott Rubin wrote: > >> I've been writing some simple music collection management scripts in >> ruby lately, and it seems to be going well. I found ruby id3 with a >> google search, it while not perfect it seems to meet my needs. >> However, I can't seem to find any ruby library/class that will help me >> get information out of mp3/ogg/etc. files that is not ID3. For >> example I would like to examine any mp3 file and determine its bitrate >> and playtime. Is there a utility to give me this functionality or am I >> going to have to write a wrapper for a C library? > > > Here's a little bit of Ruby code a friend of me wrote -- it will not do > everything you want and might even fail at some times, but it should at > least get you started.