frontpage : tips & info : here
DIY: Remote Management Assortment
This step-by-step AppleScript project will illustrate, describe, and implement some techniques to help manage your iTunes media files with other users over the local network.
- Part 1: An automatic "push" script
- Setting up password-less ssh sessions; use rsync in dry-run mode to obtain a list of new music files in the local iTunes Music folder; run rsync again to really copy the files to a remote user's iTunes Music folder; add those files to the remote user's iTunes; add some fine-tuning; automatically run the script via a launchd agent.
- Part 2: Make it an automatic "pull" script
- Reverse directions; copy new files from another user's iTunes Music folder to the local user's.
- Part 3: Select tracks here and "push" to there
- Via user-interaction, select tracks in iTunes to send to a remote user's iTunes; add a routine to send selected tracks to a choice of multiple remote users.
- Part 4: Select shared tracks and "pull" them here
- Select remote tracks in a shared library and copy them to the local user's iTunes; use defaults to gather and store your usernames and IP addresses to eliminate the hard-coding.
- Part 5: Manipulate remote playlist creation
- Select remote tracks in a shared library and create a new playlist on the remote iTunes; delete a remote playlist.