From: Michael Campbell Date: 2003-04-04T04:00:54+09:00 Subject: Can't get MP3Tag to work... I hate coming to the list for silly stuff such as this, but has anyone been able to get MP3Tag.rb to work on Windows? Reading tags works fine. I have the following code: ==== #!c:/ruby/bin/ruby.exe require 'mp3tag.rb' print "before commit: " tag = Mp3Tag.new("tmp.mp3") puts tag.comment tag.comment = "XXX" print "set: " puts tag.comment tag.commit print "after commit: " tag = Mp3Tag.new("tmp.mp3") puts tag.comment === When run on a file containing a tag with a comment of "Existing comment" yields: before commit: Existing comment set: XXX after commit: Existing comment Ruby -v says: ruby 1.7.3 (2002-11-17) [i386-mswin32] The file is not changed (according to its timestamp), and several mp3 utilities do show that the tag isn't changed. Mp3Tag.rb is v 1.0. Anything I can do to check this? The f.write() code in there IS getting executed, and the packed string it's trying to write looks correct to me; it has the right value. It just seems the write isn't ... actually writing. Thoughts? __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com