Random Applications




TuneSpan Website

TuneSpan
Your iTunes Library on multiple drives.


Pre-made AppleScripts for TuneSpan

Download Scripts for TuneSpan
Version 1.0   ·   Released June 10th, 2014

Show Release Notes
IMPORTANT MACOS 10.15 CATALINA NOTES:
TuneSpan DOES NOT currently support the new Music, TV, Podcasts, and Books apps in Catalina.
While future functionality may be possible for the new Music and TV apps, it isn't possible for Podcasts or Books.
Unfortunately I'm not yet certain if or when I'll be updating TuneSpan to support Catalina.

Spanned Music, Movies, and TV Shows will be properly migrated to the new Music and TV apps.
This means that the files will stay right where they are in their spanned locations and the new apps will play them properly.

Spanned Audiobooks will be copied to the new Books app storage location at "~/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books/Audiobooks/" on internal drive.
Spanned copies of these files will be left behind in the Span Location.

Regretfully, it appears the new Podcasts app is unable to find spanned Podcasts on its own.
When you play a spanned Podcast, you will be prompted to locate it manually.
In this dialog, you will be able to navigate to your Span Location to play the file.

IMPORTANT NOTE BEFORE UPDATING TO CATALINA:
Because of how the new Podcasts and Books apps handle their media files in macOS 10.15 Catalina,
I would recommend using TuneSpan to restore all Podcasts and Audiobooks to the default iTunes Media folder BEFORE updating to Catalina.

AppleScript Commands for TuneSpan

Load iTunes Library
▲ Top

load
Load an iTunes Library by Location or Reload TuneSpan
library text (Optional)
Absolute path to an iTunes Library (.itl or .xml) file.
reload boolean (Default = NO)
Reload current iTunes Library in TuneSpan?
prompt boolean (Default = NO)
Prompt to select from previously loaded libraries?
Overrides reload and library parameters.



Span & Restore Tracks
▲ Top

span
Select and Span Tracks
predicate text (Optional)
SQLite style predicate to query a set of tracks to span.
tracks list of text (Optional)
List of Persistent IDs for tracks to span.
playlist list of text (Optional)
List of Names or Persistent IDs of Playlists to span.
location text (Optional)
Absolute path to Span Location.
Current Span Location will be used by default.
replace boolean (Default = YES)
Replace current contents of Spanlist to the specified tracks?
Otherwise, tracks will be added.
confirm before boolean (Default = YES)
Confirm before starting span?
Please be careful when using this option.
quit after boolean (Default = YES)
Quit after successful span?
Only applies when launched by script and no pending events.



restore
Select and Restore Tracks
predicate text (Optional)
SQLite style predicate to query a set of tracks to restore.
tracks list of text (Optional)
List of Persistent IDs for tracks to restore.
playlist list of text (Optional)
List of Names or Persistent IDs of Playlists to restore.
replace boolean (Default = YES)
Replace current contents of Spanlist to the specified tracks?
Otherwise, tracks will be added.
confirm before boolean (Default = YES)
Confirm before starting restore?
Please be careful when using this option.
quit after boolean (Default = YES)
Quit after successful restore?
Only applies when launched by script and no pending events.



Spanlist & Location
▲ Top

spanlist
Add, Remove, or Set Tracks in the Spanlist
predicate text (Optional)
SQLite style predicate to query a set of tracks to select.
tracks list of text (Optional)
List of Persistent IDs for tracks to select.
playlist list of text (Optional)
List of Names or Persistent IDs of Playlists to select.
replace boolean (Default = NO)
Replace current contents of Spanlist to the specified tracks?
remove boolean (Default = NO)
Remove specified tracks from Spanlist?
Overrides replace parameter.



set location
Set Span Location or Restore Mode
span text (Optional)
Set to Span Mode with absolute path.
Treat as boolean for current Span Location.
restore boolean (Default = NO)
Set to Restore Mode?
Overrides span parameter.



Window
▲ Top

reveal
Reveal in TuneSpan
search text (Optional)
String to Search.
span filter text (Optional)
Name of Span Filter to select.
media type text (Optional)
Name of Media Type to select.
playlist text (Optional)
Name or Persistent ID of Playlist to select.
Treat as boolean to toggle Playlists.
location text (Optional)
Absolute path of Location to select.
Treat as boolean to toggle Locations.
tracks list of text (Optional)
List of Persistent IDs of tracks to select and reveal in the track list.
get info boolean (Optional)
Show or Hide the Get Info window?
Will not clear first when used alone.
spanlist boolean (Default = NO)
Browse the Spanlist?
full screen boolean (Default = NO)
Full Screen Mode?
clear first boolean (Default = YES)
Clear all selections in TuneSpan before making the specified selections?



Tools for iTunes
▲ Top

locate missing files
Attempt to Locate Missing Files with iTunes
confirm before boolean (Default = NO)
Confirm before starting locate?
quit after boolean (Default = YES)
Quit after locating tracks?
Only applies when launched by script and no pending events.



refresh album artwork
Refresh Album Artwork for Tracks in iTunes
predicate text (Optional)
SQLite style predicate to query a set of tracks to refresh artwork.
Overrides only spanned parameter.
tracks list of text (Optional)
List of Persistent IDs for tracks to refresh artwork.
Overrides only spanned parameter.
playlists list of text (Optional)
List of Names or Persistent IDs of Playlists to refresh artwork.
Overrides only spanned parameter.
only spanned boolean (Default = YES)
Should refresh only spanned tracks?
If not, artwork for all tracks will be refreshed.
one per group boolean (Default = YES)
Should only refresh one track per group (album, season, podcast, etc)?
It's faster.
quit after boolean (Default = YES)
Quit after refreshing album artwork?
Only applies when launched by script and no pending events.



create locations playlists
Create or Update "TuneSpan Locations" playlists iTunes
quit after boolean (Default = YES)
Quit after creating locations playlists?
Only applies when launched by script and no pending events.



Manage Pending Events
▲ Top

set pending events
Since some commands may take time to execute,
subsequent events are queued to be executed in order.
pop boolean (Default = NO)
Remove next pending event in the queue.
push next boolean (Default = NO)
Add event after this one to the front of the queue.
remove last boolean (Default = NO)
Remove last event in the queue.
clear all boolean (Default = NO)
Clear all events in the queue immediately.
Overrides all other parameters.



TuneSpan Help Information

TuneSpan Privacy Information

Contact Developer Directly