Changes made to iTunes Library.xml keep reverting back

I'm helping a friend with his computer.  He uses an external harddrive for all his iTunes music.  Lets call this drive "iTunes HD".
He wants to move his collection to a newer bigger drive.  So he mirrors the content to a new harddrive.  Let's call this drive "New HD".
We remove the old drive called "iTunes HD" and launch iTunes whiles holding down the option key and select the iTunes folder on "New HD".
It finds the library and lists the songs, but can not find any of the songs.   It's looking for each file in "/Volumes/iTunes HD" and not the new drive.
We exit iTunes.
I vi the "iTunes Library.xml" and globally replace "iTunes HD" with "New HD" and save the file.
We relaunch iTunes and again it can not find any of the files and when I get information on them it's still looking in "/Volumes/iTunes HD".
We exit iTunes and reopen the "iTunes Library.xml" file and all the changes have been undone and reverted back.
So I reapply all my edits and this time move the ""iTunes Library.itl" to /tmp to get it out of that directory.  And relaunch iTunes.
Now it comes up with no Library of music at all.  So I go to "File > Library > Import Playlist" and select the xml file I just finished fixing.  I says Importing Playlist and then nothing happens.  Cursor comes back and there's still nothing in the Library.
I have to move the "iTunes Library.itl" from /tmp back into the directory and relaunch iTunes for it to see the Playlist again.  It still can't play them because it's still referencing the old "iTunes HD" which we removed.
How do I fix this?

In iTunes go to Edit > Preferences > Store and turn off
Show iTunes in the Cloud purchases
Share details about your library with Apple
On any iOS device go to Settings > Music and turn off
Show All Music
Close and reopen iTunes and/or reset the device and you should see your version of the metadata for each track rather than the original store data.
tt2

Similar Messages

  • I am having trouble removing/changing my iphone id. It keeps reverting back to my partners id any help would be appreciated.

    I am having trouble removing/changing my iphone id. It keeps reverting back to its previous id. How can I fix this problem?

    Jgreg14 you have my sympathies. 36 hours ago while using my iPad I was told that my Apple ID had been disabled. Like you I went to the forums, reset my password, and also like you, nothing changed. I have contacted iTunes support and after 24 hours they responded with this:
    Cesar here from the iTunes Store Support Team. Your inquiry is very important to me, so I have requested assistance with the issue you reported. You will receive an email after the matter has been investigated and further information is available.
    Thank you for your patience. Apple wants your iTunes experience to be as enjoyable as possible. Take care!
    Boy do I feel special. I sat on the phone to the UK helpline for 30 minutes, and have been told my case has been elevated to "URGENT".
    Basically I was wondering if you ever got your problem sorted out?

  • My APPLE ID is NOT working properly. I am frustrated beyond belief I have tried time and time again to change my apple ID and it keeps reverting back to my original ID!! I even set up a new email to try to submit a new id and it still does not work

    My APPLE ID is NOT working properly. I am frustrated beyond belief I have tried time and time again to change my apple ID and it keeps reverting back to my original ID!! I even set up a new email to try to submit a new id and it still does not work

    To change your Apple ID, follow these steps:
    Go to My Apple ID (appleid.apple.com), click "Manage your Apple ID", and sign in.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID. If you are unable to receive messages at your trusted device, follow the guidelines for what to do if you can't sign in with two-step verification.
    In the "Apple ID and Primary Email Address section," click Edit.
    Enter the email address you want to use, then  click Save Changes. Apple will send a verification email to that  address.
    Open the  email  from Apple, then click Verify Now in the email.
    When the My Apple ID page opens, sign in with your renamed Apple ID.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID.
    After you see a message indicating that verification is complete, remember to update all of the stores and services that you use with your  Apple ID.

  • ITunes music folder keeps reverting back to default

    If anyone can help, I'd appreciate it: I just moved my music library to a new hard drive, following the Apple instructions on "moving the iTunes music folder" (i.e. changing the iTunes music folder location on the advanced tab in preferences, setting it up to copy files, and then consolidating the library). The move worked, but for some reason, whenever I exit iTunes and come back in, the iTunes music folder reverts back to the default (C:\Documents and Settings\default\My Documents\My Music). It doesn't announce it or anything, but when I go to add new music, it sends it there instead of the new drive. What am I missing on the transfer?
      Windows XP   SP2

    "booting up"= turned on.
    I have noticed that you have posted on a thread that is 2 months old. This is really a bad idea as your issue can be easily overlooked. It's always much better to "start your own topic" by click on this link on the forum main page.

  • How do I get iTunes match to accept changes made to my library?

    After making changes in my iTunes library (Genre, Album Information, etc.) iTunes Match reverses all the hours of organizing I have done and returns it to the original state. How do I make sure my library is the master source and allow me to force upload changes to the cloud and not vice versa?

    Hi,
    THis is an issue that is reported regularly on this forum.
    Changes made to data when match is turned on should automatically filter through to the cloud. No need to select update iTunes match. This is the way it should work and I have not had any major issues. The only exception seems to be iTunes store purchases but only on a small number. The changes eventually stick after a few attempts.
    I Keep all my music in my library on my main computer. Changes filter through to my other computer which is set up to stream. I sometimes do the change on that computer. Such changes appear on my main computer.
    Jim

  • Is there a way to rebuild the ITunes Library XML file from my IPod?

    After several promptings, I finally decided to install ITunes 7.4.3.1. Like a fool, I did not backup my entire library prior to doing this upgrade. Nothing is going to go wrong now mate, is it? Everything seemed to proceed just fine with the upgrade. I noticed that ITunes updated the XML Library in the process. Where the problems occured was after the upgrade, I was in the middle of listening to the latest "NPR Wait Wait Don't Tell Me" Podcast (I have some 3,000 downloaded podcasts in over 85GB worth of space) when ITunes crashed. When I brought ITunes back up, it had seemed to have reverted to an earlier backup ITunes Library XML file that I had made months ago.
    I still have all of the .mp3, .m4a, .mp4 and .m4v files stored in my ITunes Music folder. Somehow when I brought ITunes back up, it had lost all of the music I had dowloaded from the ITunes store even though the files were still out on disk. It thought there were only 395 podcasts despite the 3,000 plus files out there.
    Clearly, something went horribly wrong and I don't want to spend weeks downloading these files again when the only thing that really needs to be done is the ITunes Library XML data file needs to be rebuilt. It dawns on me that my IPod has an XML data file that save any updates I have not yet synced with it that it is quite current. Is there some way that I can sync my IPod with ITunes and copy the IPod XML data file into ITunes Library XML data file? I know that there must be some way to access the IPod since I can plug it into my Kenwood car stereo and read through the IPod's contents.
    Is there anyone out there that has an idea that might be able to help me recover my ITunes library?
    Thanks for any assistance,
    --randyt00

    The XML file is not used by iTunes. It is created for the use of other programs. Your library is in the itl file. SInce you still have the file you could simply add them to your library using the add folder option instead of downloading again.
    What are library files
    http://docs.info.apple.com/article.html?artnum=93732
    Rebuild library.
    http://docs.info.apple.com/article.html?artnum=93313

  • Have found multiple iTunes Library.xml files. Moved Library to new Hard Drive and it needs to be completely rebuilt?

    Hello. I have a Mac Mini operating Mac OS X 10.7.2. I recently had to move my iTunes Library to a new hard drive. I followed the directions on how to move the library and refind everything yet when I do so what comes up is a mere skeleton of what I had. I have had to hunt down my purchased Apps, Music and Movies and re-add them to the library. I also noticed in doing this I have multiple iTunes Library.xml files ... shouldn't there only be one?  If so how do I clean this up without doing any accidental damage (i.e. how do I find the one that is being used and delete the rest?)?  If I delete the others is there any risk of losing purchased content? Lastly syncing my iPads has become a nightmare as I get the "This iPad is currently synced to another iTunes library" message. Obviously something

    It's hard for me to picture the exact situation. It sounds like you still have your library file on the internal but some files on the external, and maybe some on the internal, some of which are in the library and others not...  By re-adding things after consolidating it may have made things into a hodge-podge. Yes, that article you referenced says: "iTunes for Mac: Moving your iTunes Media folder"with Media Folder being the emphasis.  You probably should have just moved your whole iTunes folder.  Still, moving the media folder as instructed should not have messed up the library.  Did you make the mistake of starting up iTunes before the external drive had mounted fully and it then told you it couldn't find many files?  How you proceed to sort it out will depend upon how much time you want to spend and how important things such as ratings and playcount are to you.  I have not actually used the consolidate feature across different drives myself (and don't feel inclined to do so here to test ).
    If you are in the USA you can download some previous purhcases with iCloud, but not all.
    Here's a bit on what an iTunes folder should look like:
    What are the iTunes library files? - [http://support.apple.com/kb/HT1660]
    More on iTunes library files and what they do - [http://en.wikipedia.org/wiki/ITunes#Media_management]
    Library files with graphic and explanation of different iTunes versions - http://discussions.apple.com/message.jspa?messageID=13169517
    Once you get iTunes working off the external drive it should just put new media to the external when you add it.
    I have almost no experience with synching (I synched my neice's iPod, once, about 4 years ago).

  • What's the correct way to get changes in my iTunes library to sync to my iPod

    It's been a few years since I've used itunes, so please bear with me.
    I'm trying to get my ipod setup but something seems weird. In the past, if I made changes to my itunes library, then plugged in my ipod, those changes would immediately sync. It's not doing that now. When I plug the ipod in, I click on the ipod symbol near the top-right to get to the connected ipod. If I click on "on this ipod" I can clearly see that the old files/metadata are still present. When I click the "sync" button down at the bottom (next to the storage bar) nothing happens. If I click on "Music" near the top (between Summary and Movies) there's a check-box next to "Sync Music" but when I click that it says "Are you sure you want to remove existing music, movies, and tv shows from this ipod and sync with this itunes library?". I don't want to have to wipe the thing clean and then re-write EVERYTHING again every time I want to make a change, that's crazy.
    So what am I missing here? Is there some setting that would make it work the way it did in the past, automatically syncing changes as soon as I plug in the ipod? If not, what's the best way to get the changes to sync over without having to wipe the ipod clean every time? Does the "Sync Music" option I mentioned not actually remove everything, but just sync any changes that were made? That's the only thing I can come up with.

    Chris CA wrote:
    ArmorOfGod7 wrote:
    It's been a few years since I've used itunes, so please bear with me.
    I'm trying to get my ipod setup but something seems weird. In the past, if I made changes to my itunes library, then plugged in my ipod, those changes would immediately sync. It's not doing that now.
    Because you are not syncing your music (you have Sync music unchecked).
    If not, what's the best way to get the changes to sync over without having to wipe the ipod clean every time? Does the "Sync Music" option I mentioned not actually remove everything,
    It shouldn't wipe everything but it will make the iPod match what you have selected in iTunes. So if it's on your iPod now and also in iTunes, it won't remove it then re-add it.
    Is everything on your iPod actually in iTunes? If so, click away.
    How do I get it to stay checked then? I've checked it and gone through the sync process, but every time I go back to that window, it's un-checked again, and I have to sync manually.
    Ok, that's what I was hoping, it just syncs any changes. I've done it this way a couple times but couldn't tell for sure if it was just removing then re-adding evertying or if it was just syncing changes.

  • Can't import iTunes Library.xml to rebuild library in iTunes 7.5 - why?

    Hi,
    I did an "erase & install" with Leopard because I got kernel panics with 10.4.11, and whenever I try to import my old iTunes Library.xml (which weighs more than 45 Mo) to rebuild my library in iTunes 7.5 as indicated in the kb, I get a new kernel panic before it can complete the process, usually between the 10th and 15th minute. This happens even with extensions removed, and with permissions repaired.
    However, I noticed that when I interrupt the process, the partial file I get is functional and I get access to a random portion of my library...
    Does anybody have a tip?
    My library is really important for me, especially the playlists, which I have saved separately one by one. Does anyone know if they would work if reimported with a library rebuilt from scratch by dragging and dropping my music files in iTunes?
    Thanks for your help, I know it's a lot to ask...
    Ben

    You should be able to create a new Library file by doing the drag and drop of your music files as you describe. I would do them about 50 albums at a time to start with.
    You might want to start by quitting iTunes and going to the /Your Home/Music/iTunes Music folder and moving the "iTunes Library" itl and "iTunes Music Library.xml" to your Desktop. Then launch iTunes to create new blank ones. Set your iTunes preferences and so forth before you begin. Do a few and make sure you are getting the results you are expecting. In other words do you want iTunes to move your music files to the default location, etc.
    You may need to recreate your playlists when done if you do not have the individual xml files to re-import.

  • When I edit a song in itunes (i.e change the year) on purchased songs, the next time I return to itunes, the information has reverted back to the original information. How can I change that?

    When I edit a song in itunes (i.e change the year) on purchased songs, the next time I return to itunes, the information has reverted back to the original information. How can I change that?
    When I purchase ITunes music, and it is a song from a Greatest Hits album, the Year of the song shows the year the CD was released and not the year the song was released (i.e. a song may be from 1986, but the Greatest Hits album was released in 1999, so my songs in ITunes show 1999).    So, I go into each of those songs and change it to the year that I want to be displayed. As long as I don't exit out of ITunes, it will show the year that I changed it to (i.e. the 1986 year in this case). But if I exit out of ITunes and then return to ITunes, the year reverts back to 1999. The same happens if I change the genre of a song from, say 'Pop' to 'Alternative', it will revert back the next time I log in.
    Oddly enough, as soon as I right-click on that song to change it back, the year/genre that I had entered returns.
    How can I make it so my changes are permanently displayed as I want them?  This is pretty annoying when I try to find a song on my Ipod under a certain genre, but it doesn't appear in that genre because the incorrect information gets synched to the Ipod.

    Make sure that these two options in Edit > Preferences > Store are turned off:
    Then exit iTunes and open it up again.  Your metadata entries should then be persistent - with these options checked iTunes will be comparing what you have with the information held in the iTunes Store, and will overwrite with the latter for Store purchases (and if you have iTunes Match).  If you have any iOS devices you should also turn off Show All Music under Settings > Music.

  • Why do i have to itunes library xml files?

    Along with iTunes Library, there are two xml files i have; itunes music library.xml and itunes library.xml, do i need them both? I only ask as the file path information in itunes music library.xml are not up to data(i moved my library to an external HD) and would like to know if it would be safe to delete it.
    The links in itunes library.xml have seem to been updated.
    Thanks
    "If it's not broken, don't fix it...
    ........I never learn!"

    Google is your friend! (To quote:)
    iTunes Music Library.xml
    This file contains some (but not all) of the same information stored in the iTunes Library file. The purpose of the iTunes Music Library.xml file is to make your music and playlists available to other applications on your computer. In Mac OS X other iLife applications (like iPhoto, iDVD, and iMovie) use this file to make it easier for you to add music from your iTunes library to your projects.
    Actual article: http://support.apple.com/kb/HT1660

  • Force Re-Creation Of iTunes Library.itl from iTunes Library.xml?

    Can't figure out how to edit a post, so I'm putting this here instead of adding it to "Recovery From Hosed Music Locations - Without Losing Ratings?".
    iTunes v9.
    It's dawning on me that I can edit "iTunes Library.xml" and fix my hundreds (if not thousands) of broken links there.
    But iTunes seems to work out of "iTunes Library.itl".
    Seems like there had to be a way to get iTunes to re-create "iTunes Library.itl" from "iTunes Library.xml".
    ?

    Damage the ITL first. That method has worked for several folks. Example:
    http://discussions.apple.com/message.jspa?messageID=11566523#11566523

  • When I click on a song in my iTunes library I keep getting a message telling me that the song could not be located. What is going on?

    When I click on a song in iTunes Library I keep getting a prompt that says the selected song could not be located. What is going on?

    iTunes can't find your media files, which are normally located in ~/Music/iTunes. Try a Spotlight search on your computer for your media files, and move them back into that location. If you can't find your files, then try going to your backup drive, if you have one.

  • Recovering iTunes Song List (iTunes Library.xml not updated)

    How do I recover the iTunes library song list? My computer recently crashed, so I had to get this new one. The old hard drive is working fine. I just need the song list to be able to identify the songs that I have yet to copy unto my iPod (I arrange the library by 'Date Added'). Since my music files are located in a variety of places, it would be very difficult for me to locate each without being guided by the list.
    For some weird reason, the iTunes Library.xml is not updated. It's still dated 2009, so that fix goes out the window, I guess.
    Thanks in advance.

    try if the suggestions in this thread help: http://discussions.apple.com/thread.jspa?threadID=2168081&tstart=0.
    JGG

  • Itunes Library.xml save automatically?

    Is there a way that the itunes library.xml file that you export when clicking the export library button under the file menu can be saved automatically without having to click it everytime? Thanks

    No... When I add a new song or video or something, I want Itunes to update the Library.xml file automatically instead of having to clicking export library every time. Is there a way?

Maybe you are looking for