Archive for the ‘Managing Track Info’ Category

October 19 '14 - 5:59 pm
UPDATED: Enter Description Tag for Selected v2.0

iTunes 12 no longer provides a means for editing the Description tag of multiple-selected tracks. This oldie, Enter Description Text for Selected, was just updated to v2.0 and will let you enter text for the Description tag of the selected tracks.

Technically (according to iTunes), the Description tag isn’t supposed to be applicable to music tracks. But all track entries have an AppleScript description property.

October 1 '14 - 8:46 am
UPDATED: Append to Selected Tag v4.0

Append to Selected Tag v4.0 can append the same user-entered text to the beginning or ending of the existing text in the chosen tag (Song Name, Artist, Album Artist, Album, Composer, Comments, Genre, Grouping or Show Name, and their Sort siblings) in each selected track.

For tags other than “Song Name” and “Show Name”, this script may be just slightly less involved than performing a multi-edit on the selected tracks. On the other hand, unlike using the modal “Get Info” panel in iTunes, tracks remain accessible and selectable.

This latest version adds support for OS X 10.10 Yosemite and iTunes 12 (and drops support for pre-Mountain Lion), provides a “Check for Update” menu command, and has other minor tweaks.

More information and download is here.

February 4 '14 - 7:44 am
UPDATED: This Tag That Tag v3.4

This Tag That Tag v3.4 will assist with swapping, copying, and appending data between two user-chosen tags in selected tracks or tracks in the selected playlist:

Swap – swap data between tags, ex: ARTIST<->COMPOSER
Copy – copy data from one to another tag, ex: ARTIST->COMPOSER ARTIST
Append – append data from one tag to the end of another, ex: ARTIST->COMPOSER – ARTIST
Prepend – prepend data from one tag to the beginning of another, ex: ARTIST->ARTIST – COMPOSER

The latter three actions also provide an option to delete the info from the first tag after the copy.

This latest version adds “Category”, “Description” and “Episode ID” text tags as options and a few minor tweaks and adjustments.

More info and download is here.

February 2 '14 - 8:17 am
Disc 1 of 1

A Corespondent laments:

My personal preference when dealing with the disc count field (1 of 2, etc) is to leave it blank for single CD albums instead of tagging them as “1 of 1.” There is something about 1 of 1 that just bugs me so I try to clear those out. Can you think of anything you have that can search in those fields? Sorting the library by disc number [is an unsatisfactory solution] because every disc 1—regardless if there is a second disc—gets sorted.

Yeah. It would be easy to do a Multi-Item edit on these guys if you could only corral ‘em all together somehow. But: sorting by Disc # sorts by Disc Number alone and ignores the Disc Count so the “1 of 1″ tracks are not necessarily sorted together; rather, they’re sorted by Album (all the Disc 1 albums A-Z, followed by all the Disc 2 albums A-Z, and so on). Smart Playlists are of little use to gather up these tracks since Disc Count is not a smart criterion.

So here’s a script that will look at each track in a selection or all the tracks in the selected playlist; if the track’s Disc Count is 1 the script will set it to 0, effectively blanking it:

tell application id “com.apple.iTunes”

set thePlaylist to (get view of front window)

set sel to selection

if sel is {} then

# all tracks in playlist

repeat with i from 1 to (get index of last track of thePlaylist)

my processTheTrack(track i of thePlaylist)

end repeat

else

# selected tracks

repeat with i from 1 to (length of sel)

my processTheTrack(item i of sel)

end repeat

end if

end tell

to processTheTrack(t)

tell application id “com.apple.iTunes”

try

if disc count of t is 1 then set disc count of t to 0

end try

end tell

end processTheTrack

You can save that in AppleScript Editor named whatever you like and using “Script” as the file format to your ~/Library/iTunes/Scripts/ folder whereupon it will appear in the iTunes Scripts menu.

The script iterates through each track individually, so if you run it against your entire Music library playlist you’ll have time to file nails, tidy bookshelves, re-string guitar, or perform some other menial task.

UPDATE: To eliminate the disc number as well (although I prefer to keep it) change the handler to this:

to processTheTrack(t)

tell application id “com.apple.iTunes”

try

if disc count of t is 1 then

set disc number of t to 0

set disc count of t to 0

end if

end try

end tell

end processTheTrack

October 18 '13 - 8:59 am
UPDATED: Search-Replace Tag Text v3.5

Search-Replace Tag Text v3.5 performs a search-and-replace on the text in your choice of tag (Song Name, Show, Artist, Album Artist, Album, Composer, Comments, Genre, or Grouping) in the selected tracks or all the tracks in the selected Playlist. Features case sensitivity and whole word match options and dry run preview.

This new version stores the dry run setting between launches, has some additional minor tweaks and is ready for Mavericks.

More information and download is here.

September 21 '13 - 10:20 am
NEW: Multi-Media Items Edit

For reasons not yet clear, as of iTunes 11.1, multi-item editing is no longer possible when a track selection contains mixed media kinds, audio and PDF for example. Kirk explains the matter here.

The script Multi-Media Items Edit provides basic tag editing for a selection of tracks of any media kind.

Wondering why your favorite tag or option isn’t included? Just keeping it simple, friend-o.

January 12 '13 - 12:25 pm
UPDATED: Search-Replace Tag Text v3.4

Search-Replace Tag Text performs a search-and-replace with the text in your choice of tag (Song Name, Show, Artist, Album Artist, Album, Composer, Comments, Genre, or Grouping) in the selected tracks or all the tracks in the selected Playlist. Features case sensitivity and whole word match options and dry run preview.

This latest version enables the window to be resized horizontally in order to expand the width of text entry fields.

September 13 '12 - 1:29 pm
UPDATED: Remove n Characters From Front or Back v4.6

Remove n Characters From Front or Back lets you delete a specified number of characters from either the beginning or the ending of the Song Name, Album, Artist, Comments, Composer or Show tag (or their “Sort” siblings) of each selected track. For example, delete the initial digits and the space from “01 First Track”, “02 Second Track”, and so on.

This updated version caps the maximum number of characters to the length of the shortest text in the selected tags, preventing inadvertent deletion of tag text that may be shorter than the user-set number of characters to remove.

September 11 '12 - 12:26 pm
UPDATED: Search-Replace Tag Text v3.3

Search-Replace Tag Text v3.3 performs a search-and-replace with the text in your choice of tag (Song Name, Show, Artist, Album Artist, Album, Composer, Comments, Genre, or Grouping) in the selected tracks or all the tracks in the selected Playlist. Features case sensitivity and whole word match options and dry run preview.

The latest version sports conventional search fields and has some minor code tweaks.

May 5 '12 - 11:41 am
UPDATED: This Tag That Tag v3.1

This Tag That Tag will assist with swapping, copying, and appending data between two user-chosen tags in selected tracks or tracks in the selected playlist:

Swap – swap data between tags, ex: ARTIST<->COMPOSER
Copy – copy data from one to another tag, ex: ARTIST->COMPOSER ARTIST
Append – append data from one tag to the end of another, ex: ARTIST->COMPOSER – ARTIST
Prepend – prepend data from one tag to the beginning of another, ex: ARTIST->ARTIST – COMPOSER

The latter three actions also provide an option to delete the info from the first tag after the copy.

This latest version allows numerical tag data to be copied (for example, the Year tag’s data can be copied to the Comments tag).

Site contents © 2001 - 2014 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.