Benches Intel Macs

12

Boot Camp 3.1 and iTunes Library Sharing …

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

When snow leopard came out, apple added drivers for windows so that it could read HFS disks. So I tried to share my mac iTunes library with iTunes on my bootcamp partition however, trying to access my home folder on my mac through my windows didn't work cause nothing showed up after /Users/~. Now with boot camp 3.1 I noticed that I can access my home folder now but on iTunes in my windows, going into preferences and changing the Library Folder doesn't seem to work. Any suggestions?

Steve

12 replies

Sign in or join Beachball Help to reply.

  1. 0

    Side_Step_Society

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The driver included in Boot Camp allows for read only. I believe an iTunes library needs to be read and written to.

  2. 0

    StarX

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have tried it and I succeed. What version of Windows do you use, I remembered that when I used the Windows 7 Beta with Bootcamp 3.0, I met the same situation But now I reinstalled Windows 7 7600 with Bootcamp 3.1, I can see the files in HFS plus dirve. Maybe it is the problem of system. May it can help you.

  3. 0

    Steven Vanderhoek

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hmmmm I think you might be right on the read only part. I tried and it said that I didn't have permissions to write files but I found a work around that suits me. I just dragged the iTunes library into the iTunes window on my bootcamp partition and left the files where they are on the mac disk and it works just fine. Thanks for the help. Btw, I'm using windows XP.

    Steve

  4. 0

    Thalas'shaya

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I've come up with another workaround. There's a lot of intelligence in my actual library file that simply doesn't exist in the tags of the individual music files. I don't want to lose stuff like song ratings, album art I've scanned in manually, song titles/album names that are truncated when converted to file names, etc. For this reason, dragging and dropping the iTunes Music folder doesn't work for me. So I played around a bit and discovered this set of steps that worked for me.

    All this was done under Windows XP SP3, running Boot Camp 3.1 and iTunes 9:

    1) In iTunes, go to Edit > Preferences and on the Advanced tab, set the location of my library to the folder where it's found on the Mac partition. In my case, that's F:\UsersthalasshayaMusiciTunesiTunes Music Click OK. I HIGHLY RECOMMEND that you also set it to NOT manage the files in your library or to copy files (both of those settings are found on the Advanced tab, too) just to minimize the potential for conflicts between the two sides of your computer trying to manage the same set of files. Click OK and then close iTunes.

    2) In Windows Explorer (aka: My Computer), go find the iTunes library file on the Mac side. I found it at F:\UsersthalasshayaMusiciTunes and I call it "the Mac directory" from here onward.

    3) In another Explorer window, go find the iTunes library file on the Windows side. I found it at C:\Documents and SettingsthalasshayaMy DocumentsMy MusiciTunes and I call it "the Windows directory" from here onward.

    4) In the Windows directory, back up the following files: iTunes Library.itl, iTunes Library Extras.itdb, iTunes Library Genius.itdb, and iTunes Music Library.xml. I add a .bak extension onto the end of each file name, but you can use whatever method you like. If there's anything in your Album Artwork folder that you care about, back that up, too.

    5) Copy and paste the following from the Mac directory into the Windows directory: Album Artwork (folder), iTunes Library Extras.itdb, iTunes Library Genius.itdb, iTunes Music Library.xml and iTunes Library. You'll probably have to authorize overwriting the Album Artwork folder.

    6) In the Windows directory, change the extension of the "iTunes Library" file to iTunes Library.itl

    7) Launch iTunes normally. Wait until the Updating iTunes library dialog goes away, and you're set to play. You'll need to go to the Store and Sign In to authorize any of your protected purchased music.

    I've read from people who use a similar solution for storing their media on an external drive and access it from both a Mac and PC that the Updating iTunes library process may run every time you open iTunes after you have switched platforms. If this is the case, I may look for some other solution, as it takes about 6 minutes to update on my 60 GB library.

    Message was edited by: Thalas'shaya to add something I left out by mistake.

  5. 0

    rjhm100

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Here's a solution which works for me under W7 and Boot Camp 3.1.

    I have my iTunes library stored on the Mac side of my machine, and simply want to access it read-only on the Windows side. My solution was to create a symbolic (=soft) link in the iTunes Media folder on the Windows partition to the Music folder within the iTunes Media folder on the OS X partition.

    First, remove the Music folder within the iTunes Media folder on the Windows partition. For a fresh iTunes installation, the Music folder won't be there yet in any case.

    Then, assuming your Windows partition is C: and your OS X volume is mounted (read-only) to E:, enter the following under an elevated Windows command prompt:

    cd "users\[username]MusiciTunesiTunes Media"

    mklink /d Music "e:users\[username]MusiciTunesiTunes MediaMusic"

    With this method, whenever you add music to your iTunes library on your Mac partition, you'll need to add it manually to the library on your Windows partition, as the two libraries are held in separate XML files - this is pretty easy. You also cannot import music to iTunes running under Windows, as the Music folder is stored on the read-only OS X partition.

    The key benefit of this method is that you need to keep only a single copy of all your music. Also, iTunes doesn't re-scan your library each time it opens, which it often does if it realises your library is stored on another storage volume.

    (Creating a symbolic link to the top-level iTunes Media folder doesn't work, as the OS X volume is mounted read only (unless you use eg MacDrive) and iTunes requires write access to the folder containing the XML library file.)

    Hope this helps others.

  6. 0

    The hatter

    Imported from the Apple Support Forums via the Wayback Machine 🔗

  7. 0

    nate9475

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    SOLVED.

    This frustrated me for so long! I'll provide a step-by-step walk-through of each step I took.

    REQUIRES:

    MacDrive 8 AND/OR Boot Camp 3.1

    PROS:

    -Easy, automatic method for keeping your iTunes library in sync between Mac OS X and Boot Camp Windows on the same computer

    -Only requires ONE iTunes library

    -Runs via Windows Task Scheduler

    CONS:

    -You can only add songs to your MAC iTunes (keep in mind, the way this fix is set up, your iTunes library must exist on your Mac OS X partition). If you drag songs into your WINDOWS iTunes window, the actual song files won't get copied anywhere safe, they'll stay where they are (because you won't have WINDOWS iTunes set up to "Copy files to iTunes Media Folder when adding to library"), your MAC iTunes won't be able to see the new songs in the library without a library rescan, and the library entries for your newly imported songs into WINDOWS iTunes will be lost upon the next library sync. If this totally confused you, it will make more sense once you read through the steps.

    (By the way, I'm using MacDrive 8 on Windows 7 in my Boot Camp partition. As I understood it, the MacDrive installation process either uninstalled or disabled the HFS driver that came with Boot Camp 3.1 and installed its own. My point is, though, I don't believe you need write access to your HFS drive using this method, because all the script does is copy your iTunes library files on your Mac partition over to your Boot Camp partition, where all the write operations will then take place).

    1.) MAC iTunes: In preferences - advanced, CHECK both the "Keep iTunes Media Folder organized" and "Copy files to iTunes Media Folder when adding to library" boxes.

    2.) Note the location of the four iTunes library files (the top level of your iTunes Music directory; /Users/{username}/Music/iTunes for me):

    iTunes Library

    iTunes Library Extras.itdb

    iTunes Library Genius.itdb

    iTunes Music Library.xml

    3.) WINDOWS iTunes: In preferences - advanced, click "Change" under "iTunes Media Folder location." You'll need to choose your music folder in your MAC partition. It should be named "iTunes Music" (again, located in the same folder as the library files are; /Users/{username}/Music/iTunes for me).

    4.) WINDOWS iTunes: In preferences - advanced, CLEAR both the "Keep iTunes Media Folder organized" and "Copy files to iTunes Media Folder when adding to library" boxes. Quit WINDOWS iTunes.

    5.) WINDOWS: Navigate to the directory where WINDOWS iTunes stores its library files (in iTunes 9, on Windows 7, at least, it should be in C:Users{username}MusiciTunes). Delete (or backup to a new location) these files:

    iTunes Library.itl

    iTunes Library Extras.itdb

    iTunes Library Genius.itdb

    iTunes Music Library.xml

    These are WINDOWS iTunes' original library files - these are no longer needed, because the library files WINDOWS iTunes will be using from now on are the same library files that MAC iTunes uses (they will be copied into this directory from the iTunes directory in your MAC partition).

    6.) WINDOWS: Open Notepad and paste the following:

    tskill itunes

    del "c:usersWUmusicitunesitunes library"

    del "c:usersWUmusicitunesitunes library extras.itdb"

    del "c:usersWUmusicitunesitunes library genius.itdb"

    del "c:usersWUmusicitunesitunes music library.xml"

    xcopy "e:usersMUmusicitunesitunes library.*" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes library extras.itdb" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes library genius.itdb" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes music library.xml" "c:usersWUmusicitunes" /q

    cd "c:program filesappleitunes"

    start itunes

    7.) In what you just pasted, replace all instances of 'WU' with the username of your Windows account, and all instances of 'MU' with the username of your Mac OS X account.

    8.) Give the file a descriptive name so you can identify it later. Erase the .txt extension and save it instead with a .bat extension. This turns it into a batch file, which can be run like a program. This is what you will schedule to run in Windows Task Scheduler.

    9.) Find a good, permanent place for this batch file, and then open Windows Task Scheduler (Start - Control Panel - Administrative Tools - Task Scheduler).

    10.) Give this task a descriptive name, and find and apply the following settings:

    Check "Run with Highest Privileges"

    "Configure For:" (The OS you're using)

    Check "Hidden"

    Under the "Actions" tab, click "New...", choose "Start a Program", and Browse to the .bat file you just selected.

    Under the "Triggers" tab, configure whether you want the file to run at start up, on a schedule, etc...

    THERE YOU GO! The script file:

    1.) Kills iTunes (if it's already running),

    2.) Deletes the (now probably obsolete) WINDOWS iTunes library files,

    3.) Copies the up-to-date MAC iTunes library files where the WINDOWS iTunes library files just were,

    4.) and Starts iTunes back up so that iTunes can rebuild its library to reflect your most recent additions since your last sync.

    I set mine to run once weekly, on Sunday. You can set the script to run as frequently as you like, and you always have the option of running the .bat file whenever you like if you need to update your library in WINDOWS.

    One way I deal with the annoyance of not being able to import new songs directly into WINDOWS iTunes, is that I set up a "new song dump" folder on my WINDOWS desktop. I created a shortcut to this folder on my desktop in Mac OS X, so then the next time I'm back in Mac, I can simply drag the songs into MAC iTunes and be done with them.

    Enjoy!

  8. 0

    PLKinUK

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I've got a workaround that works OK.

    Go to your Mac partition and locate the iTunes folder. Locate the iTunes Library file. Copy it and paste it into the iTunes folder on your Windows partition.

    If you want to maintain the original library file of the windows iTunes account as an alternative (although, I can't really see any point), then just leave that as it is and paste the iTunes Library firle copied form Mac into the folder above the iTunes Music folder. Should be the basic Tunes folder.

    Once you've done this, rename the file so that you add .itl as an extension.

    Next hold down shift and Alt while starting iTunes. Should bring you to be able to choose library. Choose the file you just copied from Mac to Wondows (and renamed by adding .itl).

    When iTunes has started go to Edit -> Preferences and click on the Advanced tab. There you select the iTunes music folder from your Mac drive. Click OK and iTunses should start populating the library, including everything such as Album artwork and so on. Especially good, it also copies playlists.

    Once in a while repeat so as to update depending on new purchases (all done only on your Mac drive of course)

    One problem!!

    Any songs with special characters in the filename or any part of song info (e.g. name of composer) will not work. Don't know why, but suggestions would be greatly appreciated.

    Message was edited by: PLKinUK

  9. 0

    PLKinUK

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I've got a workaround that works OK.

    While booted into Windows, go to your Mac partition and locate the iTunes folder. Locate the iTunes Library file. Copy it and paste it into the iTunes folder on your Windows partition.

    If you want to maintain the original library file of the windows iTunes account as an alternative (although, I can't really see any point), then just leave that as it is and paste the iTunes Library firle copied form Mac into the folder above the iTunes Music folder. Should be the basic Tunes folder.

    Once you've done this, rename the file so that you add .itl as an extension.

    Next hold down shift and Alt while starting iTunes. Should bring you to be able to choose library. Choose the file you just copied from Mac to Windows (and renamed by adding .itl).

    When iTunes has started go to Edit -> Preferences and click on the Advanced tab. There you select the iTunes music folder from your Mac drive. Click OK and iTunses should start populating the library, including everything such as Album artwork and so on. Especially good, it also copies playlists.

    Once in a while repeat so as to update depending on new purchases (all done only on your Mac drive of course)

    Seems to give more or less exactly the same result as the post above by Nate9475.

    But, one problem!!

    Any songs with special characters in the filename or any part of song info (e.g. name of composer) will not work. File is in fact included in the Library file and shows up in iTunes, but can't be played. Plus album artwork is lost.

    However, when trying to play a file it ask you to locate the file. If you do, there is no porblem. Unfortunately, no ones gonna have the energy to "Locate files individually like this, even if its just for the ones with special characters.

    Don't know why it does this, but suggestions would be greatly appreciated. It's all that standbetwween me and a solution on this overall prolem that is near perfect.

    Message was edited by: PLKinUK

  10. 0

    Tom Winsor

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    nate9475 wrote:

    del "c:usersWUmusicitunesitunes library"

    del "c:usersWUmusicitunesitunes library extras.itdb"

    del "c:usersWUmusicitunesitunes library genius.itdb"

    del "c:usersWUmusicitunesitunes music library.xml"

    xcopy "e:usersMUmusicitunesitunes library.*" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes library extras.itdb" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes library genius.itdb" "c:usersWUmusicitunes" /q

    xcopy "e:usersMUmusicitunesitunes music library.xml" "c:usersWUmusicitunes" /q

    Man, that worked great. My only hiccups were some caps-lock issues (itunes vs. iTunes...) and the file extensions. By changing all the paths to match caps, and using .* for all the file names, it went off without a hitch. Rebuilding the directory is sort of a pain each time, but it's all good. I'll probably just run it manually when I do a big update or something.

    Tom

  11. 0

    Jing You

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    This is the most simple way to share between your snow leapord and bootcamp windows 7. i deem this method the 'safest & correct method' of adding ' literally sharing' your library between different OSs.

    --- part 1

    1. on itunes software under bootcamp windows 7, go to edit > perferences.

    2. go to under advance tab, look at itunes media folder location.

    3. change it to: e:usersusernamemusicitunesitunes media.

    4. uncheck keep itunes media folder organized.

    5. uncheck copy files to itunes media folder when adding to library.

    6. hit ok.

    --- part 1 easily completed!

    --- final part =D

    7. on itunes software under bootcamp windows 7, go to file > library > import playlist

    8. point your default itunes software under snowleapord playlist: e:usersusernamemusicitunesitunes music library.xml

    9. now just sit back and wait while it imports the library!

    --- final part easily completed!

    enjoy!

  12. 0

    paullopez

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    rjhm100 wrote:

    Here's a solution which works for me under W7 and Boot Camp 3.1.

    I have my iTunes library stored on the Mac side of my machine, and simply want to access it read-only on the Windows side. My solution was to create a symbolic (=soft) link in the iTunes Media folder on the Windows partition to the Music folder within the iTunes Media folder on the OS X partition.

    First, remove the Music folder within the iTunes Media folder on the Windows partition. For a fresh iTunes installation, the Music folder won't be there yet in any case.

    Then, assuming your Windows partition is C: and your OS X volume is mounted (read-only) to E:, enter the following under an elevated Windows command prompt:

    cd "users\[username]MusiciTunesiTunes Media"

    mklink /d Music "e:users\[username]MusiciTunesiTunes MediaMusic"

    With this method, whenever you add music to your iTunes library on your Mac partition, you'll need to add it manually to the library on your Windows partition, as the two libraries are held in separate XML files - this is pretty easy. You also cannot import music to iTunes running under Windows, as the Music folder is stored on the read-only OS X partition.

    The key benefit of this method is that you need to keep only a single copy of all your music. Also, iTunes doesn't re-scan your library each time it opens, which it often does if it realises your library is stored on another storage volume.

    (Creating a symbolic link to the top-level iTunes Media folder doesn't work, as the OS X volume is mounted read only (unless you use eg MacDrive) and iTunes requires write access to the folder containing the XML library file.)

    Hope this helps others.

    This procedure worked for me, as described, thanks!!