Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

000111one111000

macrumors regular
Original poster
Jul 23, 2001
217
2
DeKalb, IL
Hey, long time since posting....

I was wondering if anybody knew of any way to take a large batch of songs in iTunes (about 10,000) and set the stop times of every one to 3 minutes. Or, if the songs is shorter than 3 minutes, just leave it alone. I'm assuming that AppleScript might be able to do this, but looking through the dictionary doesn't really provide much info. Also, I know Doug's AppleScripts has a script that does KIND OF what I want to do, but it requires copying and re-encoding.

In case you're wondering, this is for a Mac running at a club where they have a 3 minutes or less limit to songs.

Thanks in advance for ANY help any of you can provide. :)

jason
 
000111one111000 said:
In case you're wondering, this is for a Mac running at a club where they have a 3 minutes or less limit to songs.
Truncating songs arbitrarily like that sounds really annoying. Is it common practice? Would you at least do crossfades?

Why don't you start with a smart playlist that picks out all songs under three minutes first?

B
 
Try this AppleScript. You'll need to put all the songs in a separate playlist called "3 Minute Songs" before you run it.

Code:
tell application "iTunes"
	set theTracks to every track of playlist "3 Minute Songs"
	repeat with nextTrack in theTracks
		set finish of nextTrack to 180
	end repeat
end tell
 
HexMonkey, I love you. :p

Thanks a lot, though, that does EXACTLY what I wanted it to do. You've just saved me several hours. :)

And Balamw, yeah, I have to do it all arbitrarily. And I do it with crossfades of about 5 seconds or so, so it's not as jarring when you hear it.

Again, HexMonkey, thanks. This will help me out immensely.

jason
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.