I’ve had a need for this for a while, but just haven’t had the time to do a bit of research - I wish I had sooner, because it’s really easy! The problem I had (and you might have too) is that you have multiple users on the same PC, who all want to listen to the same things - essentially all needing the same library.
By default, iTunes creates a file called “iTunes Library.itl” in the My Documents\My Music\iTunes folder. This is very useful, prevents the casual user from having to set anything up, and keeps everything organised for them. However, if you have multiple users it seems a bit of a waste, as each user has a copy of their library, which doesn’t reflect any changes other people make. So what to do?
1) Locate your music somewhere everyone can access it.
I know it sounds obvious, but most people leave their music in the default location, which is in that iTunes folder again, in your My Documents. Thankfully iTunes makes it pretty simple to change where it looks for music. Within iTunes, go to the edit menu, select the preferences entry and in the resulting box that appears, go to the Advanced tab. Replace the My Documents version with something else.. For instance I’ve got a separate HD for all of my music, which I’ve mounted as a folder in Windows on the C drive. So all of my music is available to everyone from C:\Music. I would also suggest you let iTunes manage your music, and make sure Copy Files to iTunes folder is ticked too, again just to keep everything central (by default iTunes will leave the music where it is and only add an entry to it in the Library - We obviously don’t want this.) And remember you need to go into every user and change this location setting within iTunes, and make sure the correct boxes are ticked underneath!
2) Centralise your iTunes Library.itl file.
This bit again is quite simple, but requires a little thought. Pick the user who has the most “complete” library, that is the person that’s spent the most time fiddling with the track names, or making sure the track numbers all line up. Once that’s been worked out, log in as that person, navigate to their My Documents folder, into My Music and the iTunes folder. You should notice quite a few things here and various folders. It’s just the .itl file we’re really interested in. Take a copy and place it somewhere central where everyone has access (mine is in C:\Music - to prevent me getting confused!) Now we need to let iTunes know what we’ve done, and the easiest way is to open iTunes whilst holding down the shift key. This will pop a little box open allowing you to choose where your library file is. Simply point it to your centrally located one, hit OK and you’re done!
Be aware (or beware) that this new Library file is accessible by everyone - if they make changes in their login in iTunes, you’ll see them in yours (which is kind of the point to this article) - so as long as you trust them you’re OK. Also as a bonus, if one user buys a new CD and rips the music into iTunes, everyone else can listen to the new tracks too. If other people that log into your machine are prone to screwing things up, I would probably suggest keeping their Library separate from everyone else’s (plus it makes them feel persecuted, so maybe they’ll change their meddling ways..) =)