OK, try this:
#!/bin/sh
for x in `ls iTunes\ Music/ | sed 's/ /_/g'`
do
for y in `ls $x | sed 's/ /_/g'`
do
echo "$x - $y"
done
done
if you save that to a file as before, and make it executable, i think it should work as before, except it will replace the spaces with...