PDA

View Full Version : Moved music folder - how to tell iTunes?



yeomanspc
2014-01-21, 17:05
I moved my music folder to my NAS a while back. All is well from a Squeeze standpoint. However, I was running Itunes on my PC with music on the PC. So now iTunes cannot find the music.

If I re-load my library using iTunes, then it will also want to re-copy all my music to my Ipods. Bad idea..

I found that the music location is defined in the "iTunes Music Library.xml" file, so changed the path statements in all of those, but this does not fix it. All of the web searches yield solutions to get iTunes to move the music, or to move the library loacation, whereas what I need to do update the iTunes libray with the new pointers.

There is a file called iTunes Library.itl which is an iTunes database file, and I suspect is created from the xml file. I am sure some other forum members must have had the same issue, so any advice would be welcomed.

aubuti
2014-01-21, 17:09
I haven't used iTunes in a long time, but I recall there was a place in the preferences boxes where a user may set the library location. All without messing with configuration files that are meant to hold the settings, not be manually edited.

Naturally, you should have your NAS share mounted on your PC before you try directing iTunes there for your music library.

yeomanspc
2014-01-21, 17:36
Yes, you can tell it where the library is, but if the music files are not stored in the iTunes library (there is no way i would let iTunes manage my music files/tags/structure) then the library basically just has a pointer to the physical location of the music file (this is an entry for each and every music file). This is in addition to a lot for metadata about each music track. So.. I am not moving the iTunes library, but I have moved the music which the itunes library records point to.

I have discovered that the .itl file appears to be the master, and that it creates the xml file when itunes loads - so changing the xml file with a different location is futile because it just creates a new one at the next startup..

aubuti
2014-01-21, 18:28
Sorry for the mixup. I meant that you could tell iTunes where the files are stored (to me, the "library" is the tracks, not the metadata/catalog, which is what you are calling the library). In other words, within the iTunes interface you could set that pointer to the directory branch containing the music files. Maybe that's no longer the case with newer versions of iTunes.

Do you need iTunes for anything other than loading iPods? If not, the shortcut to sanity would be to use one of the iTunes alternatives and cut iTunes out of the equation all together. On Windows, CopyTrans Manager is great for loading iPods sans iTunes.

Sorry I couldn't be more help, but I expect another iTunes-using forum member will have an answer for you.

banned for life
2014-01-24, 12:53
I moved my music folder to my NAS a while back. All is well from a Squeeze standpoint. However, I was running Itunes on my PC with music on the PC. So now iTunes cannot find the music.

If I re-load my library using iTunes, then it will also want to re-copy all my music to my Ipods. Bad idea..

I found that the music location is defined in the "iTunes Music Library.xml" file, so changed the path statements in all of those, but this does not fix it. All of the web searches yield solutions to get iTunes to move the music, or to move the library loacation, whereas what I need to do update the iTunes libray with the new pointers.

There is a file called iTunes Library.itl which is an iTunes database file, and I suspect is created from the xml file. I am sure some other forum members must have had the same issue, so any advice would be welcomed.

If you hold the SHIFT key while starting iTunes, it will give you the option of opening or creating a new music library. Create a new music library (it will then open as the default..)

Change the settings so that the music is not imported, only the headers and point iTunes at your NAS.

You can also export/import any playlists, etc.

BFL