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

Copy partially played Audiobooks to a playlist Apps
iTunes Smart Playlists don't offer a criteria to find tracks which have been partially played. While "Last Skipped" is an option, this track property may not be set if the track wasn't actually skipped and was merely stopped.

However, if a track's "Remember playback position" option is set (and most audiobooks have this set by default) the track's AppleScript bookmark property will contain the number of seconds that a track has advanced before being stopped. Thus, any track with a bookmark value greater than zero would have been partially played.

Here is an AppleScript that will copy all the tracks in the "Books" library to a new playlist named "Partially Played". Each time it is run it will update the "Partially Played" playlist.

property nameOfPlaylist : "Partially Played"

tell application "iTunes"
		set thePlaylist to some playlist whose name is nameOfPlaylist
	on error
		set thePlaylist to (make playlist with properties {name:nameOfPlaylist})
	end try
		delete every track of thePlaylist
	end try
	duplicate (every track of (some playlist whose special kind is Books) whose bookmark > 0) to thePlaylist
	reveal thePlaylist
end tell
[kirkmc adds: Doug Adams originally posted the script here. You can read his post for a bit more info about how the script runs.]
  • Currently 2.50 / 5
  You rated: 4 / 5 (4 votes cast)

Copy partially played Audiobooks to a playlist | 0 comments | Create New Account
Click here to return to the 'Copy partially played Audiobooks to a playlist' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.