[ANN] ruby-mp3info 0.5

Discussion in 'Ruby' started by Guillaume Pierronnet, Dec 6, 2005.

  1. ruby-mp3info gives you access to low level informations on mp3 files
    (bitrate, length, samplerate, etc...). It can read, write, remove id3v1 and
    id3v2 tags. It is written in pure ruby.

    This new version add the ability to read, write and delete tag2. I
    would like to thanks Chris and all others contributors.

    Get tar, zip and gems at http://ruby-mp3info.rubyforge.org/

    example:

    Mp3Info.open("myfile.mp3") do |mp3|
    puts mp3.bitrate
    puts mp3.length #length in seconds
    #etc...

    puts mp3.tag.title
    puts mp3.tag.artist
    puts mp3.tag.album
    puts mp3.tag.tracknum

    puts mp3.tag2.TIT2
    mp3.tag2.TIT2 = "my title"
    end #tag is written at close()


    Changelog:

    [0.5 06/12/2005]

    * id3v2 writing and removing support added. tag2 attribute is r/w now
    * max guess size to find a valid frame set to 2Mb
    * implemented a new class ID3v2, ID2TAGS moved into it
    * Mp3Info.tag is r/w now and has priority over @tag1 and @tag2 when writing
    * added Mp3Info#rename() method to change the filename written at close
    * clean up: all overloaded standards classes replaced by including modules
    * FIXED bug in reading id3v2 tags tagged with olds versions of
    "mp3ext" ( http://www.mutschler.de/mp3ext/ )
    * FIXED bug on calculating id3v2 frame size
    * FIXED bug when multiple TLEN tags
    * FIXED bug when converting text tag from Unicode
    * FIXED bug: file was not closed, causing too many opened files and
    test failure on win32
    Guillaume Pierronnet, Dec 6, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    201
  2. moumar
    Replies:
    1
    Views:
    77
    Alan Davies
    Sep 11, 2003
  3. firejdl
    Replies:
    0
    Views:
    138
    firejdl
    Mar 22, 2006
  4. Sergio Ruiz

    ruby-mp3info

    Sergio Ruiz, Jul 26, 2006, in forum: Ruby
    Replies:
    2
    Views:
    87
    Sergio Ruiz
    Jul 26, 2006
  5. Masao Mutoh
    Replies:
    0
    Views:
    98
    Masao Mutoh
    Dec 4, 2008
Loading...

Share This Page