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

Use an AppleScript to remember iTunes play positions Apps
Does digital out-do analog every time? Does DVD always beat Video Tape? Do MP3s wipe out Audio Cassettes? Well, quality wise, yes. But the old techs were 'stateful;' they didn't forget! DVDs, MP3s, CDs don't keep where they got to when you last played them. Take a DVD out of your player and, unless you have an expensive deck, you've lost your position. Quit iTunes, and there's no way to save where you were at.

Here's a short script that uses the 'start' field in iTunes to record where you got to for any MP3. For a long audio book MP3, it's invaluable!

on idle
  try
    tell application "iTunes"
      copy the player position to current
      copy the start of the current track to startTime
      if current > startTime then
        set the start of current track to current
      end if
    end tell
  end try
  return 15
end idle
When saved as a stay open application, every 15 seconds the script polls iTunes for the current playing position and saves it with the track. Now quitting doesn't lose your place. Fiddle with the start setting for the MP3 (Command-I, Option tab) to reset the start time when needed.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[5,817 views]  

Use an AppleScript to remember iTunes play positions | 3 comments | Create New Account
Click here to return to the 'Use an AppleScript to remember iTunes play positions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use an AppleScript to remember iTunes play positions
Authored by: RickoKid on Dec 01, '03 06:24:39PM

"DVDs, MP3s, CDs don't keep where they got to when you last played them. Take a DVD out of your player and, unless you have an expensive deck, you've lost your position."

Or unless your watching it on your Mac - in which case Panther can keep your position!

---


RickoKid



[ Reply to This | # ]
Use an AppleScript to remember iTunes play positions
Authored by: wragrep on Dec 01, '03 09:38:07PM

Is there any way to make a script to do this on a iPod??
Thanks



[ Reply to This | # ]
Use an AppleScript to remember iTunes play positions
Authored by: mstahl302 on Mar 24, '04 11:16:23AM

iTunes automatically remebers the start position for audiobooks purchased through the music store. How does iTunes know it's a book? Is there anyway to toggle that flag for any arbitrary MP3 file?



[ Reply to This | # ]