Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use one iTunes 9 library from two Macs at once Apps
Prior to the release of iTunes 9, iTunes would not allow two Macs to use the same iTunes library at the same time -- iTunes would report that the file is locked.

iTunes 9 (and 9.0.1) now allow two Macs to access the library at the same time! In my testing, I was able to run iTunes on both Macs, and play the same song, with no issues.
    •    
  • Currently 1.95 / 5
  You rated: 2 / 5 (22 votes cast)
 
[15,833 views]  

Use one iTunes 9 library from two Macs at once | 12 comments | Create New Account
Click here to return to the 'Use one iTunes 9 library from two Macs at once' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use one iTunes 9 library from two Macs at once
Authored by: atomb on Oct 16, '09 08:20:28AM

Can this be done with a Mac and a PC sharing the same iTunes 9 Library. Are you just pointing one mac to the others library or are they both pointing to a NAS?



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: Christian Leue on Oct 16, '09 09:02:32AM

This opens interesting perspecitves if it works reliably. You could in theory then put the library on a NAS or server volume, and wouldn't have to use the iTunes sharing. It needs to be explored how record locking is done. What happens when two machines add music to the library at the same time? Looks like I have a project for this weekend!



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: TF on Oct 16, '09 09:49:02AM

@Christian, please report back you findings from this weekend. It would be great to find out what you learn. Thanks in advance.



[ Reply to This | # ]
don't use one iTunes 9 library from two Macs at once
Authored by: Christian Leue on Oct 16, '09 11:47:26AM

That was quick enough: yes, you can do a "ln -s" of the local Music/iTunes folder to a shared drive or NAS and you can launch iTunes on two Macs at the same time. But that's all, and I think that "feature" has been available for many iTunes generations. Any additions to the library from one iTunes instance are reflected on the second machine only when you quit and relaunch iTunes on the second machine. If you edit a title on the first machine, the changed title becomes visible on the second machine only after you click the song to play it. I didn't bother to check what chaos will happen when both iTunes instances change the library at the same time, as I'm sure my library is too valuable to me to even want to try it.

Thus, you should only access the library read-only from the second machine. And then you might as well enable iTunes sharing on the first machine (yes, it has to stay turned on and may not go to sleep) and stream to the other Macs.



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: lujo on Oct 16, '09 09:09:12AM

Does the library get properly updated with song ratings, play count, etc. by both computers?



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: chucky23 on Oct 16, '09 09:16:48AM

This hint is a bit confusing and incomplete.

There was already the ability in iTunes 8 to allow multiple Macs to access the same iTunes library as long as they were both using the library to read only.

The problem in iTunes 8 was that if two Macs were to write to the library (to change playlists or ratings, for example), one of their changes would not take effect.

Since I'm not running iTunes 9 yet, I'm not sure from this hint if iTunes 9 has really changed anything or not.



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: u2mr2os2 on Oct 17, '09 11:31:10AM

Not working for me. I have my iTunes library (files and database) in the shared folder with special ACLs to make the sharing magic happen and persist. However, I can't open the database from more than one iTunes 9.0.1 at a time. It is quite common to confuse sharing the music folder with sharing the database. Am I missing something?



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: chucky23 on Oct 18, '09 08:24:08AM

I'm not sure why this doesn't work for you. But it does work in a read-only fashion.

I currently have three Macs all accessing the same iTunes library. (I'm using iTunes 8.2.1, but given this hint, I suspect iTunes 9 will be the same.) Any changes made to the iTunes library by two of the Macs is lost upon quit, but read-only operations work fine.

What error message do you get when the second Mac tries to access the library?



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: welshbaloney on Oct 17, '09 01:44:15PM

Anyone comment on implications for syncing iPhone?

I.e., I maintain all my iTunes media and iPhone management from my iMac, but would be nice not only to be able to manage iTunes from my Macbook Air but also sync my iPhone via my Macbook Air to the shared iTunes library...

Thanks



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: nuno.licapinto on Oct 20, '09 03:29:49PM

Welshbaloney thats a nice point! That would be really nice. Can someone test?

I think that iTunes9 is not the same thing because of the "Add to iTunes" functionality.
If the library is in a shared network disk, you can just add to that folder in a symlink and it would add, and update the iTunes. The question is, would it update all machines reading the library simultaneous ? That would solve the problem of the "writing".
Any clues?

Thanks,
Nuno



[ Reply to This | # ]
Multiple users on one computer sharing the library
Authored by: jamesbellthe1st on Nov 12, '09 06:07:39PM

I share one iTunes library between 2 users on one Mac. Up until a month or two ago, this caused issues if one user tried to open iTunes while the other user had it open (i.e. open iTunes and fast user switch to another account). It gave a "library locked" error or something similar, and iTunes wouldn't start in the 2nd account.
Now, it seems to work. I don't know if that's because of the iTunes 9 upgrade or a Snow Leopard upgrade. I occasionally get an error saying that the library can't be written to, but that error can be suppressed and it's still possible to open the library and listen to music.



[ Reply to This | # ]
Use one iTunes 9 library from two Macs at once
Authored by: lagreca on Dec 08, '09 10:01:57PM

I disagree. After reading this article, I copied my itunes DB to my NAS, and when I tried to access it from my second mac, it told me the db was locked. Just like with the previous versions of itunes.



[ Reply to This | # ]