repo: music
action: commit
revision: 
path_from: 
revision_from: 49aeeb84eb9b68f62e2e109561438901b94b888e:
path_to: 
revision_to: 
git.thebackupbox.net
music
git clone git://git.thebackupbox.net/music
commit 49aeeb84eb9b68f62e2e109561438901b94b888e
Author: epoch 
Date:   Fri Nov 13 15:25:25 2020 -0600

    found another place where id3sort failed and fixed it

diff --git a/id3sort b/id3sort
index 08089fe93ebc094e53bcd9e716ea5e3a76e80828..
index ..339c9a0ece2cab3bdad0e4e214f1936e89b6521a 100755
--- a/id3sort
+++ b/id3sort
@@ -42,7 +42,7 @@ id3v2 -l "$@" \
   | egrep '^id3v[12] tag info for |^Comment:|^TRCK' \
   | sed 's/id3v[12] tag info for \(.*\):$/\1/g' \
   | sed 's/^.* Track: 0*\([0-9]*\)$/\1/g' \
-  | sed 's/^TRCK[^:]*: 0*\([0-9]*\)$/\1/g' \
+  | sed 's/^TRCK[^:]*: 0*\([0-9]*\)[^0-9]*$/\1/g' \
   | paste - - \
   | uniq \
   | sort -t$'\t' -n -k2 \

-----END OF PAGE-----