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

An AppleScript to load random MP3 tunes on a volume Apps
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!
    •    
  • Currently 2.25 / 5
  You rated: 5 / 5 (4 votes cast)
 
[6,395 views]  

An AppleScript to load random MP3 tunes on a volume | 13 comments | Create New Account
Click here to return to the 'An AppleScript to load random MP3 tunes on a volume' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to load random MP3 tunes on a volume
Authored by: diroussel on Dec 10, '04 10:44:42AM

404



[ Reply to This | # ]
An AppleScript to load random MP3 tunes on a volume
Authored by: osxpounder on Dec 10, '04 01:44:06PM

Confirmed: the script is not there. Dead link.

---
--
osxpounder



[ Reply to This | # ]
An AppleScript to load random MP3 tunes on a volume
Authored by: robg on Jan 07, '05 07:42:35AM

I used the wrong filename in the original link; I've fixed it now. Sorry about that!

-rob.



[ Reply to This | # ]
An AppleScript to load random MP3 tunes on a volume
Authored by: allanmarcus on Dec 10, '04 01:55:18PM

You could try Squish. I don't think it does playlist yet, but it does albums. Hopefully, playlists are too far behind.

http://www.fondantfancies.com/squish/



[ Reply to This | # ]
An AppleScript to load random MP3 tunes on a volume
Authored by: t3hl33t on Dec 10, '04 10:11:30PM

Link to script is broken.



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: rotero on Dec 11, '04 12:27:35AM

Missing Sync can effectively turn the Palm into a memory card reader, but I'd rather not spend 40 bucks for only this one feature (and there's no downloadable demo). I've been copying .mp3s to my Palm's SD card through HotSync, but life would be a lot easier if I could just mount the card and use Squish. Are there any other apps that can mount a Palm's memory cards in OS X?



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: Anonymous on Dec 11, '04 08:11:21AM
Yes, Softick Card Export II. It's pretty good and quite fast. It's a Palm program, the latest version is... here

[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: rotero on Dec 11, '04 12:57:48PM

That's exactly what I need. Thanks a lot.



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: V-tach on Dec 12, '04 02:13:03PM

Duuuhhhh..

Isn't this Windows software? What about OSX?



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: jeremyrh on Dec 12, '04 03:22:29PM

No, it works on OS X, except that it requires you to soft reset your Palm after every use, which makes it a pain in the arse, and not worth bothering with IMO.

Another waste of time from the Softick stable is Blue Files, which does the same thing (very s.l.o.w.l.y) via BlueTooth - only it crashes my Palm *before* transferring, and not just *after*.

Much better to just use a USB SD card reader.



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: Anonymous on Dec 13, '04 02:43:26PM

There must be something wrong with your installation. You absolutely do NOT need to reset your palm after each use. Are you sure you're using Card Export II and not I?

You do have to go through and delete all of the annoying .DS_Store files though...



[ Reply to This | # ]
Mounting SD cards from the Palm
Authored by: jeremyrh on Dec 13, '04 03:11:29PM

I absolutely do, and when I mailed Softick about it they acknowledged it was a "known issue" - maybe it's a T3 specific thang?



[ Reply to This | # ]
An AppleScript to load random MP3 tunes on a volume
Authored by: gpooh3 on Feb 15, '05 01:06:29PM

Can someone tell me how to command applescript to delete the songs on the volume and then empty the trash?



[ Reply to This | # ]