Here's the script I use to set appropriate trackno tags. For a typical double album, I use it like

mp3-renumber 1 disc*/*.mp3

or you can change the number 1 to run it only on the second disc. I had to do this for some of my Harry Potter discs when I ran into command-line length limits. In fact, I reached the 127 limit on track number - someone obviously used a signed type when they shouldn't have!

Anyway here's the shell code:


#!/bin/bash

# Renumbers a sequence of MP3 files. Useful for multi-disc albums.

if test $# -eq 0; then echo "$0 startnum file ..."; fi

i=$1; shift

while test $# -gt 0
do
id3v2 -T $i "$1"
i=`expr $i + 1`
shift
done

_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)