dougscripts.com

iTunes

July 19 2010 - 7:42 pm

iTunes 9.2.1 Released

Apple has released iTunes 9.2.1 and it looks like there's a nice batch of fixes there. I won't have time to check tonight, but I'll report any AppleScript-related stuff as soon as I can.

July 6 2010 - 9:23 am

Spins Ranks Your Most-Played Tracks

Spins analyzes your iTunes library and displays rankings of your most-played tracks. You can configure Spins to show rankers and breakouts based on spins by Song, Artist, Album; rankings can be filtered by Rating, Genre, and Year; see rankings for the entire library or a single playlist. Spins can monitor iTunes and display ranking information updates for the current track. You'll find that Spins is easy to configure and even fun to use.

Give Spins a spin...check out the demo and see what you've been spinning. If you like Spins, $10 unlocks the full-featured version.

June 23 2010 - 12:19 pm

UPDATED: PDF Adder v3.1

Since mentioning PDF Adder in the last post I have confirmed that a PDF added using the PDF Services script defaults to a Media Kind of "Book". This means that these PDFs will automatically go to the "Books" library in iTunes, and will then sync with the iBooks app on the iPhone.

As an example of how cool this is: my wife and daughter are traveling to France in July. My wife "printed" a ton of itinerary and Google maps as PDFs to iTunes. They are now easily accessible from her iPhone's iBooks app for offline perusing (essential when avoiding online roaming charges in Europe).

As a result, I decided to update the PDF Adder scripts so that a Category can be entered (the genre tag). I also changed "Artist" labels to "Author".

June 21 2010 - 8:15 pm

Assistance with PDFs, iBooks and iTunes

Now that iOS 4 and iBooks allow you to sync PDFs to your iPhone you may be interested in using iTunes as a PDF manager. And if so, may I recommend PDF Adder. This set of scripts assist with adding PDF files to iTunes as "digital booklet" PDF tracks. Each provides a method for easily supplying Artist and Album tag data which is then applied to the newly-added PDF track:

  • Add as PDF to iTunes is a PDF Service workflow that, when installed, will be available in the PDF pop-up menu of the Print Dialog. It allows you to save the current document as a PDF file (from any application that uses the Print Dialog) and add it to iTunes.
  • PDF Adder is an applet that will let you choose an existing PDF file and add it to iTunes. It can be installed in iTunes' Scripts folder for easy access from iTunes Script menu.
  • PDF Dropper is a droplet that lets you add a PDF file to iTunes by drag-and-drop.

The only thing these scripts can't do is change the track's "Media Kind" to "Book", which may be necessary in order for PDFs to sync to the iBooks app. (This is a limitation of iTunes' AppleScript architecture, not a limitation of the scripts.)

June 10 2010 - 2:03 pm

NEW: Report Real Play Time

Correspondent Jamie Shaw sent me a version of a script that calculates the play time of selected tracks or tracks in a playlist when the user-set Start and Stop times are also accounted for. In such cases, the total play time (for a playlist) would be shorter than what is displayed along the bottom of the playlist. I threw in a routine that lets you enter your Crossfade time (not really accessible programatically) and this is also part of the calculation. Report Real Play Time works especially nice when assigned a keyboard shortcut.

June 1 2010 - 7:04 pm

NEW: Delete Empty Playlists

You'd think just about every obvious iTunes housekeeping task imaginable would have been automated by now. You'd think. And so I thought also. Until I received a suggestion from Correspondent Holly B.:

"I am doing a major itunes library overhaul, and I used your batch playlist delete script, which was a huge improvement over the native iTunes one-at-a-time approach. I wanted to suggest a script that deletes empty playlists. I use smart playlists for management, and wouldn't want to delete empty ones, but I would want to delete empty non-smart playlists."

And it figures that it's also something I would use from time to time as well. So I whipped up Delete Empty Playlists. You can delete all empty playlists or select specific empty playlists to delete.

May 19 2010 - 6:49 pm

UPDATED: Track Number to Song Name Prefix v2.1

I discovered that I inadvertently left behind a bit of debugging code in the version I last posted so I removed it and have updated Track Number to Song Name Prefix to v2.1. This script will prefix the song name of each selected track with its corresponding track number (if it has one).

April 8 2010 - 6:57 am

No More Mute

I just noticed that "Mute" has been removed from iTunes' contextual menu in the Dock as of iTunes v9.1. Man, that was handy. Of course, a script hooked up to a shortcut does the job:

tell application "iTunes" to set mute to (not mute)


I'm pretty sure there is no other on-board control to toggle mute otherwise.

April 5 2010 - 7:39 am

iPad-Media Center Touch Control

So I saw the iDisplay that allows the iPad to be a second monitor to your desktop and thought: Perfect! This is exactly what I've been wanting to do with my Mac mini media center. I imagine I might even write an app or script that can reside in the second iPad monitor to control iTunes. I'll post later on how it works out.

March 25 2010 - 9:22 am

UPDATED: Most Played Artists v2.0

I had to update Most Played Artists to v2.0. This is a script that generates a text file listing the total combined play count of tracks by each unique artist in your library, originally written by Michael Henley back in 2006. Apparently, as pointed out by Correspondent Juston R., it wasn't working so hot with Database Events. I also made some other minor fixes. Good to go!

Site contents © 2001 - 2020 (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 interrupt the one doing it.