dougscripts.com

macOS 26

December 11 2025 - 2:09 pm

UPDATED: Track CPR v5.0

Man, this thing really needed some work done. Seems it takes some disaster to befall on me to find out about a script's inadequacies. As it happens, I accidently lost a few audio files and there were these dead tracks cluttering up the place. I knew I had the files, it was just a matter of applying some Track CPR.

Unfortunately, Track CPR couldn't help me out right then because it was trying to reassociate files by comparing Title, Artist and Album. But my replacement files all had "Remastered" tacked on to the Album name, which the original tracks did not. Thus, no matches.

So I fixed that. And then I fixed that other thing. And why not put this over here...and so on. Work better now.

Track CPR will assist with re-associating replacement files with dead tracks. The Music app can perform this task, too, but only one. track. at. a. time.

The process takes 3 steps:

  • The script finds and lists the "dead" tracks in the Music library
  • User drag-and-drops potential replacement files to the window; a viable replacement file is one whose Title and Artist metadata matches a dead track's
  • Re-associate viable replacement files with their matched track entries

The Read Me contains additional important details and cautions.

Latest version:

  • Accommodations for macOS 26 Tahoe
  • Maintenance and performance fixes

More information for Track CPR v5.0 and download link is here.

December 9 2025 - 4:36 pm

UPDATED: No Lyrics to Playlist v3.2

This script will scan the Music library or a selected playlist for tracks whose "Custom Lyrics" tags are blank and copy them to a new discrete playlist. Can also toggle to search only for tracks with lyrics.

(Please Note: The script can only discover tracks with "Custom Lyrics" provided by the user. There is no accounting for lyrics made available via Apple Music or iCloud/Sync Library. That data is inaccessible.)

Latest version:

  • Accommodations for macOS 26 Tahoe

More information for No Lyrics to Playlist v3.2 and download link is here.

December 9 2025 - 12:44 pm

UPDATED: Playlist XML Viewer v1.2

Open (or drag-and-drop) and view the contents of a playlist XML file exported from the Music app in a conventional table layout. Includes options to send (import) the XML to the Music app, export a TXT, CSV or M3U version, copy info to clipboard and reveal existing files in the Finder. (Not for use with exported Library XML files.)

Also see Playlist XML Librarian which can manage a folder-full of exported Playist XML files.

Latest version:

  • Increased efficiency of XML parser
  • Adds "Send to Music and Play" option-alternate menu item
  • Adds "Float the window" to Settings
  • v1.1 (dec 1 2025):
  • A single XML file can be drag-and-dropped onto the window to open it
  • Adds XML size and total time of tracks to window display
  • Adds more versatility to columns

More information for Playlist XML Viewer v1.2 and download link is here.

December 8 2025 - 5:55 pm

UPDATED: Playlist XML Librarian v1.2

This applet will list the exported Playlist XML files collected in a specified folder with options to view, search and send (import) them to the Music app. Makes it easy to maintain an organized stockpile of exported Playlist XMLs to reduce the number of onboard Music playlists.

Also see Playlist XML Viewer which displays a single selected Playlist XML drag-and-dropped or chosen from any location.

This app is free to try in mostly full-featured Demo Mode. While in Demo Mode, only up to 3 playlists can be sent to Music per launch. If you like it you can purchase a code for $2.99 which will unlock the Demo Mode limitations. Launch the app and click "Register..." in its File menu to make an in-app purchase.

Latest version:

  • Increased efficiency of XML parser
  • Files in source list display appropriate playlist icon
  • Added command to export just the "Smart Criteria" of a Smart playlist to an XML file
  • v1.1 (dec 3 2025):
  • Adds "Delete" command
  • Added Expand/Collapse buttons for source list
  • Adds setting to expand all folders at launch
  • Better detection of loaded playlists
  • Fixed problem with progress bar traveling
  • Fixed issue with correct Total Time calculation
  • Fixed some autoresizing issues

More information for Playlist XML Librarian v1.2 and download link is here.

December 7 2025 - 8:09 pm

NEW: Albumizer v1.0

This script will renumber the track number tag of the selected tracks incrementally in their play order, as well as providing track count, disc number and disc count tags and, optionally, additional album-oriented tags.

Also see the simpler Albumize Selection or the more general Increment Number Tags.

Latest version:

  • Initial release

More information for Albumizer v1.0 and download link is here.

December 5 2025 - 11:13 pm

NEW: Tracks by Name Length to CSV v1.0

The award for longest track title in my library goes to Slim Gaillard for his 238-character "Opera in Vout (Groove Juice Symphony) (live): Part 1: Introduzione Pianissimo (Softly, Most Softly) / Part 2: Recitativo E Finale (Of Much Scat) / Part 3: Andante Cantabile In Modo De Blues / Part 4: Presto Con Stomp (With A Floy Floy)".

The reason I know that is because I ran in to a few other long-titled tracks and thought they really don't need all that crap in there. Some of them have entire Wikipedia entries for titles. Who needs 'em? I'll sort 'em up and chop 'em down. But then my brain sent a memo reminding me that you can't sort by title length.

Tracks by Name Length to CSV will make a CSV (comma-separated-values) text file listing tracks sorted by the length of their title (greater than 50 characters). The CSV will list the title, album and artist of the tracks as well as the title length.

Of course, a lot of Classical albums are up there length-wise. I won't edit those. It's the weird Zappa and Slim Gaillard stuff that better beware.

More information for Tracks by Name Length to CSV v1.0 and download link is here.

December 5 2025 - 2:35 pm

UPDATED: Albums Amiss v1.4

This script uses track information to calculate whether a particular batch of tracks with the same Album title represent an incomplete or over-complete album, with either too few or too many requisite album tracks. Also, albums with missing Track and Disc information will be considered "amiss". Such batches will be copied to a discrete results playlist where they can be examined. The entire Music library or a selected Smart playlist can be scanned. (To be clear: the script does not check some kind of online database; it uses the extant local track entry information. Thus, tag accuracy is essential.)

Latest version:

  • Fixed an issue displaying 0 results
  • Accommodation for macOS 26/Tahoe

More information for Albums Amiss v1.4 and download link is here.

December 3 2025 - 3:04 pm

UPDATED: Playlist XML Librarian v1.1

Playlist XML Librarian will list exported Playlist XML files collected in a specified folder with options to view, search and send (import) them to the Music app. Makes it easy to maintain an organized stockpile of exported Playlist XMLs to reduce the number of onboard Music playlists.

I use this thing regularly myself. So, you can imagine.

Also see Playlist XML Viewer which displays a single selected Playlist XML drag-and-dropped or chosen from any location.

Latest version:

  • Adds "Delete" command
  • Added Expand/Collapse buttons for source list
  • Adds setting to expand all folders at launch
  • Better detection of loaded playlists
  • Fixed problem with progress bar traveling
  • Fixed issue with correct Total Time calculation
  • Fixed some autoresizing issues

More information for Playlist XML Librarian v1.1 and download link is here.

December 1 2025 - 3:24 pm

UPDATED: Playlist XML Viewer v1.1

It occurred to me I ought to add drag-and-drop to Playlist XML Viewer.

Open (or drag-and-drop) and view the contents of a playlist XML file exported from the Music app in a conventional table layout. Includes options to send (import) the XML in the Music app, export a TXT, CSV or M3U version, copy info to clipboard and reveal existing files in the Finder. (Not for use with exported Library XML files.)

Also see Playlist XML Librarian which can manage a folder-full of exported Playist XML files.

Latest version:

  • A single XML file can be drag-and-dropped onto the window to open it
  • Adds XML size and total time of tracks to window display
  • Adds more versatility to columns

More information for Playlist XML Viewer v1.1 and download link is here.

November 24 2025 - 11:15 pm

NEW: Export Playlist as CSV v1.0

I like the look of QuickLook'd CSV files so much, I made a thing.

Export Playlist as CSV will export abridged info from each track in the selected playlist to a CSV (comma-separated values) formatted text file, which can be viewed in a spreadsheet app, like "Numbers". Or QuickLook 'em like yer Mama do.

Latest version:

  • Initial release

More information for Export Playlist as CSV v1.0 and download link is here.

Site contents © 2001 - 2025 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.