Archive for the
‘Managing Tracks’ Category
Copy Tracks to Multiple Playlists will copy the selected tracks to one or more chosen playlists.
More information and download is on this page.
Albums Assemble will discern the Album tags of the selected tracks and then copy all the available tracks of each of those Albums to the current playlist, other existing playlist or new playlist.
Works with tracks selected in iTunes or a mounted iPod/iOS device set to manually manage tracks.
More info and download is on this page.
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.
List MIAs v4.0 will check your entire iTunes library for missing and presumed dead tracks—those tracks that iTunes is unable to associate with a file and which are listed in iTunes with a “!”—and can create a text file listing these tracks by alleged File Path (if available), Song Name, Artist and Album, which you can view using TextEdit.
This latest version has additional support for OS X 10.10 Yosemite/iTunes 12, drops support for pre-OS X 10.8, adds a “Check for Update” menu command, and tweaks to improve performance.
More info and download is here.
I don’t necessarily encourage using playlists as longer-than-semi-temporary organizers. In fact, you could trash all my playlists right now and I wouldn’t care. But if the thought of doing that on your own library makes your spine melt at about L5 then you might
have OCD want to try meditation Not In Any Playlist.
This applet will scan iTunes for tracks that are not assigned to any user-created playlists and display them. Includes options to export the list as a text file, ignore Smart playlists, ignore non-Music tracks, and copy selected tracks to a new or existing iTunes playlist.
My Podcasts library is littered with episodes I started playing with good intentions but abandoned. For a while, I was just keeping the 3 most recent episodes and the older unfinished episodes could take a hike in a black hole. But that’s only satisfactory if the episodes happen to be time-sensitive. I’ve got a batch of evergreen episodes that I want to evaluate, but only if I haven’t finished listening to them.
Unfinished Podcast Episodes will scan the Podcasts library (media tracks in other libraries that may be podcasts will be ignored) for episodes that have not finished playing and copy them to a playlist named “[-Unfinished Podcast Episodes>”.
The script detects that an episode’s bookmark-time value—the position at which it was paused or stopped—is less than its duration. The bookmark time will be set if an episode is set to “Remember playback position”, the default setting for downloaded podcast episodes. .
More information and download is here.
iTunes will let you re-associate a file with a single selected dead track.
This really is the safest way for iTunes to do this. The user approves a one-to-one correspondence with a user-selected track and a user-chosen file. If an error choosing the correct track/file pair is made, the user made it, not iTunes. Still, being able to point an album’s or artist’s worth of dead tracks at a folder of corresponding files seems like it would be a simple task, though in practice perhaps not always one-hundred percent fool-proof.
I’ve been putting off building something like that for a long time because of the fool-proof factor. It’s restrictive and awkward to make a one-size-fits-all tool without including a lot of options to account for idiosyncratic ambiguities that ultimately may generate more support issues—to put it politely—than I would like to handle.
With compromise and limitations in mind, I’m posting Track CPR, a script that assists with batch re-associating files with dead tracks.
And, in the interest of avoiding as many support issues as possible it’s somewhat narrowly focused; while this script will do a lot of the work for you, it can’t make a lot of decisions for you. Therefore you may find it tedious.
But not as tedious as clicking the “Locate” button 200 times:
So here’s how it works:
List MIAs v3.2 checks your entire iTunes library for missing and presumed dead tracks—those tracks that iTunes is unable to associate with a file and which are listed in iTunes with a “!”—and displays them allowing you to delete them from iTunes or export a text file listing them by alleged File Path (if available), Song Name, Artist and Album, which you can view using TextEdit.
This latest version auto-saves the window and columns sizes (this is kind of awkward to do with Cocoa-AppleScript) and has other minor performance tweaks.
More information and download is here. If you use it and like it a donation would be greatly appreciated.
Had to round up some files located on disparate drives, but iTunes tracks can’t be sorted using any file path information.
Playlists By Volume will sort the tracks of your iTunes library into discrete playlists based on the volume name of each track’s file’s location.
Takes about a minute per thousand tracks to complete.
More information and download is here.
A funny thing started happening shortly after the introduction of iTunes 11 a few months ago. I began getting reports from Correspondents about usually reliable scripts that weren’t working correctly. After closer scrutiny, we were able to determine that some of their media files were appearing twice in the library. That is, they were finding pairs of identical tracks in the “Music” library that each pointed to the same file. Like this:
Two “Music” track entries, same file.
This is not ever supposed to happen. iTunes should not allow a file in a unique location to be added to its library more than once.
Now, this is not the same effect as copying a library track two or more times to a playlist, whereby only one library track is involved. Nor is it the same as when iTunes appends a number to a filename to distinguish it from an earlier-added same-named file. Nor do these tracks seem to be a flavor of iTunes Match duplicates (iTunes Match may or may not be a factor in their appearance). This issue manifests as sets of two distinct library track entries, each having different IDs and both having the same value for the Location property.
I don’t know how this happens. But it definitely has something to do with moving media files around the wrong way and doing so with iTunes 11. It may be a bug and it may even be fixed by now. But I don’t know. I only got it to happen once myself while I was experimenting convolutedly with a different issue and I haven’t been able to replicate it since.
Regardless of how these pairs came to be, how now to find them and then to deal with them? If you have a very large library, you may not even notice if you have any faux pairs.
My duplicate removal apps, Dupin and Dupin Lite, can detect this condition but won’t attempt to delete any files. If the file of one of the tracks were deleted, well, then neither track would be pointing to a file any longer and you’d have a lot of dead tracks. There’s a trick to using Dupin to delete an arbitrary one of each of the track pairs, but, technically, they’re not the sort of “dupes” that Dupin wants to handle.
So, the applet Scan For Double Entries simply looks through your library for track entries that have the same file path (that is, the same file location) and will copy these pairs of tracks to a discrete playlist so you can sort them out yourself. Presumably you’ll want to delete one of the tracks in each faux pair and I’m not sure that’s something you want an automated tool to do for you, you know, automatically.
More information and download is here.