Songfile path not writing to .itl file when iTunes Media Location is changed.

Running iTunes 11.1.4 on an Intel NUC with Windows 8.1. My iTunes library contains about 65K songfiles. All media is on a NAS.
Frequently when I restart the PC the NAS is not immediately mounted. So if I don't check this before starting up iTunes, the iTunes media folder location changes to its default.
I don't know if this is the cause of the problem, but a few days ago I started seeing a vast number of exclamation points indicating lost songfiles. All music is nicely organized in a parent folder on the NAS and iTunes had, until recently, no problem recognizing all of it.
So the other day I changed the iTunes Media Folder Location in the program from the default (which it had switched to at bootup) to the songfiles' location on the NAS. I then let the software update the library.
Still the exclamation points remained, with no discernible pattern. Within albums, some songs were recognized, some not. I'd say about two-thirds were missing, according to iTunes.
I shut down iTunes, fired up Vim, and had a look at the library's .xml file. Sure enough, about two thirds of the songfiles pointed to the default media location, with another one-third pointing correctly.
I edited the .xml file to line everything up properly, but came to find that this has no effect because the .itl file rules the roost. As soon as I started iTunes back up, the paths returned to the locations according to the .itl file, and these incorrect paths were also written to the .xml.
Updating the media folder location seems to have no effect on iTunes's ability to find the files. I know I can rebuild my library using the .xml file (presumably best done after I have changed the paths to their proper file locations), but I don't want to lose playcounts, ratings, playlists, etc.
So. It *seems* as if my .itl file is corrupt even though iTunes starts and the program is able to locate a portion of my media.
Is there something I am missing? Some way to get iTunes to recognize the proper path for all media without a library rebuild?
TIA.

The "missing file" error 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, or that the drive it lives on has had a change of drive letter. It is also possible thatiTunes 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.
Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary 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, or a drive letter has changed, it should be possible to reverse the actions.
If another application like Windows Media Player has moved/renamed the files 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.
I've seen a suggestion that iTunes' own repair mechanism may work better when "Keep iTunes Media folder organized" is turned off.
See also make a split library portable. Keeping the whole library on the drive removes the problem of the media folder being reset.
tt2

Similar Messages

  • ITunes consolidation creates duplicate files in iTunes Media folder

    Hi,
    I recently downgraded from iTunes 11.0.2.26 to 10.7 to get around an AirPlay bug i see starting in 11.0.
    As a result I need to rebuild part of my iTunes library and am seeing some strange behavior.
    I have some Movie files currently in the iTunes Media folder (where iTunes is pointed for the media) -- when I drag and drop these into iTunes and do "Consolidate Library", iTunes creates 2 files (1 is a duplicate) in the Movie folder. For example, if I have a movie titled "HomeMovie" I see the following folders:
    "Movies --> HomeMovie" and within the HomeMoview folder I see the following 2 files: HomeMovie.m4v, HomeMovie 1.m4v
    There is only a single listing (HomeMovie) in the iTunes interface, pointing to HomeMovie 1.m4v.
    Strange.
    I can get around this by deleting HomeMovie 1.m4v. and pointing iTunes to HomeMovie.m4v, but this is not desirable.
    "Copy files to iTunes Media Folder" is disabled.
    I am also seeing this behavior when dragging and dropping files from an external Hard Drive.
    Any suggestions?
    Thanks,
    Kevin

    Hi,
    I have been doing some testing on this subject and I agree that PSE does leave unwanted temporary files around.
    I checked out PSE 9, PSE 10 and PSE 11 and they all leave the temporary files there. I'm assuming that the files are created as a safety measure for when the main file is updated but as you have found out, PSE doesn't remove them.
    By reading other forum threads, I get the impression that Adobe aren't really interested in it as they feel we should tidy up our own file system. It's like taking a walk through the park and dropping some litter - do you pick it up or leave it for the park keeper to pick up. I was always told to pick it up.
    I'm not sure whether you are aware, but there is another Adobe forum for bug reports and feeback. I think Adobe may look there more than they do on this forum. I searched that forum and found a similar question asked but nobody has answered. I have added my count and comments with a link to this thread. If you can, it might be good for you to add your count.
    http://feedback.photoshop.com/photoshop_family/topics/photoshop_elements_organizer_leaves_ temporary_files
    Sorry it's not an answer to your problem, but you are not alone.
    Brian

  • ITunes:  Bulk of music is in media folder, not in Library.itl file

    Hello,
    Windows 8.1
    iTunes 12,1,1,4
    The bulk of my music is in my iTunes Media and cannot be accessed by the iTunes Library.itl file.  (The Library.itl has approximately  900 songs and I have over 7,000 in the media folder.)  I can open the individual files under the Media Folder and actually click and move those files onto the iTunes "My Music" section and they become a permanent part of the Library.itl file and stay there with no more issues.  The songs are no longer in the Media folder after moving them to the Library.itl file.  Is there an easier and quicker way to move the files from one to the other?  I have tried consolidating and organizing.  I have moved the Library.itl file to the desktop, deleted the one within iTunes, and attempted to have it import the playlist, and that didn't work. 
    I would appreciate any input.  Many thanks in advance.
    Wordy

    If you apply either method to the folder Broken Social Scene this will add the album(s) to your library.  The location of your media folder may indicate that your library is misconfigured, or that some other application (typically Windows Media Player) is conflicting with iTunes and moving files and folders to locations that iTunes then can't find.  See turingtest2's user tip on Getting iTunes & Windows Media Player to play nicely for guidance on this issue.  At this point I'd also take a backup of your current iTunes folder and all its contents so that if necessary you can revert to the current state in case anything doesn't work as intended.  I'd also suggest looking at another of tt2's documents on Repair security permissions for iTunes for Windows - sometimes you end up with a structure as you describe if iTunes can't access its default locations due to issues with Windows permissions.
    Unless you have specific needs to do something different, I'd recommend configuring iTunes as follows, under Edit > Preferences > Advanced:
    This is the location of your iTunes Media folder.  For best results this should be contained in the same folder that holds your iTunes database (the iTunes Library.itl file).  The example above is from my library, which is located on external drive, so the database file is in K:\iTunes and the media folder is as shown in the screenshot.  In the default case:
    the iTunes Library.itl file is in C:\Users\username\Music\iTunes
    the media folder is C:\Users\username\Music\iTunes\iTunes Media
    When this option is checked iTunes will place everything in folders and may rename files based on the metadata held within the database and/or embedded within the media files - for music, this will be folders of the form iTunes Media\Music\artist_name\album_title with files named according to the values of disc number (if set), track number and song name.  The one exception to this is for albums that are grouped by having the "Part of a Compilation Flag" set - these will be found in iTunes Media\Music\Compilations\album_title.
    This option works in conjunction with the different methods by which media can be added to the iTunes library, as shown in the table below:
    Having both the Keep iTunes Media folder organized and Copy files to iTunes Media folder ... options checked results in a completely self-contained library structure.
    Just to reiterate what was in my original response, using your example, either:
    in iTunes, make sure that the menu bar is visible (press Ctrl-B if it is not), then select File > Add Folder to Library... navigate to your iTunes Media folder and select the Broken Social Scene folder (just select it, don't open it to see the contents), and click Select Folder, or
    in Windows Explorer, select the Broken Scene Folder and copy (or drag and drop) it to your iTunes Media\Automatically Add to iTunes folder; assuming iTunes is running, the albums/songs will immediately be added to your library, the media files moved into the iTunes Media\Music hierarchy, and the Automatically Add to iTunes folder left empty (if iTunes isn't running when you do this, the process will start automatically when you next start it)
    In either case you'll find that:
    the Broken Social Scene album(s) will now be in your iTunes library, i.e., you can see / play / sync to iDevices from the iTunes UI
    the media files for the album(s) will have been placed in iTunes Media\Music\Broken Social Scene\album_title
    Continue this process until everything's correctly added to your library - you can add multiple folders using both methods I've described.  Once everything's done, you can delete any folders/files that are still sitting outside the iTunes Media\Music folder hierarchy.
    Then make (and continue to maintain) a backup of your library so that you have a duplicate in case of any disasters

  • LSMW Direct Input Inspection Plan Not Writing Inspection Char File

    Hello Experts,
       I am using Direct Input Program RCPTRA01 to Load Inspection Plan.
    Created 3 structures - Inpection Plan/Operations/Inspection Characteristics one below the other in that order.
    We have a internal numbering system for assigning Group to Inspection Plan.
    I defined GROUPID column in Maintain Source Fields Inspection Plan/Operations/Inspections characteristics structures and set "Identifying Field Content" as 1.
    When i read data - program is reading inspection plan and operations. But it is not writing Inspection Plan file.
    What am i missing. Spent quite a bit of time trying to figure out what i am missing.
    Any help is appreciated.
    Thanks in advance
    Thanks

    Hi,
    I have exactly followed the same thread.
    1. I have actually maintained 3 files, but when reading it takes only the header file.
    2. When Creating input session I an getting a error,
    No profile with entry tool for task list /  3 in session INSPLAN
    Regards
    Subbu.

  • Log4j not writing the llog file

    Hi
    I have a webapplication hosted on WAS,which is not writing the log file.Does anybody know the reason.?
    I have checked the log4j many times.it seems ok.as same file is working in another environment.
    Any help would be appreciated.
    Thanks
    Akash.

    Hi .the problem is solved.i changed the classloading as APPLICATION instead of MODULE in application.xml.
    Thanks.
    Akash.

  • .jpg files created on iphone 4S are not recognized as .jpg files when uploading them to American Heart Assoc. website?

    .jpg files created on Iphone 4S are not recognized as .jpg files when uplaoding to American Heart Association fund raising webpage? .jpg's from Canon camera uploaded without any problems? The website automatically reduces the file size to <100kb.

    I haven't contacted AHA about this issue. The .jpg files created on Canon SLR uploaded correctly, but the photo from iPhone which was emailed to my PC using MS IE. The .jpg was browsed to from my desktop and is submitted. It shows up in draft form then when uploading it fails saying it is not a .jpg file or .png file? I have had other issues in the past emailing iPhone pictures. They were not editable after being sent to a PC. I guess we can retake photos with a non-Apple camera.

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Itunes not working, get "missing file, reinstall itunes" message.

    1.  Itunes not working, get "missing file, reinstall itunes", message.
    2.  When try to reinstall itunes, gets as far as "starting services", then stops with message, "Apple mobile device failed to start. Verify that you have sufficient privileges to start system services."
    I am logged in to my laptop as Administrator.
    3.  After selecting "retry" and "ignore" a few times, install went ahead and got "Congrats, you have successfully installed itunes"
    When I went to itunes I got, " Itunes not installed correctly, please reinstall. Error7 (Windows error 126)".
    4. On reinstalling itunes yet again, got, "Programme cannot start because MSVCR80.dll is missing. Try to reinstall programme"
    Help !!!

    See if this post from turingtest2 helps : https://discussions.apple.com/message/24620553#24620553
    There is also this user-tip for troubleshooting issues with iTunes for Windows from turingtest2 : https://discussions.apple.com/docs/DOC-6562

  • ITunes not storing files in iTunes media folder location

    A number of years ago I wanted to move my itunes media files to an external drive. At the time an article was posted that explained how to do such that. Additionally the article explained how to put the media files in one folder on the external file server and all the itunes definition files in another folder on the same external file server. It worked perfectly! All seemed well. Of course since making this change there have been many many updates to iTunes and the OS.
    Recently, I was scanning through the folders of the external file server and noticed some media files that appeared in the iTunes application listing were missing in the physical iTunes media folder (folder A). After a little searching I found the media files were in the iTunes definitions folder (folder B). Initially I thought somehow I had changed the folder location under the iTunes advanced tab. I checked it stilled pointed to the ORIGINAL folder A location. Yet iTunes had for a while as it turns out had created a whole new media folder tree and was adding the media files to that media tree (folder B). This is the folder the original only contained the iTunes definitions.
    Thinking I had made a mistake somewhere sometime ago, I copied all the media files to the proper folder (folder A) and reset the iTunes Media folder location to point to folder A. All was fine.
    Today I added some new media to the iTunes library and once again, iTunes created a new media folder tree in folder B were only the iTunes definitions are supposed to be stored. So once again I moved the media files to the proper folder.
    There is no question THIS IS A SOFTWARE BUG. It does NOT matter what folder location is specified in the Preferences->Advanced->itunes media location is specified, iTunes will either CHANGE the folder location to wherever the definitions files are located or begin putting the media files where the definitions files are located even though the iTunes media location is setting to a different folder.
    when this started I do not know. I have been using itunes for a number of years and once I had my external file server set up never had reason to check it.
    One might ask why put the media files in one location and the definition files in another location. That is because there was a time when iTunes for some reason would think it definition files were corrupted and start to do nasty things to the media library. Once I lost a number of songs it is then when I found a note in this forum that suggested putting the definitions in one folder and the media in another folder. It was great idea. Is there a work around of a fix for this bug?

    Some additional information.
    When I click the apps tab in iTunes, some of the applications listed are actually songs (the songs are also shown in the music list and point to the proper location), when I click Get Info on some of the apps, it points to a song, and some apps that actually exist in the Mobile Apps folder are shown to located in a song folder. Bottom line the apps database is corrupted.
    When I consolidated the music files I did not touch the mobile applications folder. As best I can tell all the movies and songs are fine (about 3000 items in total).
    When I export the library it does not include the apps in the xml file. So deleting the iTunes DB and re-importing the .xml will not work.
    To recap. All the songs and movies are in one folder (folder A). This is the folder listed in the Preferences->Advanced->Itunes media location. The apps folder is located in a different folder (folder B) where the iTunes definition files are located. How they got there I do not know.
    How do I fix the apps tab and have the app icons (and physical applications) to point to the proper location? Also to remove the songs listed in the apps list without removing the song from the iTunes library.

  • Folder Redirection policy is not applied to a user, when the server target is changed, but works after resetting the windows profile.

    Folder Redirection policy is not applied to a user, when the server target is changed. 
    After server target is changed via group policy, when user login  (roaming profile)first time, the the new server target has not been applied, instead it's pointing to the old folder redirection path.
    But if we reset the windows profile (roaming ), the new folder redirection works, can you please specify a solutions that the new folder redirection works when the user login for the first time. so it reduce the time on resetting users profile.
    it seems that we need to delete the old folder redirection path from the user profile (roaming user profile) via group policy or similar solutions..
    Many Thanks

    >   But when the specific users login they all get the same error, it
    Is the old server removed from the domain? Seems so - or some other
    authentication related issue, hard to tell from here...
    > seems that the roaming user profiles still keeps the old server details,
    Yes - if you change redirection targets, FR moves content from old to
    new, and only if this ends sucessfully, it will update the redirection
    target.
    Make the old redirection target accessible to the user and you'll be fine.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • ITunes does not allow me to download at Store "You do not have authority to write in iTunes Media files. Adapt your authorisation in explorer and check for available downloads in Store

    As administrator of my pc icannot download musc/video from Store: the message (translated from Dutch) "You do not have authority to write in iTunes Media files. Adjust your authorisation in explorer and check for available downloads in Store

    Hey! I had the same problem you did just today when I was trying to get my second iPhone to sync. What you need to do with music or anything extra that you doing you have to creat a second playlist or picture or anything that you would like to use, so that you can add to the second device that you are going to be using. I am not sure if that will help but it helped me out a lot!! Good luck!

  • How to read an itl file from iTunes

    Ebooks are stored in an itl file in iTunes, not in an xml file, as with the music data.
    How can I read, extract information from an itl file?
    And why doesn't the iTunes developers use xml-xsl?

    Hi,
    Further to my earlier post, I would have thought that you would have been able to extract information about store books like you do for the store songs.
    Extract from http://support.apple.com/kb/ht1660
    "This file contains some (but not all) of the same information stored in the iTunes Library file. The purpose of the iTunes 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."
    If the info is not on the xml file, I cannot offer any other suggestions.
    Jim

  • I inherited an iPod classic from the passing of a family member. I dont have any passwords to access it. I have a large itunes database on my pc, but I want to add the files on the inherited ipod to my itunes. I do not want to lose files on itunes or ipod

    I inherited an iPod classic from the passing of a family member. I dont have any passwords to access it. I have a large itunes database on my pc, but I want to add the files on the inherited ipod to my itunes. I do not want to lose files on itunes or ipod

    but I want to add the files on the inherited ipod to my itunes
    If the media was purchased from the iTunes store, it cannot be transferred to another iTunes account.

  • How can I move my media files from USB-HD to NAS without having to copy the media files to iTunes Media folder?

    I have iTunes on a Mac with the iTunes Media folder stored locally and the music on an external USB-HD. The music files are Not copied to iTunes Media folder when added to the library.
    Now I want to move my files from USB-HD to a NAS without losing any information or settings. I want to do the similar to my iPhoto library. I do not want to consolidate my files to iTunes Media folder. The articles I’ve read only discuss how to do if the files are copied to iTunes Media folder when added to the library. Any tips or trix?

    I have iTunes on a Mac with the iTunes Media folder stored locally and the music on an external USB-HD. The music files are Not copied to iTunes Media folder when added to the library.
    How are you achieving the above? What are your copy setting in preferences? If you are manually overriding the copy-to by holding down the option key while adding media then that won't apply when you import a playlist (as in importing the .xml).  When you import a playlist like that you are essentially adding the files to the library again and it will obey the  preferences setting since you can't option add them that way.
    Correct on the .itl.  Only iTunes itself can edit that file.
    I think you need to review your basic wants/needs in doing all this.  If your reason for not wanting to use the Media Folder settiing is because you do not want it to go on the internal drive, but you don't actually mind if it organizes it as long as it is on the NAS, change the Media Folder preferences setting to the NAS and let it consolidate to there.  If you want to move the stuff but keep it organized in your own folder structure you may need to do it as I suggested initially.  Once it is on the NAS and iTunes recognize the file locations you can do what you can only do if you manually manage music which is move it around in Finder afterward once it is on the drive and recognized to tweak location to your final wishes.

  • Is there a way to organise the files in itunes media into playlists? i have a large playlist that i wish to add to a hard drive but i don't want to have to look up each file location separately.

    is there a way to organise the files in itunes media into playlists? i have a large playlist that i wish to add to a hard drive but i don't want to have to look up each file location separately.

    You cannot put music onto your iPod without using iTunes, that what iTunes is for.
    It's also not a good idea to wipe the music from your computer and having it only on your iPod. We see countless posts here from people who have done just that - and then lost everything when the iPod needs a Restore. Even if you never need to Restore your iPod, what happens when you eventually replace the iPod? You'll be back here asking how to get the music from one iPod to another. That's not easy to do, we see countless posts about that too!
    A much better idea is to buy an external drive (a proper external drive, not simply an iPod) and put your large amount of music onto that drive. Then point your iTunes Library to that drive. However, you need to remember two things:
    You still need a backup of that Library.
    Using an external drive as your iTunes Library means that the drive must be connected and ready to read before starting your iTunes programme. If it isn't, then iTunes will look on the C: drive - and you will find no music in your Library. (Once again, lots of posts about that as well!)

Maybe you are looking for