Where do these files go?

I recently had to reinstall my iTunes library from Time Machine and inadvertently ended up moving several folders to my desktop. I'm not sure where they belong:


Folders:

- Album Artwork

- iTunes Media

- Previous iTunes Libraries


Files:

- iTunes Library Genius.itdb

- iTunes Library Extras.itdb

- iTunes Library.itl

- iTunes Library.xml

- Library.xml

Posted on Feb 12, 2018 11:35 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 12, 2018 7:56 PM

If you put all those files and folders in the music folder, then option start and select the iTunes Library.itl file in that folder it should show all you music even if they end up having broken links. If it is blank it is because that file is not the correct library file. iTunes does not work by directly looking at your media files for the sake of building a library, it works by relying upon that file having the correct media list and file location information. For that matter you could have a library file taken from my computer and put it on yours and it would look just like my library except, of course, all the links would be broken.

Similar questions

11 replies
Question marked as Top-ranking reply

Feb 12, 2018 7:56 PM in response to Alec S.

If you put all those files and folders in the music folder, then option start and select the iTunes Library.itl file in that folder it should show all you music even if they end up having broken links. If it is blank it is because that file is not the correct library file. iTunes does not work by directly looking at your media files for the sake of building a library, it works by relying upon that file having the correct media list and file location information. For that matter you could have a library file taken from my computer and put it on yours and it would look just like my library except, of course, all the links would be broken.

Feb 20, 2018 12:14 PM in response to Alec S.

iTunes basic functionality is: The .itl file contains a list of all the tracks you have. As you add them it notes their location and stores this. After that it does not check on the file unless you try playing it. The default behavior is for iTunes to put a copy of any file added into its media folder in a hierarchical structure. So it is possible under various scenarios (usually user-caused) for a file to be moved and iTunes' reference for it to be wrong. If everything is stored in a "portable" single iTunes folder then references are internal, but once you start splitting the library into media in one place and library files in another all the pathways to the files have to be preserved or the main library file loses track of files.


Now there may be an explanation for this but so far we have been working with several assumptions on how you stored and elected - or not - to let iTunes manage your media. I, for example, have this disabled which gives me more flexibility in managing my files and folders but in turn means I need to be on top of that management because iTunes is not doing it for me, and certainly nobody sitting half a world away is going to have any idea how it should look on my computer. So maybe there is a reason for simple solutions not working for you but we haven't really learned that much about how you set things. Normally restoring from a Time Machine backup should be as simple as dragging the old iTunes folder (the entire thing as a single item, not just the media folder, and not scattering bits and pieces over the desktop) onto the main drive into the Music folder and starting iTunes again.


If you have been managing media yourself it can introduce all kinds of complexities and then we need to re-approach the situation with that in mind.


Yes, you can rebuild a library from scratch from the media files alone. Just start iTunes. It should create a new iTunes folder in Music. Drag all the media files to the Automatically Add To iTunes folder. About the ‘Automatically Add to iTunes‘ folder. [Archived] - http://support.apple.com/HT201970 - Files put into this folder are actually moved from this folder to the correct location in the iTunes Media folder.

Feb 12, 2018 5:23 PM in response to Niel

I placed the folder in User (Home) > Music > iTunes but when I launched iTunes, it said it couldn't find the Library. I clicked on the "Choose" button and selected the Library folder and restarted iTunes and it didn't work. So in the Library folder, I selected the iTunes Library.itl but it still doesn't show any of my music. However, when I place the folder on my desktop and click on the iTunes Library.itl file, it shows all of my music. Does this mean I have to keep my iTunes folder on my desktop?

Feb 16, 2018 7:11 PM in response to Limnos

So what you're describing just happened. I put the files in the iTunes folder and when I opened iTunes, all my songs were listed, but when I play them, I get a message that says, "The song could not be used because the original file could not be found. Would you like to locate it?" What do I do to recover my music?

Feb 20, 2018 11:10 AM in response to Alec S.

Say "yes" and find the file in the subfolders in the Music folders that you wish to link to that particular track descriptor. When finished, iTunes should ask you if you want it to find others. Say yes and hope it works. If not then your media structure is really messed up. I can think of half a dozen ways this can happen, particularly if at some stage you elected to not let iTunes manage organization of your media files. If your media structure is messed up then you can either one by one re-link all your files, or you can elect to rebuild your library file and in dong so risk losing some metadata such as playlists, date addded, playcounts, etc.

Feb 20, 2018 11:57 AM in response to Limnos

I have a feeling my library is messed up. I did what you suggested and it didn’t work. Does this mean that the actual music files are missing from my hard drive or is the link to the files corrupt? I have all my music backed up on Time Machine and was thinking of dragging the actual song files (mp3, AAC) into iTunes to reload them but I’m not sure where they’re located. Is this a possible solution? I don’t mind having to redo my playlists, it’s the actual music files not being there that I’m ckncerned about.

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.

Where do these files go?

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