Sharing iTunes with Multiple Users



How to share iTunes with a Mac & a PC, using one collection of music, and multiple users & computers :

So here is exactly what you’ll get as the result of this tutorial: all of your PC’s will have the exact same iTunes library. If you open up iTunes on your laptop, it will look exactly like the iTunes on your PC. It will see the same podcasts, same videos, same playlists, you get the idea.

However, if you have a Mac, that will have a different iTunes library. You won’t have duplicate MP3 files, but you will have a different “library”. Apple calls the music database your iTunes library. It’s just a fancy way of saying “your list of music”. Now then, anytime you add music in iTunes on the PC, you’ll have to manually add it to the iTunes library on the Mac if you want the music to appear. If you have multiple Macs, they’ll all share the same library, so a change to the Mac iTunes library will look the same on all Macs.

This is how my wife and I wanted it. We have a large collection of music, a Desktop PC, a Vista Laptop, and a MacBook. We wanted to be able to save our music (the MP3’s) to one place (our home media server) but be able to access it from any computer and be able to plug in our iPods to any computer to sync the new stuff.

If this is what you are looking for, read on:

Related posts:

  1. iPod Portable Stereo Review – Altec Lansing inMotion-600
  2. How to Change Views in Windows Explorer – Intro
  3. Run a Batch File Invisibly
  4. How to Show Hidden Files & Folders in Windows XP

Comments

10 Responses to “Sharing iTunes with Multiple Users”

  1. houdjak on February 6th, 2009 7:06 pm

    Thanks.

  2. Michael on May 28th, 2009 5:24 pm

    Nice and concise…and with a few tweaks, it works for me. I have a FreeNAS server holding my 10000+ mp3s that I want to share using my Macbook and a Wintel notebook.

    Step 2 (Map a network drive….) doesn’t work under OS X, but since “freenas” showed up in my Finder sidebar, I was able to point iTunes to the Music subdirectory on the server in Step 3.

    Thanks!

  3. brockangelo on May 28th, 2009 6:10 pm

    Michael,

    Thanks for your comment. On a Mac you can set this up to connect on startup if you haven’t done this already. From the Finder, click CMD + K. This opens your “Connect to Server” dialog. You probably already setup login information in here (it will remember it later). Then, if you want it in your startup, go to System Preferences -> Accounts -> (go to your account) -> Login Items. Then at the bottom of this screen, click the + (the plus icon) to add the mapped network drive. If it is already mounted, you’ll go to Network -> Servername -> Connect -> Choose the sharename.

    I don’t think it is as obvious on the mac. :-) But once it is in the startup, it works every time.

    Later

  4. Michael on June 14th, 2009 10:02 pm

    So, we’ve noticed something strange, now that things are up and running.

    We have a FreeNAS server running, with all our MP3s in a /media/music directory. I dutifully went to both computers (a Macbook Pro and an HP Windows XP notebook) and followed your steps. (I created two folders for the iTunes libraries on the network — one’s called “iTunes on HP Notebook,” the other is “iTunes on Macbook Pro.”)

    Ran iTunes on each computer — it found all the MP3s, created iibraries, found cover art, calculated gapless recording parameters, etc.

    Everything seemed fine. However….

    In practical use (on the Windows XP notebook), we found that when we added MP3s to the network drive — then manually added them to iTunes via “add a folder” — iTunes would add them…but when we’d quit the program and go back into it later, they’d be gone. The actual files were still there, they just weren’t in the library anymore. Ditto with any playlists that we created. They’d simply vanish.

    Not so on the Mac side. MP3s I add and playlists I create survive quitting the program and re-starting the program.

    Any ideas as to why this might be happening?

    By the way, I didn’t try the “connect to server” suggestion you talked about in that previous post…not sure I need to? I guess I’m not sure what it gives me that I don’t already seem to have….

    Thanks,
    Michael

  5. brockangelo on June 15th, 2009 4:35 am

    Michael,

    When you “Ran iTunes on each computer – it found all the MP3’s,…” did you point it to the new libraries that you just created?

    First thing, check your FreeNAS music folder for any additional “iTunes” folders. You should just have “iTunes on HP Notebook” and “iTunes on MacBook Pro”. If you also have an “iTunes” folder, that is the problem. One got setup with its own library. (it’s probably not this, so I’ll move on to step two – but check it to be thorough)

    It sounds like your iTunes can read from your FreeNAS music share, but it doesn’t sound like it has permission to write to it. “…but when we’d quit the program and go back into it later, they’d be gone” Quitting the program is when iTunes saves the changes to the database, so most likely it is buffering the changes, then, when you close the program, it just quietly fails. Open a folder to the music share by opening a command prompt in XP and going to: \\freenas-server-name\music-share-name\ Try to create a txt file. If it fails, you’ve found the problem. If it doesn’t fail, then navigate into the iTunes folders and do the same, try creating a text file. If it lets you write to the folder, then iTunes should be able to write to the folder as well.

    Let me know what you find.

  6. Michael on June 15th, 2009 12:58 pm

    Hi, Brock, and thanks for those suggestions.

    First, I checked the media folder where I store the iTunes folders for the HP and the Macbook…there were no extra iTunes folders.

    At an XP command prompt, I tried to navigate to the network drive using the method you suggested…to no avail….

    “CMD does not support UNC paths as current directories.”

    However, I have the folder where the iTunes library folders are stored mapped as a network drive (Z:\), so I cd’d to Z: and then cd’d to Z:\Media (that’s where the library folders are stored).

    I was able to create (and delete) both new directories with the “md” command, as well as text files with the “edit” command.

    This is getting puzzling…and I really appreciate your taking the time to help me out….

    Thanks!

  7. Michael on June 15th, 2009 1:07 pm

    Forgot to note this….

    After quitting iTunes on the XP laptop, when I go to the “iTunes on HP Laptop” folder, the files “iTunes Library.xml” & “iTunes Library.itl” show “Date Modified” dates and times that are consistent with the date & time I quit iTunes.

    Clearly, something is getting changed in those files — they’re just not getting updated with the MP3s I add or playlists I create.

    (But the Mac side is still working fine….)

    Thanks!

  8. brockangelo on June 15th, 2009 4:47 pm

    The date modified will change even if no changes were made to the database…

    I would guess that it is still a permissions issue with FreeNAS. Is the share setup with write access for everyone? My FreeNAS box got retired when I did an upgrade recently, so my music share is on my XP machine mounted as M:\. When I was using FreeNAS though, I had a wide open share that was world writable. If I remember right, if I used Windows Share Level permissions on FreeNAS, I wasn’t able to write anything to it.

    You may also try connecting to the share at the CMD prompt using the IP address: \\192.168.1.100\music-share\.
    If that works, you would want to make sure that you re-map your network drive using the IP. Not likely, but another thought.

    I don’t think this is it either, but it came up in a search: Right click My Computer, Properties, Advanced, Performance Settings, Advanced tab, Memory Usage box: is “Programs” checked? One user said that this made the difference.

  9. Desi on December 14th, 2009 7:28 am

    Hi – I setup FreeNAS and setup itunes server on freenas also. I can see my files but iTunes does not see the music share.

    Any ideas what am I missing?

    Thanks.

  10. brockangelo on December 14th, 2009 8:27 am

    I have since abandoned FreeNAS in favor of using a Windows XP box as my home server. I was having similar problems with the share, as a couple others have mentioned too. I haven’t played with FreeNAS enough to figure it out, and I’ve found that XP worked better in the role of a file server anyway. I hope this helps.