This script will set the bookmarked playback pointer of the selected tracks (established when a track is set to "Remember playback position") to 0 seconds, effectively clearing the bookmark.
- Accommodations for macOS 10.15 Catalina and the TV and Music apps
- Performance and security enhancements
As of this date, it'll likely be a couple of weeks before Apple releases macOS 10.15 and the new Music app. The Music app is, essentially, iTunes stripped down to just its "music" components. You shouldn't have any troubles with it. Unless you bring your troubles with you.
If your iTunes library is a mess now, then your Music library will be a mess later.
Why not begin your Music experience with a sweet and tidy music library. This would be a good time to do some of that iTunes house-keeping you've been putting off: cleaning up tags, fixing artwork, paring dead tracks and non-essential playlists, minding the duplicates, backing stuff up and so on.
I keep a list of scripts recommended by task for just such occasions. You've probably still got a couple of weeks.
If you're on the macOS 10.15 beta, be sure to try out some of the Music-and-TV-ready scripts I've already posted.
I was recently a guest on the MacVoices podcast, hosted by all around Good Dude, Chuck Joiner. Had a great time talking about our post-iTunes future.
In case it isn't crystal clear: scripts written for iTunes will not work on macOS 10.15 and later. Since the iTunes application isn't available on the new OS, scripts that target it will fail. So, almost every script on the site will need to be re-written to work with the macOS Music and/or Apple TV apps that replace iTunes in macOS 10.15.
Oh, I'm keeping busy, all right. I would like to be posting updates for use with the Catalina betas. But there are currently some issues in the betas that have precluded me posting any Catalina-compatible scripts yet. I have no doubt that Apple will fix these minor glitches well before Catalina's offical release; I just don't know how soon. And even then, there will be a gradual rolling-out of script updates through the summer and fall.
To help users keep track of what scripts for which operating system have been updated and when, I've posted Doug's Check For All Updates. It's an applet that will survey your computer for all the scripts you have installed from dougscripts.com and generate a report listing which have been updated. This is unlike the "Doug's Check For Update" script, which can only check one script at a time.
Doug's Check For All Updates will work right now on any version of macOS 10.10 and later, including the macOS 10.15 betas.
May I suggest that it may be helpful to get some work done on your iTunes library with the latest tools now, before you update to Catalina and the new media apps. Your favorite script(s) may not be Catalina-ready by then.
A security aside: This is the first download I am posting that has been notarized by Apple, a requirement for third-party software if it is to be distributed outside the Mac App Store. As such, it is also the first download to be packaged as a .dmg (disk image file) without the .zip wrapper. The code-signing and notarization process in my workflow make it easier to process a disk image without the additional ZIP compression. All future new and updated scripts will be likewise packaged as DMGs.
Apple has released iTunes 12.6.1 with "minor app and performance improvements". Updates for each operating system were also released today. More as it develops.
Happy birthday, iTunes!
iTunes v1.0 was announced and released on January 9, 2001. I don't think a day has gone by since that date that I haven't used iTunes. Seriously. It's probably the most regularly used app on any of my machines. Love it or hate it, for better or worse, you have to acknowledge that iTunes has had a huge impact on how music is consumed. Amazing. (Kirk McElhearn has written a fifteenth anniversary tribute that covers the milestones.)
And, lest they be forgot, here's a shout out to the developers of SoundJam MP, the jukebox app that Apple bought and re-christened as iTunes: Bill Kincaid, Jeff Robbin andmost especially as far as I'm concenedDave Heller, who incorporated AppleScript into SoundJam and then iTunes.
Apple has released iTunes 11.3 featuring the all-new iTunes Extras for HD movies, which will also be available for Apple TV.
I may have known this. But I guess I forgot about it. So I was pleasantly surprised when I found you can type the first few letters of a script you want to use (that is installed in ~/Library/iTunes/Scripts/ so that it appears in the iTunes Script menu) in the Search box in iTunes Help menu. These scripts are seen as menu items, so any script containing the entered text will show in the "Menu-Items" result. Then, if you hover the mouse over the script's name, the actual Script menu pops up with the script highlighted and that hovering blue arrow pointing at it:
AppleScripts need to be installed in your [username]/Library/iTunes/Scripts/ folder. But, in case you hadn't noticed, the [username]/Library/ folder is hidden in OS X Lion. The theory is that since the ~/Library folder contains a lot of important configuration files Apple doesn't want to give users the opportunity to inadvertently screw anything up. For the most part, I suppose this is a good idea. Whatever. However, AppleScripts for iTunes--among other sorts of plug-ins--have to be installed in the ~/Library folder by the user*.
To access the ~/Library folder, you can do a couple of things:
- The easiest method: Hold the Option key while clicking the Finder's "Go" menu and "Library" will appear in the drop down menu. Select it to bring the ~/Library/ folder frontmost. Then navigate to ~/Library/iTunes/Scripts/ and copy your iTunes scripts to this folder. (As usual: if no "Scripts" folder is there then create one.)
- Geekier: Type "chflags nohidden Library" in Terminal while the prompt is at your home directory. This will make the ~/Library/ folder visible at all times.
- *Alternative: Install scripts in the [startup disk]/Library/iTunes/Scripts/ folder (which will make scripts available to all users on your machine) rather than the user's [username]/Library/iTunes/Scripts/ folder. That Library folder is always visible and accessible in Lion.
If you need regular access, once the ~/Library/ folder is visible, drag it to the Finder sidebar or put an alias to it in the Finder's toolbar.
Update: You can download this AppleScript applet that will make your ~/Library visible, using the command mentioned above. It takes less than a second to run it.