Auto batch-insert track numbers in iTunes?
Solution 1:
iTunes doesn't offer this functionality natively: Doug's AppleScripts for iTunes always comes in handy in these situations. In this case, however, there's no easy solution, because there is no script that does that. You would need a combination of three scripts, which should work and should be fairly easy as soon as you have installed all three of them:
- Get Number Song Names by Play Order and run it on the tracks you would like to number. This will add track numbers to the beginning of the track name.
- Run Put Track Prefix to Track Numbers on the tracks, which will set the track tags based on the number you've added in step 1.
- Use Remove n Characters From Front or Back to remove the track numbers added to the name.
As far as I can tell this is the easiest way to accomplish that. Of course you could also write your own AppleScript which does it in one step. And don't forget to create a backup, just in case.
Solution 2:
A script to increment the track numbers in the order in which they appear is now available at Doug's Apple Scripts. I have tried it and it works famously...
http://dougscripts.com/itunes/scripts/ss.php?sp=incrementnumbertags