Skip to content

Instantly share code, notes, and snippets.

@ffaerber
Created August 30, 2011 20:06
Show Gist options
  • Save ffaerber/1181878 to your computer and use it in GitHub Desktop.
Save ffaerber/1181878 to your computer and use it in GitHub Desktop.
require "mp3info"
class GetId3 < Nanoc3::Filter
 identifier :get_id3
 type :binary => :text
 def run(filename, params={})
   content = Mp3Info.open(filename).tag  
 end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment