Skip to content

Instantly share code, notes, and snippets.

@ffaerber
Forked from kevinfoerster/gist:1181913
Created August 30, 2011 21:38
Show Gist options
  • Save ffaerber/1182140 to your computer and use it in GitHub Desktop.
Save ffaerber/1182140 to your computer and use it in GitHub Desktop.
require 'iconv'
require "mp3info"
filename = "Haendel--Messiah - Evry valley--.mp3"
artist = Mp3Info.open(filename, :encoding => 'utf-8').tag.artist
puts artist.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment