frontpage : scripts : here

Managing Tracks 1 2 3 4 

Scripts that perform sorting, ordering, counting and similar tasks with tracks.

 

Set Video Kind of Selected v3.2

This script will change the video kind property of the selected tracks to your choice of "Movie", "Music Video" or "TV Show". Additionally, "Show Name", "Season Number", and "Episode Number" can also be set or cleared for each selected track.

Protected files, such as those purchased from the iTunes Store, cannot be changed. Requires iTunes 7 or better.

As of iTunes 8, video kind can be set in the multi-edit screen under the "Options" tab. Even so, the script provides a sequential episode-numbering feature that may justify its usefulness.

For a more advanced version of this script, see Make Video Tags.

    Latest version:
  • Works correctly with iTunes 10
    Info:
  • short url: http://dougscripts.com/410
  • build type: Universal Binary
  • written by Doug Adams
  • latest version posted: September 2, 2010
  • latest version downloads: 2 | total downloads: 38189
  • zip download size: 120.8K
 

Report Real Play Time v1.0

This script will calculate the time of the selected tracks or all tracks in the selected playlist by considering their user-set Start and Stop times and, optionally, your manually entered Crossfade time. (The time displayed at the bottom of a playlist merely tallies the full duration of each track.)

I heartily suggest assigning this script a shortcut.

    Info:
  • short url: http://dougscripts.com/470
  • build type: Universal Binary
  • written by Jamie Shaw and Doug Adams
  • posted: June 10, 2010
  • total downloads: 515
  • zip download size: 162.3K
 

Track Down Purchases v1.1

This script will examine each track in a selection of tracks or a selected playlist to determine if it was purchased from the iTunes Store and then copies it to a discrete playlist named for the person who purchased it, eg: "Steve Ballmer's Purchased Music". Recognizes song, video, and audiobook purchases. Purchaser information is gleaned by examining the track's file, which, depending on file location and access speed, can take as long a second per track. Just sayin'.

    Latest version:
  • fixes issue with non-DRM'd audio tracks
    Info:
  • short url: http://dougscripts.com/449
  • build type: Universal Binary
  • written by Doug Adams
  • latest version posted: April 18, 2010
  • latest version downloads: 1357 | total downloads: 5644
  • zip download size: 96.1K
 

Mark All Episodes As Played v1.0

While the Podcast library is in List View, select any one (or more) episode(s) of a podcast or its subscription title and run this script to mark every episode of the podcast as Played (or Watched). Works great when assigned a shortcut.

Here's the thing: iTunes 9.1 removed the "Mark as..." option from the contextual menu displayed on the subscription's title while in List View, although it is still available in Icon View.

    Info:
  • short url: http://dougscripts.com/467
  • build type: Universal Binary
  • written by Doug Adams
  • posted: April 10, 2010
  • total downloads: 223
  • zip download size: 93.2K
 

No Lyrics to Playlist v2.0

This script will search a selected playlist for all tracks that do not contain lyrics and copy them to a playlist it will create called "No Lyrics". Includes a second script to clear the "No Lyrics" playlist of tracks with lyrics.

    Info:
  • short url: http://dougscripts.com/361
  • build type: Universal Binary
  • written by Herwin Lans and Doug Adams
  • latest version posted: February 25, 2009
  • latest version downloads: 9625 | total downloads: 19413
  • zip download size: 94.7K
 

Gather Up the One-Hits v2.3

This script will quickly collect all the "one-hit wonders" in your iTunes library--every audio track whose artist is represented by just a single track--and copy them to a new playlist.

    Info:
  • short url: http://dougscripts.com/295
  • build type: Universal Binary
  • written by Doug Adams
  • latest version posted: January 6, 2009
  • latest version downloads: 6867 | total downloads: 22458
  • zip download size: 93.1K
 

All HD/SD to Playlist v1.0

Two scripts, "All HD to Playlist" and "All SD to Playlist", each creates a playlist containing all the HD videos or SD videos, respectively, in your library.

    Info:
  • short url: http://dougscripts.com/456
  • build type: Universal Binary
  • written by Doug Adams
  • posted: January 6, 2009
  • total downloads: 537
  • zip download size: 93.5K
 

Super Remove Dead Tracks v2.1

Surveys iTunes for tracks whose files are no longer available (as indicated by a "!" next to their names) and removes them. Any playlists that subsequently contain no tracks will then be deleted. Progress is displayed every 500 tracks.

    Info:
  • short url: http://dougscripts.com/212
  • build type: Universal Binary
  • written by Doug Adams
  • latest version posted: April 6, 2008
  • latest version downloads: 116926 | total downloads: 201987
  • zip download size: 100.3K
 

Artist - Album - Disc from Selected Track

This script will create a new playlist using tracks which have the same artist, album, and disc number of the single selected track, with the intention of burning the new playlist to CD. Tracks will be copied to the new playlist in track number order. The playlist will be named "Artist - Album - [Disc n]. Track and disc numbers and counts must be available for accurate playlist creation. Once the playlist is created, it is automatically selected so that CD burning may commence immediately without having to order tracks or set the Play Order; the playlist could be manually deleted after CD burning, if desired. (Note that there is no guarantee that the playlist created is appropriately "CD-sized".)

    Info:
  • short url: http://dougscripts.com/432
  • build type: Plain AppleScript
  • written by Doug Adams
  • posted: May 7, 2007
  • total downloads: 4034
  • zip download size: 112.2K
 

Whack Current Track v1.5

Deletes the currently playing track completely from iTunes and moves its file to the Trash. Use carefully.

An earlier version of this script is included in the O'Reilly book iPod & iTunes HACKS.

    Info:
  • short url: http://dougscripts.com/241
  • build type: Plain AppleScript
  • written by Doug Adams
  • latest version posted: November 13, 2006
  • latest version downloads: 6574 | total downloads: 10907
  • zip download size: 39.7K
Managing Tracks
2 3 4  >>
This column is printer-friendly.
Site contents © 2001 - 2010 Doug Adams and weblished by Doug Adams, dougscripts AT mac DOT com.
All rights reserved. Legal.
AppleScript, iTunes, and iPod are registered trademarks of Apple Inc.
Image 01 Image 01 Image 01 Image 01 Image 01 Image 02 Image 03 Image 03 Image 03 Image 03