dougscripts.com

November 14 '15 - 7:07 pm
UPDATED: Music Folder Files Not Added v5.2

I think I finally licked a text encoding problem with Music Folder Files Not Added in this latest version.

Music Folder Files Not Added will list the file paths of the files in your designated “iTunes Media” folder which are not in iTunes’ track library. Additionally, you can select a different parent folder and its contents will be compared to the iTunes library. The files listed in this screenshot are located in my “iTunes Media” folder but have no associated track entry in iTunes:

Includes options to Filter results, Add a selection of found files to iTunes (Mobile Applications can not be added this way), move them to the Trash, and Export a text file listing the file paths.

Several users had been reporting issues with text encodings (especially with Greek, German and Cyrillic text, but others also) and this version addresses this problem.

More information and download is here.

November 12 '15 - 10:53 am
Is a user playlist Just Smart or a Genius?

Just noticed the most recent iTunes sdef (12.3.1) now contains a genius flag for user playlist. Sometime around iTunes 12, Apple made Smart and Genius playlists both respond to smart and you couldn’t tell the difference. It is now possible to distinguish Smart and Genius playlists with AppleScript. Thanks!

November 12 '15 - 8:40 am
NEW: Rating Notify

I used to be pretty good about maintaining my tracks’ Ratings. But I have lapsed. I used to use my applet Rate Me! Rate Me! to encourage me to rate tracks as they were playing. But I haven’t updated that in a few years and, really, it was conceived before Notifications became available.

And while iTunes Notifications are fine, they don’t display the Rating for the track. So I had to roll my own.

Rating Notify is a simple applet that runs in the background and when iTunes plays a Music track it dispatches a Notification displaying the track’s Name, Artist, Album, Artwork and Rating. The script can also be set to only show Notifications for tracks without a rating. The tracks in these Notifications, for example, have not been rated:

Clicking the Notification reveals the track in iTunes’ Music library so you can work on it—or you could use the iTunes Dock menu to rate it (tracks cannot be rated from the Notification, if that’s what you were wondering). Additional options can be set via System Preferences: When the alert style in System Preferences > Notifications for the applet is set to “Banners”, Notifications will self-dismiss; when set to “Alerts” each Notification will remain posted until it is user-dismissed, as in the screenshot above.

For iTunes 12 and later/OS X 10.10 and later. More information and download is here.

November 7 '15 - 12:42 pm
UPDATED: Join Together v7.5.3

Join Together will create and export a single AAC or ALAC audio file from the audio data of tracks dragged from iTunes or files dragged from the Finder, leaving the original source tracks and files intact.

Join Together

This latest version, 7.5.3, fixes a problem some users were seeing with encoding at lower sample rates, fixes an issue when using advanced Session Options and has minor performance enhancements. It’s a free update for registered users.

You can try Join Together for free in Demo Mode, which will sharply reduce the volume of the exported file after a few minutes. A registration code for Join Together that removes the Demo Mode volume restriction is $5.00.

October 21 '15 - 4:21 pm
iTunes play with once is Broken Redux

I posted about this back in July but the problem seemed to go away (which is weird, too).

To play a track just once and then stop you use the once modifier with the play command:

tell application “iTunes”

set aTrack to item 1 of selection

play aTrack with once

end tell

As I said, I first noted this in July when iTunes 12.2 came out. But then I somehow couldn’t get it not to work. Also saw a mention of it on the AppleScript mailing list, but even then I got it to work. Well, I definitely can’t get it to work now. Filed a bug.

UPDATE: Ah-HA! It will work if the Up Next queue is completely empty, which can be made so by clicking its “Clear” button.

October 21 '15 - 2:24 pm
iTunes 12.3.1 Released

Title about says it all. No specific changes mentioned except for “overall stability and performance” improvements.

October 21 '15 - 1:21 pm
UPDATED: Now Where Was I? v2.0

Forgot to post about this a few days ago when I actually updated the script.

Now Where Was I? v2.0 is a simple applet that, when run while a track is playing or paused, will “remember” the current track and quit iTunes; when it is next run it will launch iTunes and play that track. If a track is set to “Remember playback position”, it will pick up playing from where it left off.

This latest version is generally updated for newer versions of iTunes and the Mac OS. More info and download is here.

October 6 '15 - 9:17 am
UPDATED: TrackSift 2 v1.1.0

TrackSift 2 v1.1.0 is now available from the Mac App Store.

TrackSift 2 brings together nine fun and useful Tools for iTunes in one attractive, simple to install and easy to use app:

  • Sort tracks into playlists by Apple ID Merge two or more playlists
  • Delete “dead” tracks Delete unused non-Tunes Genre names
  • Create “One-Hit Wonder” and “𝑛 Songs by Artist” playlists
  • Find songs without album art, without lyrics, and not in playlists

More information and links to download are on this page.

October 2 '15 - 4:01 pm
Dupin v2.9

With Dupin you can:

  • Very quickly find all sets of duplicate iTunes tracks based on your choice of criteria
  • Select the “Keeper” tracks from among a number of duplicates automatically using a variety of versatile filtering options
  • Consolidate the play, skip, and ratings information from all tracks in a Dupe Group to the single “Keeper” track
  • Re-populate iTunes playlists replacing “non-Keeper” tracks with “Keeper” tracks
  • Remove duplicate tracks from iTunes and send files to the Trash
  • Audition tracks with QuickLook
  • Manage intentionally duplicated tracks
  • Delete duplicate “dead” tracks
  • View duplicates in non-loaded libraries created with iTunes’ multiple library feature
  • Sort tracks and view track info
  • Export a list of duplicates to a text file
  • Locate tracks in the Finder and in iTunes

In addition, Dupin features:

  • Compatibility with iCloud Music Library/Apple Music
  • Support for Notifications
  • Familiar iTunes-like interface
  • Robust Documentation via the Help Menu
  • Ample keyboard shortcuts
  • Customizable toolbars
  • Optional update checking

This latest version is a maintenance release with performance enhancements and is a free update for registered users.

Dupin is easy to configure and use. Get the well-featured demo and try it out for yourself now.

September 29 '15 - 9:12 am
NEW: View Cached Music

When Apple Music was announced back in June I didn’t think I’d care for it. But during the 3-month free trial, I found myself using it a few times a week. It’s good for a quick playlist in the “For You” section and I’m often delighted by some of the stuff suggested. And, despite never really taking to Spotify, I like being able to play those, “I Just Thought of Something!” albums and artists at the drop of a hat. I use it from the Music app on my phone and from iTunes on a couple of Macs in the house.

Now, I’m not giving up my exquisitely maintained iTunes audio file library by any means. But Apple Music is fun and convenient so I’m staying on as a subscriber.

But then I found out that the audio files of all those Apple Music tracks I’d been cavalierly listening to are were being downloaded and stored in my Mac’s Home folder. As a result, my hard disk had about 3 gigabytes of protected mystery files that I wasn’t sure were deserving of quarter. I mean, like…What songs are those?

So to figure that out I came up with View Cached Music:

View Cached Music

View Cached Music is an app (not a script) that will list track information about any extant cached audio files giving you a modestly-detailed history of the music you’ve been listening to in Apple Music on your Mac. It also provides a means to play audio previews (as in the screenshot above), open the Album and Artist pages of these tracks in Apple Music, copy-to-clipboard their artwork, and delete any cached audio files you may consider superfluous.

I’ve been using it to track down songs I’ve listened to which I hadn’t paid much attention to the first time around. (Apple Music’s Up Next has a Previously Played panel which can be useful, too.)

View Cached Music is free, requires OS X 10.9 or later and Apple Music activated. More information and download is on this page.

And if you don’t care about the trove of music history buried in the cache folder, there is always Flush Apple Music Cache Files.

 
Site contents © 2001 - 2016 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Legal.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.