ITunes does not include functionality to look for new music and dynamically update the music library. All my music is store on a server so I needed an application that could:
- Synchronize music files from server to clients
- Update client ITunes libraries with new music files from server
Limitations
- Albumart is not imported automatically using this approach.
Installation guideline
- Place the directory syncitunes in /Applications/
- Edit the settings in the top of the shell script in syncitunes/scripts/syncITunes.sh (rsync commands can be commented out if you dont need to sync with a server)
- Edit the settings in syncitunes/launchd/com.skyandyou.tools.itunes.sync.plist
- Copy or move the com.skyandyou.tools.itunes.sync.plist file to /Users/username/Library/LaunchAgents
- Add execution of the script to launchd (this will make the script run with the delay defined in com.skyandyou.tools.itunes.sync.plist) by running following command in Terminal:
launchctl load /Users/username/Library/LaunchAgentscom.skyandyou.tools.itunes.sync.plist - In ITunes, Preferences, Advanced: Change the settings so music wont be moved to the ITunes directory
- Test the synchronization and library update by executing this command in Terminal:
launchctl start com.skyandyou.tools.itunes.sync
Open an other Terminal and watch all the action in the system.log:
tail -f /var/log/system.log
Relevant links
rsync
Applescript
Applescript through Java
Ingen kommentarer:
Send en kommentar