Quantcast
You are not logged in, click here to log in.

This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: May 13, 2008 12:11 AM by stephen23  
Click to view stephen23's profile New Member 16 posts since
Dec 1, 2004
Reply

Dec 21, 2007 5:29 PM

Using Multiple Folders for iTunes

I'm sorry if I'm broaching a subject that's already been covered, but I've searched around, thinking I can't be the only person having these issues, but haven't seen it covered anywhere else...

A couple years ago I migrated my entire music collection to my computer and sold all my CD's. Due to the size (250 gigs of apple lossless files) I put it on an external hard drive (then of course backed that up onto a completely separate external drive) which gave me the freedom to not just use the drive with my desktop system, but to take it on the road and use it with my laptop as well. Combined with airtunes optical output, the lossless files sound at least as good as the CD's ever did, and it doesn't matter where I have my computer or my stereo... the wireless signal means that it works perfectly. I love the whole set-up.


So far so good.


Generally when traveling I take my 60gb ipod, which obviously won't hold the 250 gigs of music, but that's okay, since putting the lossless files on there would just eat up more batttery power anyway. So, I made another folder and used iTunes to copy all the music to it, knocking it down to reasonably sized AAC files - Voila, I've got all my music on my ipod with a bit of room to spare for TV shows and such.


For the last two years, I had no problems with this set up.. I'd import a new CD as both a lossless file to the main folder and as an ACC to that one, and make sure I was using the ACC files when I would sync my ipod. But now, suddenly I am having problems. I did a sync a couple days ago and then switched back to my lossless folder, as I've always done, but for some reason, iTunes is still wanting to use the ACC files instead of the lossless. The lossless files are on the drive, same place they've always been, and the advanced preferences are set up to look for them there, but for some reason it stayed with the ACC files in the library. I then tried unmounting the hard drive with the ACC folder on it, thinking that itunes would have no options then but to look in the proper folder for the lossless files. Instead, now it's showing me the exclamation marks for all of those songs, saying it can't find them. I can remount the other drive, and use the ACC files, or I can easily go through, one by one, and point each song to the proper place on the lossless drive, but obviously with 250 gigs of music, one by one is not an option for a true fix, even if it is only a few keystrokes. I've tried and tried to find a way to point the entire library, or at least album by album, back to the right folder, but iTunes is having none of it. It's one song at a time or nothing...


So, yes, I've finally gotten to my question:


Is there a way to point an entire batch or library of songs to a new folder when iTunes isn't seeing it on its own?


And secondly, is there something I'm doing wrong that leads to this problem? I can't imagine I'm the only one out here who is using this kind of set-up, wanting to keep a lossless folder for my computer, where storage space is plentiful and quality is paramount, but also wanting to keep a folder for my ipod, where a compromise between quality and file size are important. This worked smoothly for so long, I've been wracking my brain for the last two days trying to figure out what is different, but I can't find a reason for this, nor a solution.


Any help from those more wise than me, would be deeply appreciated.


Stephen

edit - (it shouldn't matter too much for this question, but since it will come up, I am using a Mac Pro desktop system running 10.4.9 - latest updates all around, with the latest version of itunes. The drives are a iomega firewire 800 drive, and a WD firewire 400 MyBook drive as the backup. iTunes won't recognize either lossless folder on either drive without being pointed there manually, song by song. )

Reply
Click to view mdawson's profile Old Hand 2,836 posts since
Aug 31, 2004
1. Dec 22, 2007 8:08 AM in response to: stephen23
Re: Using Multiple Folders for iTunes

First, let me make sure that I understand your set up here. If I am reading your post correctly, you have you music collection ripped as Apple Lossless files on an external hard drive then also included AAC versions of your music collection on the same drive; I see no indication that your AAC files are on a different volume from your lossless files. Secondly, your music is wisely backed up on another drive. Unfortunately, you have sold off your physical media, which I would strongly recommend against, but that advice is too little too late and not the crux of your current problem.

In general, I would recommend creating a folder structure to organize one’s music collection, but in your case separate libraries would perhaps be the best way to go in the long run. The reason for that is because you have music files that have ID3 tags that are mostly identical excepting format and bit rate. Realistically, iTunes should not confuse the Apple Lossless and AAC versions of your files, but as they are near exact duplicates, it is a possibility. The sudden loss of half od your collection—in terms of linking to the music files—seems to point to database corruption.


The biggest problem is that your collection is perhaps quite sizeable making the task of separating libraries a rather daunting task at this point—it would have been easier to do so as you ripped your CDs, which is one of the reasons I spent a great deal of time planning the organization of my iTunes library (e.g., playlists, folders, tagging standards, etc.) before I ripped the first CD then scanned and added album art as I ripped each disc. As your music is essentially a single library with (at least) two folders, I cannot think of why iTunes would find the contents of one folder but not another. If you simply look at your music library in iTunes, as opposed to the specific folder contents, do you still get the missing link icons?

If you tell iTunes to play music from a particular folder, then it should do so. For instance, if I have my “R&B (1990s)” folder selected and start playing music iTunes should not be playing music from my “Rock (1980s)” folder. Of course, I almost exclusively play music directly from iTunes using Party Shuffle, but the same rules apply. I am not sure of what iTunes behavior would be if a song is missing a link to a file, but I would guess that the track would be skipped. In your case, because you have duplicates in another format, perhaps iTunes is intelligent enough to seek duplicate songs; as a result iTunes may be switching to your AAC folder.

In the worst case, you should not need to re-link your lossless files one-by-one, but there are a few things I would need to know before I can determine a feasible plan of action:

  • Do you have “Keep iTunes Music folder organized” selected as a preference?
  • Do you have your Apple Lossless and AAC files distinctly separated on your external drive? That is, are the two file types in separate folders on your hard drive or lumped together as just files?
  • In iTunes, do you only have the two folders based on file type or does each file type folder also have a folder/playlist structure within them?

Once I have the specifics of how you have your music organized in iTunes and on your hard drive, I may be able to offer suggestions on how to recover your music library.


“Cannot run out of time. There is infinite time. You are finite. Zathras is finite. This is wrong tool.” 2.3GHz Power Mac G5/4GB/500GB HDD/OS X 10.4.11/30-inch ACD, 60GB iPod (Color)
Click to view mdawson's profile Old Hand 2,836 posts since
Aug 31, 2004
3. Dec 22, 2007 6:32 PM in response to: stephen23
Re: Using Multiple Folders for iTunes
OK, you have cleared up some things for me. Typically when one refers to folders in terms of iTunes, they are discussing playlist folders that appear in the source list in iTunes. You are referring to the folders on your hard drive that, from the point of view of iTunes are two distinct libraries—Compressed Music and Lossless Music—each of which is organized by the artist > album > song structure created by iTunes. With “Keep iTunes Music folder organized” selected in iTunes preferences, that structure should definitely not be altered. So you do have separate libraries, which is the best way to deal with a single collection in two file formats.

Where your problem may lay is that while you have two distinct libraries, you are forcing iTunes to use the same library database file fro each of them. Why it took this long for problems to surface is anyone’s guess. The way iTunes is set up, setting a library location through the preferences actually does not change the location of your iTunes library, but instead tells iTunes where your music files are located. In the preference settings you are dealing with the permanent library and that is always located in ~/Music/iTunes. Even if you delete the iTunes Library and iTunes Music Library.xml files in that location and select a location in preferences, new database files will be created in ~/Music/iTunes the next time iTunes is launched regardless of the location of the actual music files.

For switching to an alternate library, as you do when syncing your iPod, you are supposed to select a library by re-launching iTunes and invoking the Choose Library dialog. When you follow that procedure, you actually select an alternate iTunes Library file in a location other than ~/Music/iTunes and the music files associated with that library. If I recall correctly, the ability to (easily) choose alternate libraries was added in iTunes 6.

My guess is that what you are experiencing is the result of forcing your permanent database file to deal with two different sets of audio files. iTunes Library is updated as you use iTunes so when you are playing music from your computer using the Apple Lossless files, the database is no longer a perfect match to the AAC files you offset despite the fact that it is the same songs. At this point you have either corrupted the database file to the point where it no longer sees the lossless files or the differences between what should be iTunes Library for the AAC files and iTunes Library for your Apple Lossless files has resulted in confusion.

Given the way in which you have designed your music libraries what you want to do is have your lossless files recognized as the media for the permanent music library set up in preferences and your AAC library as an alternate library that you choose when you wish to sync your iPod. That is, the drive on which you have the lossless files would always need to be attached and mounted on your Mac, or least when iTunes is running and you would set the preferences to point to the Lossless Music folder because it is your permanent music library. The iTunes support files in ~/Music/iTunes would be linked exclusively to the lossless music files.

For your AAC files you would need to organize the folder the same as the system created iTunes folder at the root level. So Compressed Music would contain the folders Album Artwork and iTunes Music, or whatever you choose to name the latter, and the support files iTunes Library and iTunes Music Library.xml all associated with the AAC files. The iTunes Music (or whatever you name it) folder within Compressed Music would contain the artist > album > song tree of your AAC files.

When you want to switch libraries, you re-launch iTunes and immediately hold down the Option key after launching until the Choose Library dialog appears. When you want to sync to your iPod you would choose ExternalVolumeName/Compressed Music/iTunes Library, but when you want to switch back to your permanent library you would choose ~/Music/iTunes/iTunes Library. In that way you keep your libraries linked to their distinct database files and eliminate “crosstalk” corruption issues, which is what I believe you are now experiencing.


“it sounds as though you feel the issue is with playlists. This is not the case at all.”
Yes, I was not sure if you were referring to file folders or playlist folders based on your original post. Typically when people discuss folders in reference to iTunes, they are not referring to the folder structure on the hard drive; most very likely do not pay attention to how their music files are organized outside of the iTunes user interface. I was definitely talking about playlist folders when I referred to the R&B (1990s) and Rock (1980s) folders in my iTunes library.


“Hopefully that didn't sound defensive…”

Not at all. Explaining why you pitched you CDs and set up your library makes it easier for those attempting to assist you see your perspective on the matter. I have a large collection of CDs and vinyl that I have no plans to ever sell off, but I do not move about often either.


In the end, I hope that you can find a way to recover your bases without having to go song by song. With my collection already sitting at 12,109 songs—and I have not even started the process of digitizing my vinyl collection yet—I feel your pain. Given that your current iTunes Library seems to think that it is linked to your AAC files, I would suggest adding the extra level to your Compressed Music folder as described above then going into the preferences and linking the library to the second level folder to update the iTunes Library file. Once you verify that everything is working correctly copy the required support files and folders from ~/Music/iTunes to ExternalVolumeName/Compressed Music.

Resetting your lossless library and retaining the playlist structure will take more work because to the best of my knowledge iTunes will not allow you to mass import files from a hard drive except upon initial installation of the software when you are asked if you wish to allow iTunes to scan your attached drives for music files. As you have already found that simply changing the preference location does not seem to work any longer further complicates the matter.

If I get any inspired ideas I will definitely let you know. Otherwise, hopefully some of the other frequent fliers will chime in for you, but with Saturnalia fast approaching the boards are probably not going to be too frequently perused for the next few days. I know that Philmco is real good at dealing with the more esoteric uses for iTunes, but I have not seen many posts by him as of late.


“Cannot run out of time. There is infinite time. You are finite. Zathras is finite. This is wrong tool.” 2.3GHz Power Mac G5/4GB/500GB HDD/OS X 10.4.11/30-inch ACD, 60GB iPod (Color)