dougscripts.com

Managing Playlists

September 19 2020 - 3:11 pm

UPDATED: Delete Empty Playlists v4.3

For macOS 10.15 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 complete 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:

  • Accommodations for macOS 11 Big Sur
  • Performance, UI and security enhancements

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

September 14 2020 - 4:02 pm

NEW: Merge-Delete Playlists v6.0

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

This app is free to try full-featured in Demo Mode. In Demo Mode it will only process 5 playlists per launch. If you like it you can purchase a code for $1.99 which will unlock the Demo Mode restriction. Launch the app and click "Register…" in its File menu to make an in-app purchase through PayPal.

Latest version:

  • Accommodations for macOS 10.15 and later
  • Performance, UI and security enhancements

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

August 5 2020 - 4:09 pm

UPDATED: Block Party! v4.1

For macOS 10.15 and later only. Create a "Block Party!" playlist containing random Artists and a specific number of their randomly selected songs arranged in a row ("two-fers", "three-fers", and so on). You can restrict the size of the "Block Party!" playlist by Number of Artists or Duration in hours. Additionally, you can choose to use a particular Playlist as the source of tracks and include/exclude specific Genres.

Latest version:

  • Calculation and speed improvements
  • Accommodations for macOS 11 Big Sur
  • Performance, UI and security enhancements

More information for Block Party! v4.1 and download link is here.

July 26 2020 - 10:27 am

UPDATED: Refresh Smart Playlists v3.2

For macOS 10.15 and later only. This script will "refresh" the selected user-created Smart Playlists by removing the tracks they contain (if possible*) which obliges them to dynamically repopulate, ostensibly with different tracks.

*Note that tracks cannot be removed from a Smart Playlist which already contains every track of the library meeting its criteria--it would just repopulate with the same tracks. Smart Playlists with the "Limit to" and "Live updating" criteria in use are more likely to be "refreshable".

Latest version:

  • Accommodations for macOS 11 Big Sur
  • Performance, UI and security enhancements

More information for Refresh Smart Playlists v3.2 and download link is here.

May 21 2020 - 2:58 pm

UPDATED: Compare Two Playlists v4.5

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

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $1.99. When your payment is processed, you will receive a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Maintenance update

More information for Compare Two Playlists v4.5 and download link is here.

May 15 2020 - 7:18 pm

UPDATED: Move Playlists to Folder v3.1

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

Latest version:

  • UI tweaks and performance enhancements
  • v3.0 (May 2, 2020):
  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

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

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 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.

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.