Jun 06, '07 07:30:00AM • Contributed by: rasman1978
- I have a laptop that I use at home but often take with me
- I have a desktop at home with much more storage space than my laptop
- I want to maintain all of my music on my desktop, but keep a subset on my laptop for playing when I'm not on my home wi-fi network.
- I don't even have a monitor, mouse or keyboard connected to my desktop machine
- And therefore, I want to control adding music to my library completely from my laptop
My solution is to add new songs to my local library, and then when I tire of them or need to free up some disk space, I send them to my shared library on the server. This way, I always have my newest music on my laptop, but if I want to listen to some older songs while I'm at home, I can connect to the shared network library inside iTunes. The trick to my solution is how I send the songs to the shared library, hence the title of this post.
I have written an AppleScript that will:
- Take the tracks I have selected in iTunes
- If any album art has been downloaded from the iTunes Store, and is therefore not embedded in the song file, embed album art into the song file
- Copy the files to a staging directory on the network server
- ssh to the network server and run an Automator script that will:
- Take all the files in the staging directory
- Add them to the iTunes Library, which copies the files
- Delete the files from the staging directory
Download workflow: AddFilesToITunes.workflow.zip [macosxhints mirror]
More about the script and workflow available in this post on my blog.
[robg adds: I haven't tested this one.]
