Archive for the ‘Managing Track Info’ Category

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).

February 9 '12 - 11:10 am
UPDATED: Remove n Characters from Front or Back v4.3

Remove n Characters From Front or Back v4.3 will let 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 latest version is now stay-open and floats above iTunes, has live track selection detection, re-orients preview stepper direction to abide selected tracks’ sort order, can expand horizontally to enlarge Preview box, increases number limit from 24 to 60, and other minor enhancements.

Here’s a screenshot of Remove n Characters From Front or Back in action during a tag editing session that also includes This Tag That Tag and Search-Replace Tag Text, which are also stay-open floaters:

February 2 '12 - 9:16 am
UPDATED: Search-Replace Tag Text v3.1

Search-Replace Tag Text v3.1 is now posted. This applet allows you to perform search-and-replace text operations on a chosen tag in the selected tracks or tracks in a selected playlist:

This latest version fixes a problem escaping special characters, fixes a problem with operating on the Grouping tag, prevents non-results from displaying in the dry run window, adds close and minimize buttons, and has a few minor code finesses.

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.