musicfix

music file renamer and tagger
git clone git://git.2f30.org/musicfix.git
Log | Files | Refs | README | LICENSE

commit eebbcec942b910098d4f1a68ca15f0a7228a3f4c
parent 56e1e7d653d3cf0a486124c65b4058791e00b99f
Author: lostd <lostd@2f30.org>
Date:   Thu Aug 30 08:48:42 +0000

Map symbols to words

Diffstat:
bin/musicfix | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/bin/musicfix b/bin/musicfix @@ -1,4 +1,5 @@ #!/usr/bin/env ruby +# encoding: utf-8 # Musicfix is a music file renamer and tagger with consistency concerns. # It has a release-centered logic and gets data from www.discogs.com. @@ -77,6 +78,9 @@ def mkdiscnum pos return d, n end +# Add wordings for symbols +Stringex.localize_from :en => {"≠" => "not equals"} + # Convert to lowercase ASCII without punctuation def mkname n n = n.gsub '12"', '12 inch'