dougscripts.com

TV app

January 13 2020 - 12:53 pm

UPDATED: Multi-Item Edit v6.6

For macOS 10.15 and later only. This applet will allow you to view and edit most tags (and some additional options) of the selected track(s) in a single floating window using single-edit mode (one selected track) or multi-edit mode, 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.

Can also be used to copy collected tags from one set of tracks to another set of tracks by toggling "Information Tracking".

Thanks to Wolfgang Reszel for the icon.

Latest version:

  • Fixes issue applying data to single selected track
  • Minor UI adjustments
  • Performance improvements

More information for Multi-Item Edit v6.6 and download link is here.

January 7 2020 - 10:27 am

Track Number isn't a TV Tag (Much)

I have to admit, it's hard to keep in mind what tags from iTunes are still available for which media in the Music and TV apps.

Case in point: the track number tag. A Track Number is the index of a track in its album play order. Every school child knows that (well, every school child familiar with "album"). Strictly speaking, it is a music-related tag. But because iTunes handled music and video tracks, ALL tracks had a track number tag.

The TV app apparently does not care to have much truck with the Track Number tag; it does not appear in a track's Show Info panel. But it can appear as a column in List View. And it is still accessible by AppleScript.

I heard from a Correspondent who was concerned about his pristine TV Show track numbering largely being obscured by the TV app. I suppose you could: 1) Put the list of TV Shows in List View, 2) Show the Track Number column and 3) Command-I each track and manually enter the Track Number into the episode field.

Or, run this script on a selection of TV tracks to copy the track number to the episode number:

tell application "TV"

set mySelection to (get a reference to selection of front browser window)

if mySelection is not {} then

repeat with aTrack in mySelection

try

tell aTrack to set episode number to track number

end try

end repeat

end if

end tell

January 1 2020 - 8:44 pm

UPDATED: File Renamer v4.5

For macOS 10.15 Catalina and later only. This script will rename the files of the selected tracks (or the files of the tracks in the selected playlist) using a substitution pattern that you formulate from the tracks' tag data. Optionally, export a copy of the files to a chosen location and rename the files in that location.

Works optimally with "Keep Media folder organized" un-checked.

Latest version:

  • Fixes problem with [play order]
  • Re-configured how the Preview window is/is not displayed
  • Minor performance enhancements

More information for File Renamer v4.5 and download link is here.

December 30 2019 - 1:24 pm

UPDATED: Find Empty Media Folders v2.1

For macOS 10.15 and later. This applet will traverse the Media folder looking for and displaying any sub-folders that are either empty or that do not contain Media-apps-playable media, such as text or image files.

Free to use in Demo Mode: While in Demo Mode, several convenient features will be disabled, including

  • Show Finder Information Window
  • Reveal in Finder
  • Send to Trash
  • Select all Empty/non-Empty
  • Scan other user-selected folder

Also see Media Folder Files Not Added.

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $2.99. When your payment is processed, you will be emailed a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Additional tweaks for macOS 10.15 compatibility

More information for Find Empty Media Folders v2.1 and download link is here.

December 21 2019 - 11:45 am

UPDATED: Compare Two Playlists v4.3

For macOS 10.15 Catalina and later only. Quickly compares the contents of any two playlists and displays the tracks that are common to both or the tracks in one playlist not contained by the other. Has tools to copy or move tracks from one playlist to another or delete common tracks from one or the other playlist. Can optionally create a text file report of these comparisons.

Free to try in Demo Mode: While in Demo Mode, several features will be disabled. An in-app purchase of a registration code will unlock the disabled features.

To purchase a registration code, download and launch the app. Click "Register..." in its File menu and follow the prompts to purchase a code for $1.99. When your payment is processed, you will receive a registration code that will unlock the Demo Mode restrictions.

Latest version:

  • Corrects a Dark Mode issue with playlist icons
  • Additional accommodations for macOS ≥ 10.15.3

More information for Compare Two Playlists v4.3 and download link is here.

December 17 2019 - 11:14 am

UPDATED: Change Finder Tags v3.0

This script will let you change the Finder tags of the selected tracks' files and/or each one's containing folder. Some users find this assistive when gathering files for use outside the Music or TV apps, Smart searches and so on.

Latest version:

  • This script was formerly called "Change File Label Colors of Selected Tracks".
  • Rebuilt UI
  • Added ability to also affect the folder containing each file
  • Accommodations for macOS 10.15 Catalina
  • Performance and security enhancements

More information for Change Finder Tags v3.0 and download link is here.

December 13 2019 - 9:10 pm

UPDATED: Create Archive of Selected v3.0

This script will create a .zip archive of copies of the files of the selected tracks and save it in a user-chosen location.

Latest version:

  • Accommodations for macOS 10.15 Catalina and the Music and TV apps
  • Performance and security enhancements

More information for Create Archive of Selected v3.0 and download link is here.

December 13 2019 - 8:22 pm

UPDATED: Disable Dated Tracks v2.0

This script will disable (uncheck) the tracks of the selected playlist whose last played date is before or after 00:00 (midnight) of a user-entered date.

Latest version:

  • Accommodations for macOS 10.15 Catalina and the Music and TV apps
  • Performance and security enhancements

More information for Disable Dated Tracks v2.0 and download link is here.

December 12 2019 - 8:32 pm

UPDATED: Re-Locate Selected v2.1

For macOS 10.15 Catalina and later only. This script will re-locate the files of the selected tracks from their current location to a single user-chosen folder. The Music app (or TV app) will be updated with each track's new location and all of each track's meta-data will be preserved. Optionally remove the files from their original location.

NOTE: If your "Keep Media folder organized" preference is set, you will not be able to create new folders or re-locate files in the Media folder; outside of it is OK.

Latest version:

  • Adds support for the TV app
  • Minor adjustments and fixes

More information for Re-Locate Selected v2.1 and download link is here.

December 12 2019 - 8:12 am

UPDATED: Make A Text List v6.0

It only recently dawned on me that the TV app doesn't have any export features. So you can't export any kind of list of tracks in a playlist or library. Nor is there a Print menu, for that matter.

You realise, of course, that this means TV app users are being denied the ability to Generate Lists. Because Generating Lists is a thing that particular collectors and mavens do in earnest. Like, all the time. More time spent Generating Lists than viewing the media in the lists, actually.

There's nothing wrong with this. There's nothing wrong with this. There's nothing wrong with this. (A list! See?)

AppleScript has access to all the properties of all the tracks in the TV app. And this information can certainly be compiled and exported in a number of listy fashions. But each track has to be queried for data using one AppleScript technique or another, and any technique along those lines will be non-fast. Not slow. Just not fast. (The ITLibrary API has its own issues with the TV app: it be like, "what is the TV app?")

So then I thought: if one reeeally wants to Generate Lists from the TV app and if it's going to require a relatively non-fast effort to prepare a batch of track data anyway...why not give one the opportunity to customize the output?

Make A Text List is a lame name for a script applet that will apply a user-configurable pattern substitution string to a row of information from each selected track or each track in a selected playlist in the TV app. Kind of like how a template would work with a mail merge. Thus specific tags can be included or excluded as contextually required per media kind and user-entered text can be used for additional mark up.

Once the rows of data have been (non-fastly) assembled the full text can exported to a file, copied to the clipboard (in both cases as plain text) or printed/exported through a full-featured print dialog.

At this stage, Make A Text List is pretty basic and I expect a few fringe issues. Eventually I'd like it to support the Music app which still has some fairly flexible albeit somewhat limited export features.

More information—and I implore you to read the Read Me—and download for Make A Text List is here.

Site contents © 2001 - 2024 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not be interrupting the one who is doing it.