dougscripts.com

Archive for the
‘Managing Playlists’ Category

May 8 '15 - 10:32 am
Script of the Day: Playlists Info

Playlists Info will display a sortable list of playlists from the selected source (the local library or a mounted device) along with their size, time and number of tracks. Additionally, the script can export a text file listing that information heirarchically.

By default it will display the playlists in the local iTunes library. But in the screenshot above, I’ve selected to view the playlists on my iPod touch. The window will stay open over iTunes. Double-clicking a playlist in the list will select it in iTunes.

More information and download is here.

Subscribe to my RSS feed or follow @dougscripts on Twitter to get daily “Script of the Day” notifications.

May 3 '15 - 3:25 pm
UPDATED: Make Playlists By Tag v2.0

Make Playlists By Tag v2.0 will create Music track playlists based on each selected entry of a specified tag. That is, create individual playlists by Artist, Album Artist, Album, Composer (and their “Sort” siblings), Genre, or Year.

In the screenshot above, the script will create a playlist for each checkmarked Artist.

This latest version is essentially a maintenance update for better compatibility with Yosemite and also fixes an issue where tags containing white space characters would appear as blank; now the script ignores such tags.

OS X 10.8 and later only. More info and download is here.

February 26 '15 - 9:37 am
UPDATED: Show In Playlists v1.1

Show In Playlists displays a persistent floating window that will list the playlists containing the selected or playing tracks in iTunes.

This latest version adds a toggle to monitor just selected tracks or just playing tracks. I also had to pull support for OS X 10.8 since it doesn’t seem to like a few modern coding features. I may not be able to fix that.

Here’s a short video showing how to make it go:

Show In Playlists is free to use for ten days and $1.99 to purchase. More information and download is here.

February 11 '15 - 12:20 pm
NEW: Show In Playlists

Show In Playlists puts up a floating window that lists the playlists that contain the current track selection. Whenever you select a track in iTunes, bam! The playlists that contain it will be listed:

It’s sort of like iTunes’ own “Show In Playlist” without the right-clicking and scrolling. In the screenshot, I’ve selected a track in the “Dropkick Murphys – The Singles Collection” playlist and the window displays the other playlists that contain the selected track. Select multiple tracks, as you might for an entire album or artist, and only the playlists that contain the entire track selection will be listed.

You can go through a list of tracks pretty fast. But I’ve also found it handy just having it hang-out off to the side of iTunes when I’m working on tracks. I’ve found a few strays that way.

Clicking a playlist in the list selects it in iTunes and, if there’s just a single track in the selection, that track will be selected in the selected playlist.

The routine can be toggled off (“Freeze”) such that the current list of playlists will remain fixed and selectable, so you can refer to the playlists in the list or navigate tracks and playlists in iTunes without the list updating.

Show In Playlists is free to try full-featured for ten days, $1.99 to purchase. More info and download is here.

January 28 '15 - 8:11 am
NEW: Playlists Info

Playlists Info will display a sortable list of playlists in the current library (or in the selected source) along with their size, time and number of tracks. I’ve been finding this handy for eyeballing playlist sizes when managing music between iTunes and devices.

Additionally, the script can export a text file listing that information.

More info and download is here.

January 10 '15 - 1:15 pm
UPDATED: Batch Export Playlists v1.4

iTunes can only export a single playlist at a time using the File > Library > Export Playlist… command. My mouse finger’s inter-phalangeals are achy just thinking about exporting more than a few that way. Batch Export Playlists v1.4 will export each selected plain, Smart, and Genius playlist as individual XML or M3U files to a user selected directory. Such files can be re-imported into iTunes again later or into other devices or apps.

As a bonus, Smart playlist XML files can be exported as two files, with one containing just the Smart criteria.

This latest version adds a heirarchical view for Playlist Folders which more closely emulates iTunes’ playlist view and has some minor tweaks for better compatibility with OS X 10.10 and iTunes 12.

More information and download is here.

January 9 '15 - 1:14 pm
NEW: Duplicate Playlist Folder as Playlist

iTunes turns fourteen years old today which makes it about a month older than this website. And I think I’ve only just noticed that Playlist Folders don’t have a duplicate command. (Technically, Playlist Folders were introduced in September 2007 with version 5.0. I’m still surprised I hadn’t noticed. I probably just forgot. Yeah. That’s it.) Recently, I wanted to get rid of a bunch of Playlist Folders and dump their tracks into plain playlists and I figured a duplicate command might do that.

I suppose it’s easy enough to just select all the tracks in a selected Playlist Folder and use “Playlist From Selection” (Shift-Command-N) but I also wanted to delete the original Playlist Folder in the same swoop. And doing all that that turns into a mittful of keypresses and mouse-arounds. Which makes my scripty-sense tingle.

Duplicate Playlist Folder as Playlist will copy all the tracks in a selected Playlist Folder to a new “plain” playlist, essentially duplicating the tracks as viewed when the Playlist Folder is selected.

Optionally, it will delete the selected source Playlist Folder and its contents (of course, the tracks remain in your library, but any playlists and sub-Playlist Folders it contains will be deleted).

Codesigned, free, and nagless, more info and download is here.

November 14 '14 - 8:42 pm
Son of Latest Batch of Updates

Like last week, I hadn’t gotten around to posting individual blurbs on all the updated stuff from this week (November 9-14). So, briefly:

Drop to Add and Give Info v3.0 – drop files onto this droplet and it will supply a Get Info-type interface to add basic tags to the tracks once they’re added to iTunes. Better Yosemite support.

PDF Adder v5.0 – applet/droplet and PDF Service enable you to supply some basic tags to PDFs added to iTunes, the latter is a PDF Service workflow accessible from any app’s Print Dialog. Yosemite support, minor tweaks.

Make PDF Booklet v3.0 – assists with creating lists of track data exported as a text-only PDF. Support for Yosemite.

This Tag That Tag v4.2 – copy, swap and append data between tags of selected tracks. Fixed a progress indicator that wouldn’t indicate progress. I hate when that happens.

Delete Selected Files v2.1 – removes selected tracks and can move their files to the Trash or delete them immediately. Fixes a problem when canceling and progress would not cancel.

Drop to Add and Make Playlists v3.0– drop folders of media files onto this droplet and it will add the files to iTunes and create playlists for the tracks based on the names of the folders. Adds better support for Yosemite.

All HD and SD to Playlists v2.0 – creates two playlists containing, respectively, all the SD video tracks and all the HD video tracks in the library. Mostly just a maintenance update since last update in 2009.

Make An EQ Preset Script v3.0 – creates a new AppleScript applet using data from the selected EQ Preset. When that applet is launched it will re-create the EQ Preset in any iTunes (on a Mac). Handy way to archive EQ Presets. This is a major maintenance update, added better options in the applet for renaming.

Subscribe to the 30 Most Recent Scripts RSS or my Twitter feed @dougscripts to stay updated on script releases.

November 8 '14 - 2:42 pm
Latest Batch of Updates

So busy slapping ’em together that I hadn’t posted I’d updated ’em. Here’s the last few updated scripts (October 29 – November 8):

Set Video Kind of Selected v5.0 – change the video kind property of the selected tracks to your choice of “Home Video”, “Movie”, “Music Video” or “TV Show”. Additionally, “Show Name”, “Season Number”, and incremental “Episode Number” can also be set or cleared for each selected track.

Convert and Replace v2.0 – convert the selected tracks using an encoder chosen on-the-fly (the encoder’s current Preferences-set options will be in effect) and replace the originals throughout the playlists of your entire library with the newly converted versions. Additionally, you can opt to Trash/delete or keep the original files and tracks.

Trackographer v4.0 – stay-open applet will monitor iTunes and send tag and time-of-play information of each track that plays (including iTunes Radio and internet radio streams if they provide track info) to a text file. Preferences can be set to include or not include various basic tags and to create a plain text file or a tab-delimited text file which can be imported into a spreadsheet.

Multi-Item Edit v2.1 – mostly bug fixes; edit most track tags (and some additional options) in a single window which emulates the pre-iTunes 12 “multiple items” format; that is, a checkbox adjacent to each tag allows you to select which changes are to be applied to the selection’s tags.

Delete Selected Files v2.0 – remove each selected track from all playlists and Trash or immediately delete their corresponding files. Some iTunes delete commands will not move files from outside the “iTunes Media” folder to the Trash. This script worksaround that.

Find Truncated Tracks v2.0 – assists with segregating iTunes Match tracks that appear to get cut-off when played (due to a possible bug which Kirk describes here). Then these truncated tracks can be deleted and re-downloaded intact (by you, not the script).

Playlist Manager v2.0 – iTunes only allows one playlist to be selected at a time. This applet can perform common useful tasks on a multiple selection of playlists: rename (add text, remove text, search and replace text), duplicate, delete, export, merge.

Search Results to Playlist v2.0 – search a chosen category (Library, Music, Movies, etc) or the selected playlist for user-entered text by All, Song, Artist, Album, or Composer tag and copy the track results to a Search Results playlist, which will be created automatically if necessary. Can optionally re-create or append to the Search Results playlist on each run. Floats over iTunes while active for easy access.

August 26 '14 - 11:15 am
UPDATED: Random Full Albums to Playlist

Random Full Albums to Playlist v1.1 will assemble a user-set number of randomly selected full albums to a playlist.

This version fixes a problem whereby only the last disk in a multi-disk collection would ever be selected. Now, only a single disk in such a collection will be selected.

More information and download is here.

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