musicfix

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

commit 97174e9db89df5fc5a1bac8edc86a306d7617df5
parent 008a0f259de7bd3118030d73e491aab9a1b1b355
Author: lostd <lostd@2f30.org>
Date:   Wed, 28 Aug 2013 12:45:18 +0000

It is a track and it is the first one

Diffstat:
Mbin/musicfix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/musicfix b/bin/musicfix @@ -21,7 +21,7 @@ def mkartist al end # Convert "3" to (nil, "03") -# Convert "A" to (nil, "A0") +# Convert "A" to (nil, "A1") # Convert "A3" to (nil, "A3") # Convert "2.3" to ("2", "03") # Convert "2.03" to ("2", "03") @@ -36,7 +36,7 @@ def mkdiscnum pos d = d.gsub /\D/, '' end if n.match /[A-Z]/ - n = n.ljust(2, '0') + n = n.ljust(2, '1') else n = n.rjust(2, '0') end