dougscripts.com

Music app

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.

July 5 2021 - 12:00 pm

UPDATED: Save Album Art to Album Folder v7.0

For macOS 11 and later only. This script will export the artwork of the selected tracks (or the tracks in a selected playlist) as an image file to the folder which contains each selected track's file--presumably each track's Album folder--or to a single user-selected folder. If multiple album tracks are selected, the script will make sure only one artwork file per Album is exported.

Also see Save Album Art as folder.jpg.

Latest version:

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

More information for Save Album Art to Album Folder v7.0 and download link is here.

July 4 2021 - 10:46 am

UPDATED: Multi-Item Edit v7.5

For macOS 11 and later only. This applet will allow you to view and edit most tags (and some additional options) of the selected track(s) in a single floating window using single-edit mode (one selected track) or multi-edit mode, which emulates the pre-iTunes 12 "multiple items" format; that is, a checkbox adjacent to each tag allows you to select which changes are to be applied to the selection's tags.

Can also be used to copy collected tags from one set of tracks to another set of tracks by toggling "Information Tracking".

Latest version:

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

More information for Multi-Item Edit v7.5 and download link is here.

July 2 2021 - 8:15 pm

UPDATED: Merge-Delete Playlists v7.0

For macOS 11 and later only. This script will allow you to merge the track contents of two or more playlists to a new or existing playlist or delete any number of playlists at once, including Smart, Genius, and Playlist Folder playlists. The merge feature will prevent the same tracks that may appear in different source playlists from being duplicated and has an option to delete original playlists. The delete feature only deletes playlists; tracks, of course, remain in the library.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • Several UI enhancements and performance improvements

More information for Merge-Delete Playlists v7.0 and download link is here.

July 2 2021 - 3:33 pm

UPDATED: Sundry Info To Comments v6.0

For macOS 11 and later only. Copy your single choice of filename, file path (location), file's parent folder path, file creation date (YYYY-MM-DD HH:MM:SS), current playlist, volume adjustment, start/stop time (HH:MM.SS), rating stars as text, artwork size (WxH), purchaser name, purchaser account ID or encoder (if accessible) to choice of Category, Comments or Description tag of each selected track. By putting data in one of these available tags it can be visible and sortable or used with Smart Playlist criteria.

I've kept the word "Comments" in the title of this script for legacy purposes, even though modern versions of it can write to other tags.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • Adds Rating stars as option
  • UI, performance and security enhancements

More information for Sundry Info To Comments v6.0 and download link is here.

July 1 2021 - 5:11 pm

UPDATED: List MIAs v6.0

For macOS 11 and later only. This applet checks your Music or TV library for missing and presumed dead tracks--those tracks that have become disassociated from their file and which are listed with a "!"--and can delete them from the app or create a text file listing these tracks by last known File Path, Song Name, Artist and Album, which you can view using TextEdit.

Latest version:

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

More information for List MIAs v6.0 and download link is here.

July 1 2021 - 1:55 pm

UPDATED: CD-Text to CD Info v6.0

For macOS 11 and later only. This applet will attempt to extract the CD-Text information from the selected audio CD in the Music app and apply it to the CD's disc and track tags.

Some commercial CDs and commercial CD burning software (including the Music app) can use CD-Text as a method of including text data on an audio CD. This data can include Artist (Performer), Album, Composer, Track Title, and Genre info. See the Read Me for more information.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • Minor UI enhancements

More information for CD-Text to CD Info v6.0 and download link is here.

July 1 2021 - 12:30 pm

UPDATED: Compare Two Playlists v5.0

For macOS 11 and later only. Quickly compares the contents of any two playlists and displays the tracks that are common to both or the tracks in one playlist not contained by the other. Has tools to copy or move tracks from one playlist to another or delete common tracks from one or the other playlist. Can optionally create a text file report of these comparisons.

Free to try in Demo Mode: While in Demo Mode, several features will be disabled. An in-app purchase of a registration code will unlock the disabled features.

Latest version:

  • Initial accommodation for macOS 12 Monterey
  • Uses Split View to provide source playlists and work area; playlists can no longer be dragged from the Music app
  • Other UI, performance and security fixes and enhancements

More information for Compare Two Playlists v5.0 and download link is here.

July 1 2021 - 11:02 am

UPDATED: Scan For Double Entries v4.0

I first posted Scan For Double Entries in 2014 when a strange iTunes issue was somehow allowing two or more track entries to point to the same media file. The script surveys the library for sets of such tracks and then isolates them in their own playlist for further scrutiny; presumably, all but one of these tracks should be deleted.

Anyway, I hadn't updated the script lately because I figured, "Aw heck. That can't still be happening."

Silly me.

The updated version of Scan For Double Entries found 32 sets of two or more tracks where this was still happening—or, at least, had happened and that I hadn't detected 'til now.

The latest version, v4.0, has initial accommodation for macOS 12 Monterey and some UI and security updates. Specifically, it gives you a better idea of what's happening during the search for the tracks, as in the screenshot above. Earlier versions looked like they weren't doing anything during this particular part of the process.

More information for Scan For Double Entries v4.0 and download link is here.

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