Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Help editing this XML?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Help editing this XML?
Authored by: Gabs on Sep 22, '04 05:31:56AM
Hi baltazar -

It's easy - honest (at least using Panther and iTunes 4.6).

1. Connect the two Macs with on a high speed network (FireWire or 100BaseT). Specifically mount the HD of the B&W Mac that houses your iTunes Music Library onto your iBook. You'll have the option of mounting your Home folder but this would confuse things - so don't.

2. At the iBook select "Go to Folder" from the Finder's "Go" menu and type: /Volumes
This will tell you how your iBook calls your B&W Mac's mounted HD. (Essential if both your hard drives are called "Macintosh HD" - the mounted/networked volume will be called something like "Macintosh HD-1") An alternative to the finder's Go to Folder menu is to type ls /Volumes in a Terminal window - ls being the List command.

3. Export your iTunes playlist (or the Library) as XML from you B&W Mac and copy this to your iBook.

4. Now you want to change the information in this file so that when you ask iTunes on the iBook to import the files it knows where to look. //localhost ain't it - Use what you found in step 2. By the look of the XML I reckon you'll need to fill any spaces with %20 (my HD name didn't have any spaces when I did this).

So open the XML file up in TextEdit and do a Find and Replace.
For example
Find //localhost
Replace with /Volumes/Macintosh%20HD-1

Save the file and now you should now have an XML file that has only changed location references (unless you have tracks called //localhost!)

5. Import this XML file into iTunes - and, as long as iTunes is set to copy files into its Music Folder - you should hopefully be done after a bit of copying. Or a lot - depending on the size of your iTunes Music Folder, baby.

As easy as 1-2-3-4-5-ish.


[ Reply to This | # ]
Help editing this XML?
Authored by: inspired_tmu on Jan 06, '08 10:51:10AM

If that doesn't work, try making one more change to the iTunes Music Library.xml file:

Find: /Volumes/Macintosh%20HD-1
Replace With: ///Volumes/Macintosh%20HD-1

Save, close and import.

[ Reply to This | # ]