Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old May 20, 2008, 03:54 PM   #1
daleremote
macrumors member
 
Join Date: Oct 2002
Location: Austin, TX
Sync iTunes libraries between 2 computers?

I've been searching the forums and web looking for info on how to / best way to sync iTunes libraries (including playlists, ratings, and play counts). I've found several programs including TuneRanger, SuperSync, Syncopation and some others (links below).

The general consensus seems to be that they all suck.

Is this true? Has anyone had any good experiences with these?

(TuneRanger seems to do exactly what I want, but doesn't appear to have a free trial period.)

http://supersync.com/
http://my.smithmicro.com/win/tuneranger/
http://www.acertant.com/web/tuneranger/default.htm
http://www.socketheadstudios.com/mytunesync/
http://www.martian.com/SlingShot.html
http://www.deusty.com/software/mac.php
http://www.sonzea.com/syncopation/index.html

thanks!
daleremote is offline   0 Reply With Quote
Old May 21, 2008, 05:12 PM   #2
ScootPatoot
macrumors regular
 
Join Date: May 2008
I use Sync Toy from Microsoft (free download). I have my music folder on a network drive that both PC's can see, that I mapped to M: on both computers. I then wrote a script that will run Sync Toy to sync my two iTunes folders on both PC's and then open iTunes. The script takes a little less then a minute to run and will make sure that the two libraries are in sync.

It works pretty well, the only problem so far is that you cannot edit the two iTunes info at the same time (if you call that a problem).

Let me know if you want me to post the script.
ScootPatoot is offline   0 Reply With Quote
Old May 21, 2008, 08:18 PM   #3
daleremote
Thread Starter
macrumors member
 
Join Date: Oct 2002
Location: Austin, TX
You are teasing me with this PC only solution!

I was thinking of trying something on the Mac side using rsync for the song files and videos, and using some diffing program to compare/contrast the XML files, kind of a 2 step process, but that's kind of beyond me at this point.
daleremote is offline   0 Reply With Quote
Old May 22, 2008, 12:09 PM   #4
ScootPatoot
macrumors regular
 
Join Date: May 2008
Ahhh...sorry, I'm not a Mac guy but I would imagine a solution similar to the one I posted would work on a Mac setup.
ScootPatoot is offline   0 Reply With Quote
Old Sep 19, 2008, 05:49 PM   #5
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Did you have any luck figuring this out? I'd like my Mac Mini to be my main library to sync with my ipod, but I'd also like a copy on my MBP.

Meta data is incredibly important to me and my smart playlists so I'd love a solution!
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 19, 2008, 08:51 PM   #6
daleremote
Thread Starter
macrumors member
 
Join Date: Oct 2002
Location: Austin, TX
I pretty much gave up. Decided to keep it simple and have one iTunes library (on one computer).

I was leaning towards Sonzea Syncopation or TuneRanger.

I couldn't find any software that got consistently good reviews.
daleremote is offline   0 Reply With Quote
Old Sep 20, 2008, 02:01 AM   #7
polar-blair
macrumors regular
 
Join Date: Apr 2008
Do you have a airport extreme or time capsule, or any other wireless router that allows for a external HD to be connected to it? If you dont the this wont really help, but very soon there will be four macs in my house, so I have come up with a plan for my new network, should be great (if it works) anyway... you could use one of your macs and copy your itunes library over to the HD, then connect it up to the router, then in properties... advanced... change the destination where your mac looks for the library on the wireless network, then get your other mac to do the same.

I havnt tried this in reality, so I dont know what would happen if one mac downloaded, ripped, or edited any new content, if it would automatically show up on all the other macs. Im not sure. But you could give it a shot.
__________________
20" Aluminum iMac 2.0GHz, 2 GB RAM, 250GB HD; iPhone (EDGE); iPod Classic 160GB
Watch My Youtube Videos http://www.youtube.com/user/polarblair2000
polar-blair is offline   0 Reply With Quote
Old Sep 20, 2008, 07:29 AM   #8
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Quote:
Originally Posted by daleremote View Post
I pretty much gave up. Decided to keep it simple and have one iTunes library (on one computer).

I was leaning towards Sonzea Syncopation or TuneRanger.

I couldn't find any software that got consistently good reviews.
Aw I was worried about that. Yeah I can't find any solid reviews for any of the solutions. I can't believe how hard it is to do something like this. It's not like we are the only ones with 2 computers! If only you could update play/skip data on network tunes, then that would be fine.

Quote:
Originally Posted by polarblair
I havnt tried this in reality, so I dont know what would happen if one mac downloaded, ripped, or edited any new content, if it would automatically show up on all the other macs. Im not sure. But you could give it a shot.
IT wouldn't automatically show up. You'd have to re add it I'd assume. Unless they all used the same iTunes Music Library.xml file.. Hmm,,
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 20, 2008, 09:19 AM   #9
daleremote
Thread Starter
macrumors member
 
Join Date: Oct 2002
Location: Austin, TX
Maybe store Library.xml on a network drive?

No good for laptops away from home, though.
daleremote is offline   0 Reply With Quote
Old Sep 20, 2008, 11:33 AM   #10
chrono1081
macrumors 604
 
chrono1081's Avatar
 
Join Date: Jan 2008
Location: Isla Nublar
Not sure if this works cause I don;t have two macs to try it but can you sync another persons library in itunes?

If so and your computer is on the same network you can share your itunes library on one computer and see it on the other and sync it (if your able to)
__________________
Mac Pro (2010): 3.33Ghz Intel Xeon (6 core) - 24 GB RAM - NVidia Quadro k5000
Macbook Air (2010): 2.13 Ghz Intel Core 2 Duo - 4GB RAM
chrono1081 is offline   0 Reply With Quote
Old Sep 20, 2008, 11:50 AM   #11
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Quote:
Originally Posted by daleremote View Post
Maybe store Library.xml on a network drive
The only problem with this solution is you could only have iTunes open on one computer at a time. And you'd have to close it before opening it on another Mac, so it would write changes to the xml file.
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 20, 2008, 09:35 PM   #12
daleremote
Thread Starter
macrumors member
 
Join Date: Oct 2002
Location: Austin, TX
Looks like this all we can do:
1) Buy Syncopation or TuneRangers
2) Cross fingers
3) Hope for the best
daleremote is offline   0 Reply With Quote
Old Sep 20, 2008, 10:32 PM   #13
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Here's what I do:

I keep my main iTunes library on my PC, and have the entire iTunes folder shared.

On my MBP I have an Automator script setup that mounts the PC's iTunes folder, runs rsync to pull any new music from my PC, and then dismounts.

In the rsync command, I exclude Library.xml, as this will get rebuilt by iTunes when I open it on the Mac side. The important things to sync are your music folder and your Library.itl file. I'm not sure about the new Extras.itdb and Genius.itdb files since I haven't ran my automator script since iTunes 8 came out.
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote
Old Sep 21, 2008, 04:30 AM   #14
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
That's a good idea! So your Automator just mounts your PC drive then runs the rsync command? I'm just reading the man pages for it, let me get this straight.

its
Code:
rsync [options] [source] [destination]
So in my case it'd be

Code:
rsync ~/Music "/Volumes/(mac mini)/Music/iTunes"
Is it worth sticking on any options? And rsync is one way isn't it, so I presume if I wanted to sync the other way, I should just amend the script?

I should probably fetch some network cables cos I'm not transfering a 24 GB library over WiFi
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 21, 2008, 08:46 AM   #15
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Quote:
Originally Posted by pulsewidth947 View Post
That's a good idea! So your Automator just mounts your PC drive then runs the rsync command? I'm just reading the man pages for it, let me get this straight.

its
Code:
rsync [options] [source] [destination]
So in my case it'd be

Code:
rsync ~/Music "/Volumes/(mac mini)/Music/iTunes"
Is it worth sticking on any options? And rsync is one way isn't it, so I presume if I wanted to sync the other way, I should just amend the script?

I should probably fetch some network cables cos I'm not transfering a 24 GB library over WiFi
Here is my full command:

Code:
rsync -av --force --delete --stats --size-only -e ssh --exclude="ethumbs_vista.db" --exclude=".DS_Store" --exclude="iTunes\ Library.xml" /Volumes/iTunes/* ~/Music/iTunes > ~/Documents/AutomatorLogs/iTunesMSync.log
And here are what the options do:
-av: -a basically says to sync everything recursively and preserve things like date modified, -v is just verbose mode (so I have more details written to my log file)
--force: prevents you from having to confirming overwriting files
--delete: if something has been removed from the source, it will delete it on the destination
--size-only: skip files that match in size
-e ssh: chooses an alternative remote shell (i don't really remember why i use this)
--exclude: excludes certain files from the sync. I excluded hidden files and my Library.xml file
> at the end simply directs the output to a log file (since automator doesn't really show you anything when it runs shell scripts)

You'll have to play around the options yourself to get the command built to your needs. Make sure you have a backup of your iTunes before you start testing it out

You are correct this is a one way sync only. If you want to reverse the direction I would create a second automator script and just reverse the source and destination paths in the command.
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote
Old Sep 21, 2008, 10:12 AM   #16
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Nice - I've just done this, and it worked great. I'm going to write a guide so that others can do it to.

One thing I've noticed though - if you are syncing between two Macs, that both have the same account shortname, you can even copy over the iTunes Music Library.xml, and all your meta data is there. This is fantastic news for me as I'm quite strict about all my meta data!
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 21, 2008, 11:03 AM   #17
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Quote:
Originally Posted by pulsewidth947 View Post
Nice - I've just done this, and it worked great. I'm going to write a guide so that others can do it to.

One thing I've noticed though - if you are syncing between two Macs, that both have the same account shortname, you can even copy over the iTunes Music Library.xml, and all your meta data is there. This is fantastic news for me as I'm quite strict about all my meta data!
Nice...the reason I excluded Library.xml is because I'm syncing between a PC and a Mac, so the C:\ paths in the PC version wouldn't work very well on my Mac

What exactly is in the Library.xml file that wouldn't be in your Library.itl file? I am under the impression that the itl file contains all metadata and it generates the xml file automatically when you open itunes (if it doesn't exist). When I copy everything over to my mac (excluding the Library.xml file and letting itunes generate a new one), I still have my metadata (play counts, ratings, etc)
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote
Old Sep 21, 2008, 01:46 PM   #18
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
I don't know.. Let me check. Also I couldn't get the Automator log thing to work. Do you have to set up a log file first? The Automator workflow works fine if I take out > ~/Documents/AutomatorLogs/iTunesMSync.log

Can't find the itl file, but if it works for you then it must generate the xml automatically.
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 21, 2008, 02:29 PM   #19
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Quote:
Originally Posted by pulsewidth947 View Post
I don't know.. Let me check. Also I couldn't get the Automator log thing to work. Do you have to set up a log file first? The Automator workflow works fine if I take out > ~/Documents/AutomatorLogs/iTunesMSync.log
I don't think you have to setup the log file first, but make sure the directories exist maybe.
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote
Old Sep 21, 2008, 02:32 PM   #20
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Quote:
Originally Posted by odinsride View Post
I don't think you have to setup the log file first, but make sure the directories exist maybe.
Yeah that worked
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 21, 2008, 03:29 PM   #21
Sesshi
Banned
 
Sesshi's Avatar
 
Join Date: Jun 2006
Location: One Nation Under Gordon
Quote:
Originally Posted by daleremote View Post
Looks like this all we can do:
1) Buy Syncopation or TuneRangers
2) Cross fingers
3) Hope for the best
Pretty much. And then it only works if you duplicate your entire library - and even then, it can be unreliable / uncooperative. Handling of anything but the main music library (i.e. excluding podcasts, etc) is bad on Tuneranger.

Haven't tried Syncopation, and since it's not cross-platform I haven't any intention of trying it.
Sesshi is offline   0 Reply With Quote
Old Sep 21, 2008, 03:33 PM   #22
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
I've uploaded the freshly written guide here:

http://guides.macrumors.com/Keeping_...raries_in_Sync


My initial impressions are that it works great. Providing you only use one Library at a time and sync before changing computers. I can't say if this is better or worse than the above software, but it's certainly cheaper at $0

Annoyingly, as soon as I submitted that article I thought of a way to do it all within an Applescript. Damnit
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 21, 2008, 03:41 PM   #23
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Quote:
Originally Posted by pulsewidth947 View Post
I've uploaded the freshly written guide here:

http://guides.macrumors.com/Keeping_...raries_in_Sync


My initial impressions are that it works great. Providing you only use one Library at a time and sync before changing computers. I can't say if this is better or worse than the above software, but it's certainly cheaper at $0

Annoyingly, as soon as I submitted that article I thought of a way to do it all within an Applescript. Damnit
Thanks for putting all of this into an article
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote
Old Sep 22, 2008, 04:58 AM   #24
pulsewidth947
macrumors 65816
 
pulsewidth947's Avatar
 
Join Date: Jan 2005
Location: squarefrog.co.uk
Quote:
Originally Posted by odinsride View Post
Thanks for putting all of this into an article
No worries. I've learned more about Unix in the past couple of days than I have in the past 3 years! I really like how you can learn any function by just looking at the man pages.

It came in incredibly useful this morning as someones Powerbook wouldn't boot and the internal hard drive wouldn't mount. But I could boot up to a Leopard install disc, get into terminal and copy their user folder over using ditto. Awesome.

I'm trying to work out why you use -e ssh, but I can't figure out why. I've just left it in, in my PC/Mac transfer example. The next thing is putting all of this into an Applescript so that it pops up asking which mac I want to use as the source then auto copying over. I've done all that, but it's getting the script to output the copying status thats hard. It's not that useful unless it lets you know that it's working!
__________________
Refurb 15" Glossy MBP: 2.4GHz SR, 120GB OCZ Vertex 2, 320GB HD, 4GB RAM.
Mac Mini: 1.83GHz Core Duo, 2GB RAM.
pulsewidth947 is offline   0 Reply With Quote
Old Sep 22, 2008, 07:21 AM   #25
odinsride
macrumors 65816
 
odinsride's Avatar
 
Join Date: Apr 2007
Quote:
Originally Posted by pulsewidth947 View Post
No worries. I've learned more about Unix in the past couple of days than I have in the past 3 years! I really like how you can learn any function by just looking at the man pages.

It came in incredibly useful this morning as someones Powerbook wouldn't boot and the internal hard drive wouldn't mount. But I could boot up to a Leopard install disc, get into terminal and copy their user folder over using ditto. Awesome.

I'm trying to work out why you use -e ssh, but I can't figure out why. I've just left it in, in my PC/Mac transfer example. The next thing is putting all of this into an Applescript so that it pops up asking which mac I want to use as the source then auto copying over. I've done all that, but it's getting the script to output the copying status thats hard. It's not that useful unless it lets you know that it's working!
True, that would be a nice feature. I've never done any Applescript myself, sorry I can't help ya...but I'll keep checking this thread and the article to see what you come up with
__________________
"It is just that heavy metal musicians write in minor keys, and when you do that, you frighten people." - Ronnie James Dio (RIP)
Flickr
odinsride is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Sync two different libraries using iPod? mikeypizano iPod 0 Jan 15, 2014 04:57 PM
iPhoto - Accidentally got multiple libraries on two computers? CaliTricia Mac Applications and Mac App Store 2 Nov 4, 2012 11:57 PM
Using multiple computers and itunes for iphone creating sync problems. Yashraj iPhone 10 Oct 9, 2012 06:27 PM
Authorizing/deauthorizing computers and moving iTunes movies to new computers txinternational Mac Applications and Mac App Store 2 Jun 28, 2012 01:49 PM
Automator to sync iTunes Libraries Roadrun3r Mac Applications and Mac App Store 1 Jun 18, 2012 07:43 PM

Forum Jump

All times are GMT -5. The time now is 01:34 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC