Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Import Songs into iTunes Playlist in Correct Order' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Import Songs into iTunes Playlist in Correct Order
Authored by: Orj on Jul 29, '13 05:40:49AM

I have the same problem: I like to import the last tunes (of a cd, or series of tunes) first, so that it comes last when ordering the tunes in my library by last date added. But to this day, I found no way to get a predictable result, except opening the files one by one in the Finder; tedious! If I select 2 or more to open (or if I click too fast on different files), they seem to get opened by (reverse) alphabetical order of the tune's name, as defined by eg. the mp3 tag; NOT by anything related to file name, whatever the Finder viewing mode I select. Btw, this is also the default ordering of albums, when no track number is defined.

So the only failsafe method I've found is quite dirty, but works in a terminal window, assuming the filenames are correctly ordered:
$ cd folder_with_my_tunes/
$ perl -e 'while ($_=pop @ARGV) {print "$_\n"; system "open","-a","iTunes","$_"; sleep 1;}' *.mp3

Of course, "*.mp3" can be replaced by anything, eg "01*.m4a" for all mp4audio files starting by "01".
To open files in exactly the opposite order, replace "pop" by "shift".

---
In theory, theory and practice are the same. In practice, they're not.



[ Reply to This | # ]