Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Please Help !! .. Sync iTunes library data between 2 Machines

Please Help !! .. Sync iTunes library data between 2 Machines
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2003
Location: London, UK
Status: Offline
Jun 14, 2003, 07:16 AM
 
Hi All, need some help.

I've got 2 laptops which always carried around the house. There is a external hardrive which has all the mp3s. To play music, what we do is connect one of the laptops to the external drive and play the music.
The problem is that if someone puts new mp3s into the library, even though copied onto the external drive, they wont be available on the other laptop because of the Itunes library data file "iTunes 4 Music Library" located in the ~/Music/iTunes/

I sort of have a solution, but its not perfect yet. - This is where i need someones help..please.

At the moments i have set-up cron on one of the machines to do


code:
cp ~/Music/iTunes/iTunes\ Music\ Library.xml /Volumes/work_secondary/Music/


whilst on the other there is also another cron script that does


code:
cp /Volumes/work_secondary/Music/iTunes\ Music\ Library.xml ~/Music/iTunes/


This is fine, but what it means is that the library can be updated only on one machine. The other laptop (when cron runs) will also automatcly only update that list, but you cant import new mp3s.

It works fine for now ...but..:

Does anyone know a shell script that i can set-up in cron that will check for the latest "iTunes 4 Music Library" file modification date and depending on which laptop you are on will automaticly either replace the one on the external drive so the other laptop can pick it up or replace the original file on one laptop as the one on external is newer.

I hope all of this makes sense, but if anyone has better suggestions on how to get around this, it would be much appreciated.

Many Thanx!
     
Senior User
Join Date: Mar 2001
Status: Offline
Jun 14, 2003, 08:19 AM
 
if these are on a network (wireless or otherwise) why not just keep the mp3s in one spot and use iTunes music sharing to stream play from the source machine?
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Jun 14, 2003, 12:17 PM
 
Check it out! This forum is for OS X questions, and iTunes isn't OS X -- it's an application! Try again, in the Software forum.

tooki
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:34 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2