musicfix

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

commit 311974660fc4ab20adeaeb9cf3e6c27097a99fda
parent 0592c7df25f6135dddadb2cb78b999369b5c0dbb
Author: lostd <lostd@2f30.org>
Date:   Mon, 24 Nov 2014 17:44:24 +0200

Prefer the first track to count pos string length

Diffstat:
Mbin/musicfix | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/musicfix b/bin/musicfix @@ -429,7 +429,7 @@ fl.each do |ofname| end # Also save the first image of the artwork -zz = '0' * (mkdiscnum tl.last['pos'].to_s).join.length +zz = '0' * (mkdiscnum tl.first['pos'].to_s).join.length imgname = eval cfg['image'] if rel['imgurl'] then STDERR.puts "Save image to #{imgname}"