in
Forums
Blogs
DevExpress.com
Client Center
Support Center
DevExpress Channel

Paul Kimmel's Blog

Keeping Your iTunes on an External Drive

I purchased a new computer last week. I have a couple of servers, a half dozen PCs, and several laptops in my home. I work from a home office so this makes sense. I used to replenish these computers annually but it gets to be too time consuming and too expensive, but I do eventually replace them. The challenge with replacing development workstations is that a lot of software and patches have to be installed and this takes time. Consequently I have no patience for software that doesn’t make it easy for me to swap out hardware.

An example of a challenge I experienced is swapping CPUs but maintaining existing burned Cd's on iTunes. Currently I have about 3500 songs on an external  My Book USB hard drive. No sane person wants to burn CDs over--or re-import libraries--we just want to point the software at the folder containing the data and go. This is true for any application. There are a lot of blogs, articles, and posts out there about how to “use an external hard drive with iTunes” because your hard drive fills up or to make your library more portable or whatever. Unfortunately each post seems to fall just a bit short of an accurate solution. So one of the things I do is when I have a computer problem I write down the solution and post it on the Web so if I ever need it again I can find it. (Documenting tricks, tips, and techniques is part of my day job at Developer Express too.) To that end I have documented the steps that work well for me when using existing burned songs for a new PC.

If you want to move iTunes music files to a location other than the default location—for example, because your hard drive fills up or you are upgrading hardware—then try these steps (for Windows):

  1. Open iTunes
  2. Select Edit|Preferences and change to the Advanced tab
  3. Next to the iTunes Music folder location click the Change button; navigate to the new desired location and change the path
  4. Close the iTunes preferences dialog by clicking OK. This steps modifies a file named “iTunes Music Library.xml”, modifying the path information for elements in your iTunes library
  5. Close iTunes
  6. Using Windows Explorer copy just the files in the “iTunes Music” folder to the location you specified in step 3—the new location. (iTunes Music is usually accessible in user:Music:iTunes)
  7. Delete the files in the “iTunes Music” folder once they have been copied to the new location
  8. Return to the user:Music:iTunes folder and locate “iTunes Library.itl” and “iTunes Music Library.xml” and make a copy of them. (The “iTunes Library.itl” is a binary version of the “iTunes Music Library.xml” file.) iTunes reads iTunes Library.itl not the .xml file; unfortunately it appears that Edit|Preferences updates the .xml file leaving the file-move somewhat wanting
  9. Next, open the .itl file in Notepad. (If its a big file Notepad might get sluggish.)
  10. Select all of the contents of the .itl file (Ctrl+A) and delete them
  11. Select File|Save As and save the filename as iTunes Library.itl, the file type as All files (*.*), and the encoding as Unicode.

The last step is the one that many of the blog posts have left off, but seems to be the critical step. When you are finished with the steps above re-open iTunes and you should be off to the races.

Why did I write about this subject? Besides having told you the World Wide Web is part of an extension of my memory, and besides the fact that iTunes can be challenging in the aforementioned regard and should be made easier, I wanted to illustrate a point. The point is that as conscientious as we at Developer Express try to be sometimes we don’t know some thing is wrong until we have to share your pain or you tell us. We are working diligently to make more great products and make the ones we have better, but sometimes you experience pain in a way that we haven’t. I encourage you to share your thoughts—share your pain—and we’ll try to make it go away.

Published Apr 18 2009, 10:34 PM by Paul Kimmel (Developer Express)

Comments

 

Byron Baynham_1 said:

You wouldn't believe what I was doing when I read this blog article - I was in the process of moving my iTunes library to an external drive!

Thanks for the heads up, great help.

Can you help with other stuff too?  My plumbing makes a clanking noise and my pool filter is blocked...  :-)

April 18, 2009 7:47 PM
 

Steve Sharkey said:

I sympathise completely over the upgrade - people think me mad when I spend money on the fastest laptop I can (generally I seem to spend around £2500 all in). "Whay spend that when you can get something fit for purpose for under £1000?". However, last year I got my first new laptop in just over 5 years - my old one a 3.02GHz P4 with 2GB RAM and 160GB HD and 1600x1200 screen still performs a function, not a bad spec even today. It took me a whole week to get the new laptop setup and about 6 months to stop taking the old laptop around with me as well - "just in case". Okay so I'm buying on the (b)leading edge of technology BUT I can't aford the time spent in more frequent upgrades.

April 20, 2009 2:21 AM
 

Paul Kimmel (Developer Express) said:

Byron:

Funny response. Plumbing: you probably need a brace strap around a pipe, but calling a plumber might be a safe bet and check to make sure your Sharpey isn't caught in the pool filter. Here Fifie!!!! No Sharpey?! Pool guy.

April 20, 2009 6:15 AM
 

Robert Teague_1 said:

Should have bought a Zune ..... or held out for the Zune HD coming in September.

April 20, 2009 1:00 PM
 

Daniel Rieck said:

> we don’t know some thing is wrong until we have to share your pain or you tell us

That's funny, even after the No-R&D-January there are a lot of suggestions left that would make my life easier (and make your product better).

12 of my suggestions are "Release TBD", and I'm tracking 23 more. And I'm sure I could find several others that I would consider useful.

April 23, 2009 5:39 AM
 

virtual gambling site said:

I moved my itunes music folder to an external hard drive. My itunes library is still on my computer. I need to restore my computer back to the way it was when I first bought it because I accidentally deleted some needed files in my registry. If I restore I will delete my itunes library, and I won’t be able to access my music. What do I need to do in order to be able to have the same library on my computer once I restore it?

June 12, 2009 7:01 AM
 

C Sands said:

Thanks so much ... a quick question ... does this bring all the album art over as well?  Also - I have a multitude of songs downloaded where I've manually changes album names and other pieces of the original file ... will those transfer over as well?  I don't want to lose all that work....

Thanks again!

September 10, 2009 6:29 AM

Leave a Comment

(required)  
(optional)
(required)  
Verification code: Required
   
Add
Copyright © 1998-2010 Developer Express Inc.
ALL RIGHTS RESERVED