I thought I'd post my workflow for others to follow that may also have
this setup. Here's a summary:

Mac-formatted iPod
iTunes 7.1.1 on my Mac OSX 10.4.9
iTunes 7.1.1 on Windows XP Home SP2
SlimServer 6.5.2 on Windows
TrackStat 1.36.1

1. Sync your iPod (if you use one) to your iTunes. This updates the
last played and ratings (if you set them via your iPod).

2. Copy your "iTunes Library.itl" and "iTunes Music Library.xml" files
to a new folder. This is so you're modifying a copy of the file and not
the original file. In case you make some heinous error, your iTunes
library isn't hosed.

3. In the iTunes Music Library.xml file, change the file locations.
This is generally simply a matter of replacing a short string of
characters at the beginning of each file path. In my case,
/Volumes/hostname becomes F:\.

4. Copy the "iTunes Library.itl" and the newly saved "iTunes Music
Library.xml" to your Windows machine. For most people, this means
C:\Documents and Settings\username\My Documents\My Music\iTunes.

5. Ensure that the last played songs match that from your Mac. This may
require you to close and reopen iTunes (which will likely trigger a
re-read of the Music Library). If the last played songs do not match,
ensure that the iTunes Library.itl and iTunes Music Library.xml files
were copied correctly. Recopy them if necessary. If having synced
playlists and play counts are important to you (e.g., for smart
playlists), then do not continue until your iTunes on Windows matches
that from your Mac.

6. Run TrackStatiTunesUpdateWin.pl to update any play counts and
ratings to the Windows iTunes. 

7. Copy your iTunes Library.itl and iTunes Music Library.xml back to
the folder on your Mac where you made changes to them.

8. Reverse the changes you made in step 3. That is, change the Windows
file reference (F:\) back to the Mac file reference
(/Volumes/hostname).

9. Copy the files back your your iTunes directory.

10. Rescan your SlimServer playlists.

11. Sync your iPod.

Notes:

A. If you have a large iTunes library like I do, it can take some time
for the "Updating iTunes Library" task to complete when you open
iTunes. This is a pain. In my case, it takes about 25 minutes. But it's
actually closer to 50 minutes (once for Windows, once for Mac).
Sometimes the update happens quickly and without a hitch. I haven't
figured out yet what the "trigger" is.

B. You might be able to avoid several of these steps if you sync your
iPod on Windows. You may even be able to sync your Mac formatted iPod
on Windows if you have the MacDrive software installed. I have it, but
haven't tried it for this.

C. I use a Perl script to accomplish steps 2-4. Here's the script. The
most interesting part is the "perl" line. Everything else is just
changing directories and copying files around to different places.
Copy, modify, and use at your own risk.


Code:
--------------------
    
  cd ~/Music/iTunes
  cp "iTunes Music Library.xml" ~/Documents
  cp "iTunes Library.itl" ~/Documents
  cd ~/Documents
  perl -pi -e 's/Volumes\/orange/F:/g' "iTunes Music Library.xml"
  cp "iTunes Music Library.xml" /Volumes/orange-2
  cp "iTunes Library.itl" /Volumes/orange-2
  
--------------------


-- 
prabbit
------------------------------------------------------------------------
prabbit's Profile: http://forums.slimdevices.com/member.php?userid=11142
View this thread: http://forums.slimdevices.com/showthread.php?t=34435

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to