dpmoody

Q: Getting iPhone to recognize change to iTunes Library Drive Letter

I am trying to do something that should be extremely simple and Apple has found a way to make it incredibly difficult. I am moving my media to a new computer. On my old computer, all of the media was on the J: drive. On my new computer, it is all on the D: drive. Other than that, the folder structure is exactly the same. In the documentation for migrating to a new computer, Apple says to enable the 'Keep iTunes Media folder organized' option. There are several reasons why this is not an option, chiefly because iTunes is the absolute worst at organizing your media folder. I've seen cases where iTunes just dumps all your perfectly organized files into one folder for you to figure out what is what when you go searching for the file you need. No thank you, I'm perfectly capable of organizing my own files. Not to mention, my media files are on a data drive and the app folder where the iTunes library files are stored is on a SSD with limited storage. So...the iTunes library keeps record of the media location using a file 'iTunes Music Library.xml'. I've updated that file to use the new location and when I open iTunes on my new computer, everything is perfect. All my media is there with all my custom artwork I've applied (iTunes can also be really awful at matching artwork on music not bought through iTunes!). So great, let's get my iPhone recognized now because that's really the only reason I use iTunes. As soon as I connect my phone and it starts the sync process, it overwrites everything in the XML file and reverts all of my music back to the original location (now the music in the iTunes library has !'s next to all my synced music). You go to access a song and it will prompt you for the new location, which I can browse to, and then iTunes even prompts to use this new location to update the other "missing" files, but the problem is, this functionality only searches the subfolder where the particular file you are accessing is located, which in this case is one album. Do you know how many albums I have?! You mean I have to manually go to every single album and update the location?! Again, no thank you! So my thought at this point was, ok, let's just resync all the music with the phone, which although is still a huge pain given the extremely slow transfer speeds from your computer to your phone (Hi Apple, meet USB 3.1 or even USB 3.0) in combination with the size of my library (we're talking days to complete!!), it is still less of a pain then going to every single file (or one song from each album) and updating the location. On a side note - it would be really awesome if the sync over Wi-Fi technology would work consistently...I mean, they've had what, over 4 years to get it working and you're still lucky if your phone is recognized over Wi-Fi. That means I have to leave my phone hooked to my computer for days and who realistically has the ability to do that? Sorry, I digress. So, I removed all of my music from my phone and got iTunes to be happy again with the new drive letter. Great, let's start the arduous process of syncing my music back to my phone. I re-enable the option to sync my music and what happens, my iPhone again overwrites my iTunes library with the old media location! Excuse me, but how does it make sense to have the phone, which is a destination and contains a subset of your media library, to be the system of record for where files are stored on the source? I mean come on! That is absurd!! I've always hated that Apple is so proprietary and forces you to use iTunes (some of the worst software ever developed) to manage/sync your media. But, for years I have justified it by saying iPhones just work. No hassle. Well, I will say, this is not just working and my insinuation that Apple makes simple products that just work no longer holds water. At this point I am very close to saying goodbye to the iPhone and switching to Google's Project Fi. I'm tired of my friends' less expensive phones outperforming my overpriced device that uses antiquated technology. Any way, sorry to dump all this on the community, but it is absolutely ridiculous that it is so complicated to change a drive letter and I am at my wits end. Thanks in advance to anyone who can offer a solution.

iPhone 6s, iOS 9.3.1, Windows 10, iTunes 12.3.3.17

Posted on Apr 18, 2016 7:44 PM

Close

Q: Getting iPhone to recognize change to iTunes Library Drive Letter

  • All replies
  • Helpful answers

  • by Rysz,

    Rysz Rysz Apr 18, 2016 9:09 PM in response to dpmoody
    Level 7 (20,487 points)
    iTunes
    Apr 18, 2016 9:09 PM in response to dpmoody

    I am trying to do something that should be extremely simple and Apple has found a way to make it incredibly difficult.

     

     

    If you eant to move your iTunes LibrRy to another drive, follow these instruction: How to move your iTunes library to a new computer - Apple Support

     

    If you already moved it successfully, just launch iTunes while holding down the Optio/Alternate key, then choose the Library location.

     

     

    <Edited by Host>

  • by Limnos,Solvedanswer

    Limnos Limnos Apr 18, 2016 7:58 PM in response to dpmoody
    Level 9 (53,936 points)
    Mac OS X
    Apr 18, 2016 7:58 PM in response to dpmoody

    I apologize, I only read about 20% of that.

     

    iTunes does not use the .xml file, it uses the .itl file which cannot be edited. It creates the .xml for other applications to read.  The only way to get it to use the .xml is to create a blank library and import the .xml so it populates the new .itl with the .xml references.

     

    The search for multiple broken links functions but because you have decided not to let iTunes organize media it cannot make correct assumptions as to folder hierarchy and file location based on tag information.

     

    I don't know why it did the switch back. It isn't the iPhone doing that, it is iTunes itself, possibly based upon incorrect rebuilding of the library database .itl file if you really did it the way I understand.

  • by Limnos,

    Limnos Limnos Apr 18, 2016 8:06 PM in response to Limnos
    Level 9 (53,936 points)
    Mac OS X
    Apr 18, 2016 8:06 PM in response to Limnos

    I suggest since you are organizing media yourself that you move the entire library to the other drive, not only media.  iTunes works fine on its own and when you start messing with it things go wrong and you have to be careful in what you are doing. By including the rest of the library iTunes will continue to know where media are located because it will be a local reference and not care about the drive.  If you must move only media use the edited .xml to rebuild the library file.

  • by dpmoody,

    dpmoody dpmoody Apr 18, 2016 8:17 PM in response to Limnos
    Level 1 (4 points)
    iPhone
    Apr 18, 2016 8:17 PM in response to Limnos

    Thanks, I'll try creating a blank library. Still annoying since I will have to manually select the files I want synced again. iTunes does recognize updates made directly to the xml file. it's too bad that some of the details still remain in the proprietary binary.

  • by elcpu,

    elcpu elcpu Apr 18, 2016 8:45 PM in response to dpmoody
    Level 6 (16,176 points)
    Photos for Mac
    Apr 18, 2016 8:45 PM in response to dpmoody

    For whatever it is worth I have moved my entire iTunes folder/library like Limnos recommends and have had no issues. I have moved it from PC to PC and from PC to Mac and have not encountered problems. I keep my main library on a PC but often copy the folder to a Mac. I realize that your situation is more complex.

  • by dpmoody,

    dpmoody dpmoody Apr 18, 2016 8:48 PM in response to Limnos
    Level 1 (4 points)
    iPhone
    Apr 18, 2016 8:48 PM in response to Limnos

    Awesome. So this did the trick. I found another thread (https://discussions.apple.com/message/11566523#11566523) that discussed "corrupting" the ITL file so iTunes would import the data from the XML file. Initially, I had just been deleting the ITL file thinking it would see the XML file and create the library from that. Doing that does create an empty library, but it overwrites the XML file instead of importing it (I take it the XML file is an output of what is saved in the ITL file?). I had to do what they recommended in the aforementioned discussion - edit the ITL file in a text editor and delete the content so it became corrupt. After doing that, starting up iTunes imported the file from the XML and I am glad to say it still includes all of the metadata. It is now syncing all of the data back to my phone, which possibly could have been avoided if I had just corrupted the library file from the beginning. Good information to know. It still peeves me that everything is so locked down, but at least there seem to be workarounds for a lot of it. I appreciate you taking the time to understand my problem instead of talking down to me because I was frustrated. That was decent of you.

  • by dpmoody,

    dpmoody dpmoody Apr 18, 2016 8:58 PM in response to elcpu
    Level 1 (4 points)
    iPhone
    Apr 18, 2016 8:58 PM in response to elcpu

    I've "moved" my library to new PC's many times over the years, but I've been using the same hard drive/drive letter, so I never had a problem. For this build, I have all new drives and I wanted to use more sensible drive letters, so I was thrown for a loop!

     

    Thanks guys! (except Rysz - he was rude!)