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


Click here to return to the 'Move iTunes playlists and songs via file export' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Move iTunes playlists and songs via file export
Authored by: robtain on Jul 07, '04 10:32:20AM

Open the XML file in TextEdit or BBEdit and look at the path of the song files. I'll bet that the paths are specific to the host machine. If you use Find & Replace to correct the path so that iTunes looks on the remote host, then the songs will be copied into the Library correctly.



[ Reply to This | # ]
BINGO!
Authored by: Gabs on Jul 17, '04 09:39:19PM

Neither drang and drop nor straight XML import were working for me so I tried this last suggestion and now my Top Rated tunes are on my had drive limited PowerBook. Exported XML from source Mac then edited (just find and replace) so
//localhost
became
/Volumes/Volume_name_of_source/
(as per terminal ls of /Volumes on "second" Mac when both were connected)
XML editing with TextEdit? Easy.
Nice one robtain!



[ Reply to This | # ]
Help editing this XML?
Authored by: baltazar on Sep 19, '04 06:39:17PM

Can anyone clarify this last post?
I would really love to be able to easily transfer my iTune's Playlists from my B&W desktop to my iBook(was easy before iTunes 4.1 update changed all that!!).
I know I'm almost there with the help of this last post, but being a neophite I don't know squat about XML.

Here's what appears in the exported XML file of one of my playlists.

[Music Folderfile://localhost/Users/Shared/iTunes%20Music%20Folder/
Library Persistent ID334512A0FFD845A9
Tracks]

From the previous post I know I should start by replacing the "localhost" reference, but by what syntax is not clear.

Thanks for any clarifications.



[ Reply to This | # ]
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.

Gabriel

[ 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 | # ]