iTunes Stop Times

Discussion in 'Mac Apps and Mac App Store' started by 000111one111000, Nov 5, 2005.

  1. 000111one111000 macrumors regular

    Joined:
    Jul 23, 2001
    Location:
    DeKalb, IL
    #1
    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
     
  2. balamw Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
    #2
    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
     
  3. HexMonkey Administrator

    HexMonkey

    Staff Member

    Joined:
    Feb 5, 2004
    Location:
    New Zealand
    #3
    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
     
  4. 000111one111000 thread starter macrumors regular

    Joined:
    Jul 23, 2001
    Location:
    DeKalb, IL
    #4
    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
     

Share This Page