Manage your iTunes library
#2
Posted 04 June 2008 - 08:53 AM
We're a large family with a central Mac we all use, each with a separate account. I have put the iTunes music folder in /Users/Shared so we all can have access.
Problem is, if one of us buys songs from the iTunes Store, it doesn't show up in all of the Libraries (because Libraries are always stored locally). This is fine most of the time because, to be honest, I don't always want the music my 13 y.o. buys. But I would like to know about the new music so I don't go out an re-buy the same song (this has happened more than once).
Any solutions? Any way to notify all users of new purchases? Yes, we could put a sticky on the front of the computer announcing the fact we have just bought a song, but I'm looking for something a little more "high-tech" :).
#3
Posted 04 June 2008 - 08:53 AM
This is not a reliable technique at all. iTunes on Mac OS uses alias records to track music files, and aliases don't remain valid when the referenced file moves to a new volume. The best means to move your iTunes library is to use iTunes' preferences to set the music library to the new desired location and then use the consolidate command. I suspect the reason the author saw it appearing to work lies in the use of the word "copy" in the tip; if you copy the files (rather than move them) iTunes will still find and use the ones on the original disk. The new library location will only be used for subsequently-added content.
#4
Posted 04 June 2008 - 08:57 AM
ttcrane said:
We're a large family with a central Mac we all use, each with a separate account. I have put the iTunes music folder in /Users/Shared so we all can have access.
Problem is, if one of us buys songs from the iTunes Store, it doesn't show up in all of the Libraries (because Libraries are always stored locally). This is fine most of the time because, to be honest, I don't always want the music my 13 y.o. buys. But I would like to know about the new music so I don't go out an re-buy the same song (this has happened more than once).
Any solutions? Any way to notify all users of new purchases? Yes, we could put a sticky on the front of the computer announcing the fact we have just bought a song, but I'm looking for something a little more "high-tech" :).
I wrote a program to deal with precisely that scenario in my own house. It compares the contents of the music folder with the active user's music library file, reports discrepancies and offers the ability to play the tracks (so you can decide if you want them) and import the songs into iTunes. Write to me at uce@splook.com and I'll send you a copy.
#5
Posted 04 June 2008 - 09:29 AM
Kirk
#6
Posted 04 June 2008 - 09:29 AM
#7
Posted 04 June 2008 - 09:30 AM
Um, seriously, you have more than 100 GB of stuff and you haven't backed it up yet...?
Kirk
#8
Posted 04 June 2008 - 09:38 AM
This is such a no-brainer. Why don't they do it? Frankly, managing two libraries of music and photos is becoming a nightmare for me.
#9
Posted 04 June 2008 - 09:53 AM
I used to use RooSwitch for this purpose, but it started having issues and was not very reliable.
#10
Posted 04 June 2008 - 10:59 AM
#11
Posted 04 June 2008 - 11:05 AM
kirkmc said:
I read that paragraph. What I'm saying is that the consolidate command should be the first resort. The mechanism that you suggested will never be sufficient if you're actually moving your content to a different volume until and unless you use the consolidate command, at which point the time the user spent on the manual copy was a wasted effort, and they'll likely end up with duplicate files in the new location, because iTunes renames the files it's moving so as not to overwrite the copied ones that it doesn't know about.
Specify a new location.
Consolidate.
Those two steps in that order comprise the easiest and most reliable way to move your iTunes library. Anything else is at best gratuitous.
#12
Posted 04 June 2008 - 11:16 AM
anil_robo said:
Which technique(s) specifically are you using to achieve this? That information should be carried through correctly as long as iTunes never actually loses track of the specific files. Let iTunes do the moving itself and it should "just work." If you end up moving the files manually, the primary iTunes library will no longer be aware of them unless you put them back in the same location when you're done (aliases will retain and try to resolve paths in addition to volume-ID/file-ID pairs). If you move the files manually and ultimately leave them on a different path your best bet is to move the iTunes Library file aside, edit the entries in iTunes Music Library.xml to reference the new location (if you're lucky a single global search/replace will do it) and then tell iTunes to import that XML file.
#13
Posted 04 June 2008 - 11:41 AM
The thing is I'm not running Leopard; I run Tiger. My current backup scheme requires individual backups of each of the 4 HD's in my G4 MDD (because I have music in various places on those 4 HD's because of lack of proper care initially, I admit), which is fine because I should be doing that, too, but I'd like to keep an iTunes-specific backup separate from those HD backups...one that I can run whenever I choose that will keep an running iTunes backup. What I'm looking for but never find (unless I'm simply not understanding) is one method to do the following:
Backup all the iTunes-related media I have onto a single backup hard drive, one that will preserve playlists, ratings, artwork, tags...the whole shabang...so that if I ever needed to, I could restore it all without losing anything.
I can't currently consolidate to one drive because I don't have enough room on any one internal drive, and I don't want to have the pain of plugging in an external drive any time I want to deal with iTunes. This issue will likely be resolved when I finally buy a Mac Pro and a giant boot drive (which I will then, of course, keep a single backup of), but until then, I'd like to have a viable solution for now.
#14
Posted 04 June 2008 - 11:49 AM
davekriss93 said:
Backup all the iTunes-related media I have onto a single backup hard drive, one that will preserve playlists, ratings, artwork, tags...the whole shabang...so that if I ever needed to, I could restore it all without losing anything.
I can't currently consolidate to one drive because I don't have enough room on any one internal drive, and I don't want to have the pain of plugging in an external drive any time I want to deal with iTunes. This issue will likely be resolved when I finally buy a Mac Pro and a giant boot drive (which I will then, of course, keep a single backup of), but until then, I'd like to have a viable solution for now.
But you do eventually want to have a drive dedicated to being an iTunes backup, right? One possible solution is to use that drive as sort of an intermediate step or staging area. Get the backup drive and start off by telling iTunes that's where you want your music stored and then using the consolidate command. Then rearrange the data on your non-backup devices so you do have a device that has enough space for your library, move it back there by using the consolidate command again and then use Finder to manually copy the library back to the backup device. You'll also want to take along the "iTunes Music Library.xml" which contains an almost-complete subset of the information iTunes tracks about your files in a form that can be manipulated if necessary and then reloaded.
If you don't want to end up with a consolidated library, or don't have the time/means to do the necessary reorg, you can use AppleScript to interrogate iTunes for the list of tracks and copy them. Doing that well will not be trivial, but it's certainly doable.
Help












