dougscripts.com

May 15 2020 - 2:54 pm

UPDATED: Assimilate View Options v5.1

For macOS 10.15 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.

Note: Unavoidably, Music displays new playlists in "Playlist View" by default. Here's a tip to assign keyboard shortcuts to View menu options that will make changing to a different view quicker and easier.

Latest version:

  • UI tweaks and performance enhancements
  • v5.0 (April 22, 2020):
  • Accommodations for macOS 10.15 Catalina and the Music app
  • Only able to work with “plain” playlists
  • Performance and security enhancements

More information for Assimilate View Options v5.1 and download link is here.

May 15 2020 - 10:35 am

UPDATED: Copy Tracks to Multiple Playlists v5.1

For macOS 10.15 Catalina and later only. This script will copy the selected tracks to one or more chosen playlists.

Also see Remove From Other Playlists.

Latest version:

  • Tidied-up some UI features
  • Fixed rare issue where some playlists were not detected

More information for Copy Tracks to Multiple Playlists v5.1 and download link is here.

May 14 2020 - 3:47 pm

UPDATED: Dupin v3.0.3

I'm happy to announce an update to Dupin, the duplicate tracks manager (and disposer-of also). Dupin v3.0.3 fixes a stinky bug with Re-Playlist process that prevented it from proceeding properly under some circumstances.

More information, updating and system considerations, FAQ and download are accessible from this page.

May 10 2020 - 3:53 pm

UPDATED: Media Folder Files Not Added v1.4

For macOS 10.15 Catalina or later. 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 Export a text file listing the file paths, Filter within results, Add a selection of found files to Music or TV, and move them to the Trash. The latter two features are only available in the registered version.

Also see Super Remove Dead Tracks and List MIAs.

This app is free to try in Demo Mode with some features restricted. If you like it you can purchase a code for $2.99 which will unlock the inhibited "Add", "Trash" and other features. Launch the app and click "Register…" in the its File menu to make an in-app purchase through PayPal.

Latest version:

  • Fixes issue with toggling text size
  • Minor UI fixes
  • Adjusted text normalization comparisons
  • Removed 10-day trial; Demo Mode restricts some features

More information for Media Folder Files Not Added v1.4 and download link is here.

May 10 2020 - 8:23 am

NEW: Drop to Add and Give Info v4.0

For macOS 10.15 or later. Drag audio files to this script's main window to enter many common tags before the script adds the files to the Music app, after which your tag info will be applied to the new tracks. Additionally, tracks can be copied to a new or existing playlist. Stays open after each "add session" so that successive batches of tracks can be added.

Latest version:

  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

More information for Drop to Add and Give Info v4.0 and download link is here.

May 2 2020 - 8:01 pm

NEW: Whack Current Track v3.0

For macOS 10.15 Catalina and later. Deletes the currently playing track completely from the Music app and moves its file to the Trash. Works for tracks with local files only. Use carefully.

It is not possible to remove cloud tracks with this script.

Latest version:

  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

More information for Whack Current Track v3.0 and download link is here.

May 2 2020 - 7:35 am

NEW: Move Playlists to Folder v3.0

This script will move the playlists you select to a new or existing Playlist Folder.

Latest version:

  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

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

April 22 2020 - 5:39 pm

UPDATED: Assimilate View Options v5.0

One of the behaviors of iTunes I liked that also made it to the Music app is that when a new playlist is created, it appropriates the arrangement of visible columns from the "Music" library in Songs view—or from the playlist from which it was created if you use "Selection to New Playlist". Thus you would be assured that your preferred columns would be available in any new playlists you made.

I wrote a script for iTunes that used this behavior to re-create existing playlists with the preferred columns. Unfortunately, because of a bug in the Music app that doesn't quite handle AppleScript-deleted playlists properly (the original playlists need to be deleted after making re-creations), I was reluctant to release an update to that script.

The bug is still there but the people are clamoring so I figured I just better push this out with a workaround and some caveats in the documentation.

Assimilate View Options v5.0 re-creates each selected playlist so its Songs View column settings (visible columns) are the same as the main “Songs” library.

Unlike the version for iTunes, this one works on batches of playlists. Although, honestly, I wouldn't do more than a small batch in a single go because I just don't know how the Music app will react to a lot of playlist manipulation. After each batch is processed, the script will offer to quit and restart the Music app, which is the workaround to getting the playlists Sidebar redrawn correctly.

Unavoidably, Music displays new playlists in "Playlist View" by default. Here's a tip to assign keyboard shortcuts to View menu options that will make changing to a different view quicker and easier.

More information and download for Assimilate View Options is here. And, please, read the documentation. There are a couple of important considerations to be aware of.

April 21 2020 - 12:25 pm

UPDATED: Delete Empty Playlists v4.2

For macOS 10.15 Catalina and later only. This script will list the empty user-created playlists in the Music app and can delete all or just a selection of them.

NOTE: A bug in the current version of Music prevents the removal of playlists from the Sidebar UI (when they are deleted via an AppleScript like this one) until the Music app has been quit and re-started.

Latest version:

  • Fixed error reading playlist info that prevented launch progress

More information for Delete Empty Playlists v4.2 and download link is here.

April 19 2020 - 1:40 pm

NEW: Add PDF to Music or Books v1.0

You may be aware, or vaguely remember, that iTunes was able to manage PDF files. Sounds weird, I know. But early on, the iTunes Store provided extra album content as PDFs, so-called "digital booklets". Digital booklets went away but iTunes, and now the Music app, still support PDFs.

I got into a right regular habit of saving PDFs to iTunes. It was easy to categorize the plethora of them using the track tags that iTunes provided as a matter of course for all track entries. I've got instruction manuals, interesting news articles, notes, Wikipedia articles, VO scripts, email conversations, all kinds of stuff. When The Great Breakup happened, my PDFs were automatically moved to the Books app. That's fine, but Books doesn't allow tag editing, isn't AppleScriptable, and so on. I automatically assumed that PDF support was gone from Music, but it didn't occur to me until last week to even check.

I had created and maintained a set of scripts for managing PDFs in iTunes called PDF Adder. But the only script I regularly used from this collection was a PDF Service workflow that was accessible from the Print Dialog in any app. And so I've updated it for use with the Music app and the Books app.

Add PDF to Music or Books is an applet that must be installed in the [home]/Library/PDF Services/ folder. Once installed, it will appear as an option in the Print Dialog's PDF popup:

When selected, this panel will open and tag information can be added:

In this example, I've selected the Music app to receive the PDF. If Books had been selected, only the Title, Artist (Author) and Genre (Category) fields would be available since the Books app does not support the other tags.

More information and download for Add PDF to Music or Books is available on this page.

Site contents © 2001 - 2020 (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 interrupt the one doing it.