dougscripts.com

Big Sur

August 3 2021 - 5:21 pm

UPDATED: Show Me The Metadata v3.0

For macOS 11 and later only. This script will display the audio metadata and the Spotlight metadata for the file of a selected track in the Music app or user-selected audio file, or a drag-and-dropped Music track or audio file. Includes additional features to display embedded artwork and activate the Finder's Information Window for the file.

Latest version:

  • Initial accommodations for macOS 12 Monterey
  • Adds Toolbar
  • Improves drag-and-drop options; tracks and files can be dragged to the main window
  • Remembers Split View position at next launch
  • Adds option to update selected Music track's tag information with the current metadata from its file

More information for Show Me The Metadata v3.0 and download link is here.

July 24 2021 - 8:27 am

UPDATED: Drop A Few My Way v5.4

For macOS 10.15 and later only. Drag and drop audio files to this droplet to have the Music app convert them with an encoder selected on the fly, restoring the Preferences-set encoder afterwards, and save them to a user-selected location. The converted files/tracks are removed from the Music app, as though it "never saw them". Includes option to delete the source audio files.

Latest version:

  • Fixes regression that prevented launch on pre-Big Sur systems

More information for Drop A Few My Way v5.4 and download link is here.

July 23 2021 - 2:28 pm

NEW: Sort on First Article v1.0

An Inquisitive Correspondent emailed to, uhm, inquire about sorting by Title. It would be beneficial, he declared, if some Titles that begin with the article "The" could be sorted under "T" rather than according to whatever the next word happened to be.

I get that. "The" can add a lot of weight to a title and it doesn't seem right to see things like "The Look of Love" sorted under "look". Band names, like "The Beatles", are a different thing, of course (for the most part).

Now, the Music app has a Sort Title tag which most people would use to force Titles to sort such that the initial article ("a", "an", "the") is ignored. In fact, I believe it is the default setting for tracks with such data.

So, to ensure this track sorts on "The", just include the full title as the "sort as" tag. Then do that manually for the...checks notes...600 or so similar tracks in your library that are driving you crazy. And how do you find these "The" titles when they're scattered throughout any playlist because you can't sort them by "T"?

Wait! What's that!? Hold on a minute...that smell...

It's an Automation Opportunity! (trademark pending).

Before I get to the script I wrote, remember that a Smart Playlist can be constructed to gather the tracks whose Title or Artist begins with "The ". Of course, you'd still have to do the Sort Title tag editing one track at a time.

The script Sort on First Article will scan every track in a batch of selected tracks in the Music app for a Title (or Album, Artist or Album Artist) that begins with "The" and, for those that do, will copy the full title to the Sort Title tag—or, if Album, Album Artist or Artist is the chosen tag, its corresponding Sorting tag. Any other track is ignored so you can "fish" for these kinds of tracks in any arbitrary selection of tracks.

Additionally, because you can enter your own text instead of the script's default "The", you can search for tags beginning with "A" or "An" or whatever initial article your localization of Music may ignore.

Sort on First Article is free to use with a donation requested. More information and download is here.

July 12 2021 - 12:51 pm

UPDATED: Track Down Purchases v5.0

For macOS 11 and later only. This applet can examine the Music library and sort audio tracks purchased from iTunes into discrete playlists by either the purchaser's name or Apple ID (eg: "Purchased by Jane Smith" or "Purchased by janesmith@email.com") which in turn will be placed in a "Purchaser Playlists" playlist folder.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • UI, performance an security enhancements

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

July 10 2021 - 12:37 pm

UPDATED: Playlist Manager v4.1

For macOS 11 and later only. The Music app only allows one playlist to be selected at a time. This applet can perform common useful tasks on a multiple selection of playlists: playlist title renaming (add text, remove text, search and replace text) and duplicate, delete, export, move to Playlist Folder and merge playlists; change the View As, Sort By and Column Browser settings. (This script will require your permission to access "System Events" in order to run. Please see the Read Me RTFD doc.)

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • UI enhancements

More information for Playlist Manager v4.1 and download link is here.

July 10 2021 - 12:34 pm

UPDATED: Assimilate View Options v6.0

For macOS 11 and later only. This script re-creates each selected playlist so its Songs View column settings (visible columns) are the same as the main "Songs" library.

Works with user-created regular playlists only. Please read the accompanying Read Me .rtfd doc.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • UI, performance and security enhancements

More information for Assimilate View Options v6.0 and download link is here.

July 10 2021 - 12:28 pm

UPDATED: Move Playlists to Folder v4.0

For macOS 11 and later only. This script will move the playlists you select to a new or existing Playlist Folder.

Latest version:

  • UI and performance enhancements

More information for Move Playlists to Folder v4.0 and download link is here.

July 9 2021 - 4:08 pm

UPDATED: Media Folder Files Not Added v2.0

For macOS 11 and later only. This application will list the file paths of the media files in your designated "Media" folder which are not associated with any tracks in the Music or TV app's track library. Additionally, a different parent folder can be user-selected and its contents will be compared to the current library. Includes options to Filter within results, Move a selection of found files to a user-chosen folder, Add (or drag-and-drop) a selection of found files to Music or TV, move them to the Trash and Export a text file listing the file paths.

Also see Super Remove Dead Tracks and List MIAs.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • Adds "Move" option
  • UI, performance and security enhancements

More information for Media Folder Files Not Added v2.0 and download link is here.

July 9 2021 - 3:36 pm

UPDATED: Track CPR v4.0

For macOS 11 and later only. This script 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 name, album 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:

  • Initial accommodation for macOS 12 Monterey
  • UI, performance and security enhancements

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

July 9 2021 - 3:30 pm

UPDATED: Save Album Art as folder.jpg v5.0

For macOS 11 and later only. This script will export the artwork of the selected tracks or tracks in the selected playlist as a JPEG image file named folder.jpg to the folder which contains each selected track's file--presumably the track's Album folder. Many third-party music players and systems (Sonos, for example) may look for a "folder.jpg" here to use as display artwork. If multiple album tracks are selected, the script will make sure only one image file per Album is exported.

Also see Save Album Art to Album Folder.

Latest version:

  • Fixed regression issue with custom scale setting
  • Initial accommodation for macOS 12 Monterey
  • 
Some UI enhancements

More information for Save Album Art as folder.jpg v5.0 and download link is here.

Site contents © 2001 - 2021 (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.