Archive for the
Chuck Joiner invited me to join him on his MacVoices podcast. We talk about iTunes and AppleScript (of course) and obsessive-compulsive music organization, among other topics.
My Podcasts library is littered with episodes I started playing with good intentions but abandoned. For a while, I was just keeping the 3 most recent episodes and the older unfinished episodes could take a hike in a black hole. But that’s only satisfactory if the episodes happen to be time-sensitive. I’ve got a batch of evergreen episodes that I want to evaluate, but only if I haven’t finished listening to them.
Unfinished Podcast Episodes will scan the Podcasts library (media tracks in other libraries that may be podcasts will be ignored) for episodes that have not finished playing and copy them to a playlist named “[-Unfinished Podcast Episodes>”.
The script detects that an episode’s bookmark-time valuethe position at which it was paused or stoppedis less than its duration. The bookmark time will be set if an episode is set to “Remember playback position”, the default setting for downloaded podcast episodes. .
More information and download is here.
A while back, I retired my iPhone 3GS to the bedside table after buying an iPhone 4. I use the 3GS pretty much as a glorified clock radio-iPod Touch. I have a few radio apps on it and the Digital Clock app. I also have it set to sync and back up over Wi-Fi to my main iMac so I manually initiate a sync when I need to update Podcasts and apps and what have you.
This manual syncing has become tiresome. (I mean, if I used a traditional clock radio, I wouldn’t have to update its content manually, right?)
It’s simple enough to write an AppleScript to sync a connected iPhone but I want the script to run on a regular basis without me having to fire it. I like to listen to Podcasts in the evening so sometime during dinner would be a good time to update the 3GS with any Podcasts that have arrived during the day. For this, I can create a launchd agent to fire the AppleScript that syncs the 3GS in the background. Here’s how to get all that to swing: (more…)
iTunes will stop updating a Podcast subscription if you haven’t played at least one of its episodes in five days. Update Expired Podcasts v2.2 will go through every Podcast subscription and update it so you don’t have to manually update each one individually.
This latest version adds a routine that checks to see if iTunes is running before proceeding with updating the Podcasts. Now, you may be asking yourself: if I’m running the script from the iTunes Script menu then why would the script need to check if iTunes is already running? Because: I’m going to show you how to regularly launch the script automatically and invisibly in the background and you may not want iTunes to run when the script fires. If you’re not familiar with launchd then read on.
A Correspondent bemoaned the loss of the “Mark as…” contextual menu item when control-clicking a Podcast library subscription title while in List View. I wouldn’t have noticed that in a million years. Still, it’s an expulsion only slightly more arcane than doing away with my beloved Mute button, so I was sympathetic, and produced Mark All Episodes As Played. While the Podcast library is in List View, select any one (or more) episode(s) of a podcast or its subscription title and run this script to mark every episode of the podcast as Played (or Watched). Works great when assigned a shortcut.