dougscripts.com

Universal

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.

January 12 2022 - 9:02 pm

UPDATED: Artwork as Album Folder Icon v3.1

This script can be used two ways:

When run as an Applet, it will use the assigned artwork from the selected tracks as the icon for the folder containing each track's corresponding file in the Finder--presumably, this is the file's "Album" folder.

When launched as a Droplet--by dragging one or more folders to its icon--it will examine every folder (at all depths) for the first audio file in any folder that contains image metadata and use that image as the icon for that folder.

Latest version:

  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs
  • UI and performance enhancements

More information for Artwork as Album Folder Icon v3.1 and download link is here.

January 8 2022 - 6:36 pm

UPDATED: Rate Me! Rate Me! v6.5

This stay-open applet watches your playing tracks and when one begins playing displays a notification-sized panel whereby a Rating, Love and/or Dislike for the track can be entered. Features options to display only unrated playing tracks and timer preferences for how soon and how long the panel is displayed.

While you could easily rate the current track from the Music app's icon in the Dock, this script interrupts you and compels you to do so.

Latest version:

  • Compiled as Universal
  • Fixed issue causing laggy timing on some systems
  • UI and performance enhancements

More information for Rate Me! Rate Me! v6.5 and download link is here.

January 8 2022 - 3:57 pm

UPDATED: Divvy Up A Playlist v3.0

This script will copy the tracks of a selected user-created playlist to a series of new, smaller playlists each set to a maximum time length or maximum track length and each named with a user-supplied base name and number suffix incremented sequentially. Additionally, the new playlists can all be moved to a new Playlist Folder. Tracks can be distributed in Playlist Order, Current Sorted Order or Randomized.

Latest version:

  • Compiled as Universal
  • Adds "maximum tracks" option
  • UI and performance enhancements

More information for Divvy Up A Playlist v3.0 and download link is here.

January 4 2022 - 7:16 pm

NEW: Albums Amiss v1.0

This script uses track information to calculate whether a particular batch of tracks with the same Album title represent an incomplete or over-complete album, with either too few or too many requisite album tracks. Such batches will be copied to a discrete results playlist where they can be examined. The entire Music library or an individially selected Smart playlist can be scanned. (To be clear: the script does not check some kind of online database; it uses the extant local track entry information. Thus, tag accuracy is essential.)

More information for Albums Amiss v1.0 and download link is here.

December 31 2021 - 11:21 am

UPDATED: Move Playlists to Folder v4.3

This script will move the batch of playlists you select to a new or existing Playlist Folder. Additionally, plain Playlists can be extricated from Folders to the top level and new Playlist Folders can be created containing a selection of Playlists.

Latest version:

  • Fixes bug whereby right panel may not populate correctly
  • v4.2 (December 29, 2021):
  • Officially compiled as Universal
  • Commensurate improvements for M1 Macs
  • Adds move to Top Level routine

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

December 30 2021 - 3:42 pm

UPDATED: Artist to Last-First v5.6

This applet will parse the text of the chosen tag (Artist, Album Artist, Composer or one of their Sort siblings) of a selection of tracks:

Move the LAST word of the tag to the beginning, eg:

  • Hound Dog Taylor -> Taylor, Hound Dog
  • OR Move the FIRST word of the tag to the end, eg:

  • The Crystal Method -> Crystal Method, The
  • Then, the newly configured text can be copied back to your choice of Artist, Album Artist, Composer, Sort Artist, Sort Album Artist and/or Sort Composer tag(s).

    Latest version:

    • Officially compiled as Universal
    • Commensurate improvements for M1 Macs

    More information for Artist to Last-First v5.6 and download link is here.

    December 29 2021 - 5:13 pm

    UPDATED: Move Playlists to Folder v4.2

    This script will move the batch of playlists you select to a new or existing Playlist Folder. Additionally, plain Playlists can be extricated from Folders to the top level and new Playlist Folders can be created containing a selection of Playlists.

    Latest version:

    • Officially compiled as Universal
    • Commensurate improvements for M1 Macs
    • Adds move to Top Level routine

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

    December 26 2021 - 2:46 pm

    UPDATED: Remove n Characters From Front or Back v7.1

    This script will delete a specified number of characters from either the beginning or the ending of the Title, Album, Album Artist, Artist/Director, Category, Comments, Composer, Episode ID, Grouping, Show (or their "Sort" siblings), Movement or Work tag of each selected track. For example, delete the initial digits and the space from "01 First Track", "02 Second Track", and so on.

    Latest version:

    • Officially compiled as Universal
    • Commensurate improvements for M1 Macs

    More information for Remove n Characters From Front or Back v7.1 and download link is here.

    December 26 2021 - 2:21 pm

    UPDATED: Find Empty Media Folders v3.1

    This applet will traverse the Media folder looking for and displaying any sub-folders that are either empty or that do not contain Media-apps-playable media, such as text or image files.

    Also see Media Folder Files Not Added.

    Latest version:

    • Officially compiled as Universal
    • Commensurate improvements for M1 Macs

    More information for Find Empty Media Folders v3.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.