dougscripts.com

Music app

February 1 2022 - 1:13 pm

UPDATED: Add or Subtract Play Count v3.1

Add or subtract a user-entered number from the current Plays of each selected track. If the resulting Plays is 0 then the track's Last Played date will be erased--as if it had never been played.

Also see New Play Count and New Last Played Date.

Note that Cloud Music/iTunes Match users should be aware of a potential bug.

Latest version:

  • Maintenance and modernization update

More information for Add or Subtract Play Count v3.1 and download link is here.

February 1 2022 - 12:48 pm

UPDATED: Reset Tracks Start-Stop v3.1

This script will reset the Start and (optionally) the Stop Time of the selected tracks--or all the tracks of the selected playlist--to "0:00" and (optionally) their entire duration, respectively. You may want to use this to restore a track's default duration if one or both of the Start and Stop Times had previously been user-changed via the track's Get Info > Options panel.

Latest version:

  • Maintenance and modernization update

More information for Reset Tracks Start-Stop v3.1 and download link is here.

January 30 2022 - 2:51 pm

UPDATED: Make Playlists By Tag v4.0

This applet will create new Music track playlists based on each selected entry of a specified tag. That is, create individual playlists for each Artist, Album Artist, Album, Composer (or their "Sort" siblings), Genre, or Year.

Latest version:

  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs

More information for Make Playlists By Tag v4.0 and download link is here.

January 29 2022 - 1:11 pm

UPDATED: Remove Leading-Trailing Spaces v3.1

This script will remove any number of extra space characters at the beginning and ending of chosen tags (Title, Artist/Director, Album Artist, Album, Composer, Genre, Grouping, Movement, Work and Show) in the selected tracks.

Latest version:

  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs

More information for Remove Leading-Trailing Spaces v3.1 and download link is here.

January 27 2022 - 6:00 pm

UPDATED: Coverscope v2.6

This applet will show both the assigned track artwork and the local file's metadata artwork (if any exists) for the selected track. The Track entry artwork well supports copy, paste and drags. Pasting or dragging image data immediately applies the image to the selected track's artwork and attempts to embed it. Additional tools can Embed or Apply artwork between track and file.

Latest version:

  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs
  • Adds up-down track select in UI
  • Other UI and performance improvements

More information for Coverscope v2.6 and download link is here.

January 24 2022 - 8:22 pm

UPDATED: Playlist Manager v4.3

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.

Latest version:

  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs
  • Fixes issue with "Duplicate" tool
  • Minor performance and UI enhancements

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

January 24 2022 - 3:37 pm

UPDATED: Albums Assemble v2.1

This applet will discern the Album tags of the selected tracks and then copy all of the available tracks of each of those Albums to the current playlist, other existing playlist or a new playlist.

Latest version:

  • Fixes issue whereby email panel fails

More information for Albums Assemble v2.1 and download link is here.

January 18 2022 - 3:04 pm

UPDATED: Sundry Info To Comments v6.2

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:

  • Adds video information as an option (SD or HD and WxH dimensions)
  • v6.1 (December 13, 2021):
  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs

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

January 17 2022 - 8:23 pm

NEW: Slice Up A Playlist v1.0

This script can create one or more new, smaller playlists from sub-divided batches of tracks in the selected playlist whereby each selected track will be interpreted as the last track delineator for each new playlist. A title for each new playlist can be user-entered, and resulting playlists can be moved collectively to a new discrete Playlist Folder.

This is a simplified example for illustration purposes. The script interprets each selected track in the selected playlist in the Music app as the last track of a new playlist. The script is showing the delineated playlists and their track contents before actually creating any of them, initiated by clicking the "Make" button when one or more are selected.

I've used it to slice up TV seasons, large music compilations and Smart playlists into manageable playlists.

Also see Divvy Up A Playlist and Merge-Delete Playlists.

Latest version:

  • Initial release

More information for Slice Up A Playlist v1.0 and download link is here.

January 13 2022 - 6:39 pm

UPDATED: Flush Apple Music Cache Files v2.1

Apple Music stores the audio files it plays in ~/Library/Caches/com.apple.Music/SubscriptionPlayCache/. This script will simply delete that folder.

The files in this folder are specially protected audio files that are downloaded and cached when you play a track from Apple Music on your Mac. They can't be user-played and are only useful to Apple Music, ostensibly so they needn't be re-downloaded if they are played again. (This cache folder doesn't pertain to Radio music. Or to Apple Music you've added to your library for offline listening, the files of which are stored in your "Media" folder.)

Latest version:

  • Minor UI and performance improvements

More information for Flush Apple Music Cache Files v2.1 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.