musicfix

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

commit a303421a9e22ae90170c90231904aa0a9c5828e5
parent 28788a711d53fa631984b7ce11bcc921ed20dc67
Author: lostd <lostd@2f30.org>
Date:   Sun Jan 12 17:06:44 +0000

Comment on function

Diffstat:
bin/musicfix | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/bin/musicfix b/bin/musicfix @@ -145,6 +145,7 @@ def mkshort n n.gsub(ftre, ft) end +# Return single item if array is full of duplicates def flatten_if_one ary if ary.uniq.length == 1 then return ary.first