ruby-vorbistagger

ruby-vorbistagger allows you to handle comments (aka tags) in Ogg Vorbis files.

Download

The latest release is: 0.0.1

There's online documentation of the API and here's a little snippet to get you going:

require "ogg/vorbis/tagger"

# open the file
Ogg::Vorbis::Tagger.open("some_file.ogg") do |t|
  # set a comment field
  t.comments["genre"] = "Death Metal"

  # write the comments back to the file
  t.write
end