dougscripts.com

Music app

October 23 2019 - 2:39 pm

UPDATED: New Shuffled Playist v2.0

This script will create a copy of the selected playlist or folder playlist with its tracks' play order shuffled--unlike Music's Shuffle modes which do not display the shuffled order of tracks.

More information for New Shuffled Playlist and download is here.

October 23 2019 - 12:41 pm

UPDATED: New Play Count v4.0

Set the Plays of the selected tracks to a user-entered value (they will all be set to the same value). If this value is 0 then the Last Played date of each track will be erased. (The Music app has the ability to "Reset" Plays to 0 from a track's Show Info window.)

Also see Reset Plays, Add or Subtract Play Count and New Last Played Date. iCloud Music Library users should beware of a potential bug.

More information for New Play Count and download is here.

October 23 2019 - 12:40 pm

UPDATED: Add or Subtract Play Count v3.0

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

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

October 23 2019 - 12:38 pm

UPDATED: New Last Played Date v5.0

For macOS 10.15 Catalina and later. Set Last Played/Last Skipped date of selected tracks to a new date, with option to increase or decrease Plays/Skips, or set to no date and no Plays/Skips.

Also see Add or Subtract Play Count. iCloud Music Library/Apple Music users should be aware of a potential bug.

More information for New Last Played Date and download is here.

October 23 2019 - 12:36 pm

UPDATED: Reset Plays v2.0

This script will reset the Plays, Last Played, Skips, Last Skipped, Remember Playback Position and Played properties of the selected tracks to default “never played” values. Music's own "Reset" command in a track's Info window may not be as thorough.

This latest version makes accommodations for macOS 10.15 Catalina and the Music app.

More information for Reset Plays and download is here.

October 11 2019 - 11:07 am

AppleScript delete playlist Bug

I ran across this over the Summer and I forgot to file a bug about until today. When an AppleScript performs delete on a playlist, the playlist is seemingly removed from Music but its name is still displayed in the Sidebar. If you click to select this playlist—that was ostensibly deleted—the view from an adjacent playlist is displayed.

This leads me to believe there's some clean-up or reload that fails to occur. If Music is quit and restarted, the Sidebar of playlists will display as expected; that is, the "ghost" playlist that was deleted will not appear.

October 11 2019 - 7:40 am

Dupin v3.0 for macOS 10.15

I've bumped Dupin up to version 3.0. It is for macOS 10.15 and later only.

Dupin eliminates the drudgery associated with managing those irksome duplicated tracks in your Music library.

You won't be able to update to the new version of Dupin via Sparkle from the last version, v2.14.1, because that version can't run on macOS 10.15. So you'll have to get Dupin v3.0 right here on the website.

Dupin v3.0 is a free update for properly registered users and requires macOS 10.15 and the new Music app. A new registration code is US$15 and registrations older than five years can be upgraded for US$5. Download and try it free in Demo Mode. If you're staying away from Catalina for a while, Dupin v2.14.1 is still available to work with iTunes.

October 10 2019 - 9:34 am

List MIAs v5.0

I have combined the utility of Super Remove Dead Tracks and List MIAs into a single script applet and Super Remove Dead Tracks is the runner-up in this contest.

The newest version of List MIAs for the Music app will not only display information about the files no longer associated with tracks in the library, it can also delete those "dead" tracks, which is what Super Remove Dead Tracks did (and can still do if you're using iTunes).

For the purposes of illustration, I Trashed some files for this screenshot:

That column on the left displays where Music thought I last left each file; but those files don't exist anywhere because I've already emptied the Trash. Now, I can have List MIAs simply delete all or a selection of those tracks.

List MIAs is free to use in Demo Mode, during which several features will be disabled: Delete Dead Tracks from Music, Reveal Selected Track in Music, Toggle Scan at Launch and performing a scan more than once per launch are inhibited. A registration code to unlock these features is US$2.99.

More information and download is here.

October 3 2019 - 12:47 pm

Importing an iTunes Library.itl into Music

When you update to macOS 10.15 and the new Music app, your current iTunes library will be imported just as if you were simply updating to a new version of iTunes. You can also open an iTunes Library.itl file as if it were a "multiple library" by press-and-holding Option as you launch Music to get the "Choose iTunes Music Library" option.

I first saw this at the Apple Developer Forums. I tried it and it worked great. I haven't been using my main library while Catalina is still in beta because, well, it's my main library and Catalina is still in beta. But this was an easy way to have it available as on-demand optional library.

I copied the entire contents of ~/Music/iTunes/ to a new folder, except for my audio files which are stored elsewhere on an external drive; quit Music and restarted while holding the Option key. The dialog pops up asking you to "Choose Music Library" and I chose the "iTunes Library.itl" file from the folder I just copied the stuff to. Music then asks you to name and save the library. In a few minutes, the library was imported. The old "iTunes Library.itl" I selected was copied as a new new-style "Music Library.musiclibrary" and everything looked as I expected when the import was finished.

September 26 2019 - 2:07 pm

Ready for the Music App?

As of this date, it'll likely be a couple of weeks before Apple releases macOS 10.15 and the new Music app. The Music app is, essentially, iTunes stripped down to just its "music" components. You shouldn't have any troubles with it. Unless you bring your troubles with you.

If your iTunes library is a mess now, then your Music library will be a mess later.

Why not begin your Music experience with a sweet and tidy music library. This would be a good time to do some of that iTunes house-keeping you've been putting off: cleaning up tags, fixing artwork, paring dead tracks and non-essential playlists, minding the duplicates, backing stuff up and so on.

I keep a list of scripts recommended by task for just such occasions. You've probably still got a couple of weeks.

If you're on the macOS 10.15 beta, be sure to try out some of the Music-and-TV-ready scripts I've already posted.

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.