An AppleScript to load random MP3 tunes on a volume
Dec 10, '04 09:49:00AM
Contributed by: Anonymous
I use my PDA as an MP3 player and it has a 1GB SD card. I store under iTunes a large collection of files taken from my CD library, and would like to load the card with a randomly chosen subset of them. Since I found no solutions on this excellent site, I ended up writting this AppleScript, which does exactly that.
Note that you will certainly have to change a couple of variables at the beginning of the script. Some improvements that can be made include:
- emptying the card trash before loading new tunes
- emptying the card folder before loading new tunes
- using this script as an iTunes script (this should work as it is)
- taking the files at random among a selection
- taking the files at random among the current playlist
- extending it to other file types
- avoiding name collision (same tune by different artists) by renaming files
- removing resource fork files (._*)
- finding the tweak for avoiding language dependent variables
Do not hesitate to comment!
Comments (13)
Mac OS X Hints
http://hints.macworld.com/article.php?story=20041209080451653