downloaded 10m 21s ago
For iTunes Remove iTunes tracks disassociated from files
downloaded 2h 45m 30s ago
For Music/TV Set choice of various number tags of selected tracks incrementally
downloaded 3h 25m 44s ago
For Music Swap the name with the artist of selected tracks
downloaded 3h 26m 27s ago
For Music/TV Title Cap various track tags, featuring editable exceptions lists
downloaded 3h 29m 47s ago
For Music Exports and then re-imports selected tracks' artwork
downloaded 3h 31m 16s ago
For Music Correct song titles listed as "Artist - Song Name"
Download hundreds (625 and counting) of AppleScripts for Apple's Media Apps that will help make managing your digital music and video collection easier and more fun!
AppleScript is a simple Macintosh-only programming language that can control and automate actions on your Mac. AppleScript is already available on your computer as part of the macOS and many popular applications can be automated using AppleScript scripts. Scripts written for Apple's Music, TV and iTunes apps can manage files and track information, create playlists, interact with other applications, perform innovative tasks, and handle many kinds of chores with accuracy and precision which otherwise would be repetitive, laborious, and/or time-consuming.
Cool! Where Do I Start?
Start browsing the site by using the scripts ↓ Menu link above. AppleScripts are gathered into these general Categories:
- Managing Tracks
- Managing Track Info
- Managing Artwork
- Managing Playlists
- Controlling iTunes
- Exporting Info
Or use the search box at the top of every page to try and find something specific.
Not sure how to install AppleScripts? Here's a Download/Installation FAQ.
Check back often or follow me on Twitter @dougscripts, my YouTube channel, or subscribe to my RSS blog feed and 30 Most Recent Scripts RSS feed to stay notified about new and updated scripts and info.
Universal, for macOS 11 and later only. The Category tag is a holdover from when iTunes managed podcasts. In the Music app, it is only visible and accessible when a playlist is in "Songs" View. This simple script will enable you to apply text to the Category tag of one or more selected tracks. (This tag is not transferred to the metadata of a track's file; it does not "travel" with a file.)
- Initial release
Universal, for macOS 11 and later only. View and edit a selected track's Custom Lyrics tag in a non-modal window, which, unlike a track's Info panel, will not block keyboard and mouse activity in the Music app's interface.
- Initial release
Copy your single choice of filename, file path (location), file's parent folder path, track's Date Added (YYYY-MM-DD HH:MM:SS), 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, encoder (if accessible) or SD/HD video 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.
- Adds a track's "Date Added" to list of sundry items
- General maintenance
- Accomodations for macOS Sonoma 14
This script will allow you to batch set or clear the Album Rating and/or Album Love/Suggest Less (Dislike) for the albums of the selected tracks or the albums associated with the tracks in a selected playlist (note that only a single track from any album need be selected in order to change the album rating or loved of the entire album). Handy for clearing batches of albums of their user-set album ratings, or re-rating batches of albums.
- Accommodations for macOS Sonoma 14
- Minor UI and performance adjustments
This stay-open applet watches your playing tracks and when one begins playing displays a notification-sized panel whereby a Rating, Love and/or Suggest Less/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.
- Fixed a glitch that made "stars" unclickable
- Minor UI and performance fixes
- Accommodates macOS Sonoma 14
This script re-assigns the tracks of selected Genres to another Genre, ostensibly so that the original--and consequently any un-assigned-Genres--disappear from the Music app's Genre pop-up list. Of course, it can also be used simply to batch-edit Genres without having to assemble the tracks first.
As you may know, you can make superfluous Genres vanish from the Genre pop-up list simply by eliminating a reference to them in your tracks; when no tracks are assigned to a particular Genre, that Genre will be dropped. (Note however that Music's original Genre names cannot be removed this way; only those accumulated from other sources or created by you.)
- Fixed an issue verifying user
- Very minor fixes
This script will remove all replications of the selected tracks from every other user-created playlist (ignoring Smart, Genius, Apple Music, Shared and Media Library playlists, which are dynamic). The original selected tracks will not be removed from the selected playlist.
Also see Copy Tracks to Multiple Playlists.
- Fixes issue that could have prevented some playlists from being accessed
- General maintenance
Two scripts, "Play Previous Playlist" and "Play Next Playlist", will select and start playing the respective playlist. Works optimally when each is assigned a keyboard shortcut. Be sure to see the read-me .rtfd doc for more info and minor caveats.
- Initial release
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, Title, Artist and Album, which you can view using TextEdit.
- Maintenance and minor performance fixes
- Tested successfully with macOS Sonoma 14
MP3, AAC and ALAC audio files have the capability to store artwork image data internally as metadata, thus allowing artwork to "travel" with a file. This applet will examine the files of the selected tracks (or tracks in the selected playlist) for artwork metadata. Eligible audio tracks whose files are capable of embedding image data but do not contain artwork metadata will be copied to a new discrete playlist.
Note: Music-assigned artwork may not necessarily be embedded as metadata; pre-ID3v2 MP3s do not store image data; this applet ignores how the Finder may or may not display an audio file's icon image.
- Maintenance release, general updating
- Tested successfully in macOS Sonoma 14