Moved iTunes Library following 'split-library' move. Now itunes cant locate songs

Hello. So first of all my itunes was installed to my pc's c:/drive and mine is only 128gb and i was running out of space and my comp was getting a bit slow. but im running out of space, so I wanted to move it to my g: drive with way more space.


So, without backing up any library or anything, i stupidly moved my library manually to my g:drive and re-installed itunes to the g:drive. Now at this point i have a new itunes library with all my purchased music only really. then i added all the stored music i have and everything was back to normal, except my playlists were gone (i didnt back them up with my library i forgot to). The problem now was the itunes music wasn't having this, and kept resetting my itunes media folder unwantedly back to the c:/ if i purchased new music. So this is where I found the split library advice from turningpoint2. Make a split library portable - Apple Community

i followed that advice to change my media folder to the g:drive and made it permanent.


Now 2,000+ songs and my PURCHASED music from itunes wont re-download and its saying I have to locate each file (i double click the song, it says locate, i cancel, and then the song plays from local file host). I then have to manually re-download EACH song for them to redownload, as when I log in on itunes and go to my account settings, all of my purchased songs don't show up to auto de-download.


Windows, Windows 10

Posted on May 5, 2024 5:56 AM

Reply
Question marked as Top-ranking reply

Posted on May 5, 2024 9:53 AM

Hi there,


Let start with my general boilerplate for this sort of issue:


The "missing file" issue with exclamation marks happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place, or that you've been too aggressive when deleting duplicates. See Getting iTunes & Windows Media Player to play nicely if you're trying to access your media with any other media players.


Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. Look on the file tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Windows.


In some cases iTunes may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If another application like Windows Media Player has moved/renamed the files, or the library has been moved from OS X to Windows, then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works. It might need some tweaking if your media is in a non-standard layout.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under Edit > Preferences > Advanced
  2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/
  3. The true path to the file whose details you gave in 2


Note the addition of file://localhost/ (and the flipped direction of slashes in Windows) is normal for a file that isn't quite where iTunes is expecting to find it.




From what you've said so far it seems you've probably moved the iTunes Media folder independently to your G: drive. Ideally you would have moved the iTunes folder, then held shift when starting iTunes and used the choose library option to access the library at G:\iTunes\iTunes Library.itl. Reinstalling iTunes and telling it to put the software on the G: drive (not advised) doesn't affect where iTunes will look for the library, neither will double-clicking a .itl file even though it might cause iTunes to open.


From your first shot it seems that track used to be stored at:


C:\Users\Casey\Music\iTunes\iTunes Media\Music\Future & Metro Boomin\WE STILL DON'T TRUST YOU\1-02 Drink N Dance.m4a


is going to be somewhere on your G: drive, perhaps at:


G:\iTunes Media\Music\Future & Metro Boomin\WE STILL DON'T TRUST YOU\1-02 Drink N Dance.m4a


Knowing the exact location would help refine my advice, but as long as you still have the file somewhere and can locate it should be possible to manipulate the library back into a working state. If I'm right and you moved the iTunes Media folder independently then I suggest you move the iTunes folder from your C: drive to G: as G:\iTunes, then move the iTunes Media folder that you already copied to the drive into G:\iTunes as G:\iTunes\iTunes Media (merge with the folder that is already there), then launch iTunes with the shift key held down, click Choose Library, and open G:\iTunes\iTunes Library.itl. Hopefully you will find that your music plays as before.


tt2

Similar questions

12 replies
Question marked as Top-ranking reply

May 5, 2024 9:53 AM in response to thekrazymaN

Hi there,


Let start with my general boilerplate for this sort of issue:


The "missing file" issue with exclamation marks happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, or the drive it lives on has had a change of drive letter, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place, or that you've been too aggressive when deleting duplicates. See Getting iTunes & Windows Media Player to play nicely if you're trying to access your media with any other media players.


Select a track with an exclamation mark, use Ctrl-I to Get Info, then click No when asked to try to locate the track. Look on the file tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive letter has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Windows.


In some cases iTunes may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If another application like Windows Media Player has moved/renamed the files, or the library has been moved from OS X to Windows, then the chances are that subtle differences in naming strategies will make it hard to restore the media to the precise path that iTunes is expecting. In such cases, as long as the missing files can be found somewhere, you should be able to use my FindTracks script to reconnect them to iTunes. See this post for an explanation of how it works. It might need some tweaking if your media is in a non-standard layout.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under Edit > Preferences > Advanced
  2. The location of a sample missing track shown under Get Info > File > Location that begins file://localhost/
  3. The true path to the file whose details you gave in 2


Note the addition of file://localhost/ (and the flipped direction of slashes in Windows) is normal for a file that isn't quite where iTunes is expecting to find it.




From what you've said so far it seems you've probably moved the iTunes Media folder independently to your G: drive. Ideally you would have moved the iTunes folder, then held shift when starting iTunes and used the choose library option to access the library at G:\iTunes\iTunes Library.itl. Reinstalling iTunes and telling it to put the software on the G: drive (not advised) doesn't affect where iTunes will look for the library, neither will double-clicking a .itl file even though it might cause iTunes to open.


From your first shot it seems that track used to be stored at:


C:\Users\Casey\Music\iTunes\iTunes Media\Music\Future & Metro Boomin\WE STILL DON'T TRUST YOU\1-02 Drink N Dance.m4a


is going to be somewhere on your G: drive, perhaps at:


G:\iTunes Media\Music\Future & Metro Boomin\WE STILL DON'T TRUST YOU\1-02 Drink N Dance.m4a


Knowing the exact location would help refine my advice, but as long as you still have the file somewhere and can locate it should be possible to manipulate the library back into a working state. If I'm right and you moved the iTunes Media folder independently then I suggest you move the iTunes folder from your C: drive to G: as G:\iTunes, then move the iTunes Media folder that you already copied to the drive into G:\iTunes as G:\iTunes\iTunes Media (merge with the folder that is already there), then launch iTunes with the shift key held down, click Choose Library, and open G:\iTunes\iTunes Library.itl. Hopefully you will find that your music plays as before.


tt2

May 5, 2024 11:51 AM in response to thekrazymaN

Fine. Not sure what you might have done exactly, but with purchases you can select as a batch, right-click, then use Remove Download to remove the reference to the missing local copies, then right-click again to Download those same items to your current media folder. Or you can allow them to steam from the cloud if you don't want to download them.


See Hide and unhide music, movies, TV shows, audiobooks, and books - Apple Support in case you've inadvertently hidden any of your purchases at some point.


tt2

May 5, 2024 10:50 AM in response to thekrazymaN

Surely you copied the files as they were from one place to another, rather than deleting anything? If you search the whole computer for say 05 H.Y.B. (feat. Central Cee).m4a does Windows Explorer find it for you? If so what is the full path? If not do you have these files on any other drive, computer, or device they might potentially be recovered from? Do you have a subscription to Apple Music, or iTunes Match, or is it only purchased media that you need to retrieve?


Leftfield thought. Did you buy your external drive from a reputable brand/vendor? There are some bargain drives that claim to have much larger capacity than they really do and just throw away older files as space runs out.


tt2

May 5, 2024 9:16 AM in response to thekrazymaN

You stated that you copied the music to your external drive, correct? When you select "locate" you need to find the actual file (which you moved to the external drive). However you copied the music, your library does not know that the file is on the external drive, it is still looking on the C drive. I suspect that you just copied the music outside of the app.

May 5, 2024 6:23 AM in response to thekrazymaN

Some songs I can download manually that I purchased and this sends the songs to my new G:/ where I can now listen to them. but i have to do it individually for each song (for example, the song I posted in the picture, if i click cancel instead of locate, it then gives me an option to download). However, this isn't working for every album that i have purchased. Some won't auto play or give me an option to download when i have purchased it.


Heres an example of Rod Wave - Nostalgia that i bought in 2023:


when i try to play it:


and its not giving me the option to right click download. when i go to 'my account -> purchased songs'


it doesnt show up.




May 5, 2024 10:02 AM in response to muguy

Yes. I copied the entire itunes media folder from the original c drive to my G drive, but the only files that were in that music folder i posted a bit ago. Heres another example, where i try to play J.Cole 'H.Y.B. (feat central cee)' from the playlist and I go to locate on the g drive, but the only song that is there is one that i manually downloaded, and the rest isnt there



also, the original songs aren't in the c:drive folder like it should be when it says

May 5, 2024 11:01 AM in response to turingtest2

So when I search that file, the only one that comes up is the one that I downloaded manually i have a video here where i show how i manually download a song from that same album as i already manually downloaded the HYB song. I dont have the purchased songs anywhere else except my iphone where i can play them all fine. I do not have a apple music sub, i have before, but should I buy it to try and access the icloud?


Yes Turing it is ONLY purchased media that i need to retrieve because it won't auto download.


https://www.youtube.com/watch?v=PwUJxcER78U


that is a video of what im able to do manually to download the songs. will i have to do this for all 2k+ songs?? its a lot of work for music i purchased and should be able to just click a button and it shows up


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Moved iTunes Library following 'split-library' move. Now itunes cant locate songs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.