Sharing iTunes with Multiple Users



4. Now then, if you are also going to use a Mac with this collection of music, you have to create a different iTunes library database. No, you don’t have to copy any of your music. You can still point the library to the same music files, but iTunes libraries are specific to the OS, so you will need to create a separate iTunes folder. I call mine “iTunes for Mac” so it is clear. So when you start up your Mac iTunes for the first time, hold down Alt/Option and select “Create Library”. Now it will ask you where you want to save the new library. Go into your M: drive and select “M:\iTunes for Mac” (or create this folder now if it doesn’t exist).

Something important to note about this: these are different databases. Changes made to the PC library and the Mac library are not the same. But, the music is in the same shared location. So if I’m on my PC and I copy a new CD into my library, it is copying into the iTunes Library for PC’s only. The iTunes for Mac library won’t ever know about the new CD. So you must go in and select “Add Folder to Library” when a new album has been added to the other library.

NOTE: If you open a PC iTunes library with your Mac iTunes, it will break all of the links and you’ll have to recreate the library from the PC again. Remeber, the “library” is different from all of your MP3 files. The library is just the iTunes database, and it is only chosen when you first set up iTunes. If you do make this mistake, it’s not big deal. Just go back to the PC and delete the iTunes library folder then recreate a new library. Remember, the iTunes folder is just the database and doesn’t touch your music files.

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.