Currently I\'m working on a music project, dealing with user mp3 uploads. The problem is that I can\'t find an id3 library that will work correctly for all files. I have tried
id3tag is another option. Example:
require "id3tag" mp3_file = File.open('/path/to/your/favorite_song.mp3', "rb") tag = ID3Tag.read(mp3_file) puts "#{tag.artist} - #{tag.title}"