I deleted the "itunes Library" file...

(This question pertains to a Mac, not PC, latest version of iTunes)
So I was juggling around "iTunes Library" files, and I accidentally deleted the existing one but kept the new (empty) one. I found a support article about using the xml file in the same folder, and doing an "import playlist" command, so I tried that, but unfortunately it didn't do anything -- my itunes window is still blank (and this is the existing xml file, no changes have been made to it).
My iTunes library lives on an external HD, but even though my preferences still point to that path, iTunes isn't seeing it. I even tried to consolidate that iTunes folder to a new location, but it wouldn't work because iTunes currently isn't seeing the music folder, so there's no "point of origin" for the consolidation.
I know that PC users can do a Shift while they start iTunes, and designate the new file path... is there something similar for Mac that will magically restore my playlists and full library? I'm hoping there's a way to get everything back aside from the "Add to Library" command, because I'm not sure if that will allow me to play things I've purchased from the iTunes store. My iTunes preferences still point to the correct folder where I keep all of my music, but iTunes remains empty.
Lastly, in the "Previous Versions of iTunes" folder, the most recent library file is from 2 months ago, so that doesn't help me much, unless I'm able to do that, then do an "Add to library" command, hoping that iTunes will just add all of the music I've bought in the last 2 months?
I feel like there's an easy answer to this one, but I'm just not getting it... anyone have any ideas?
Many thanks,
Kirby

After you deleted the iTunes lbrary file, then opened iTunes, the .XML file was rewritten y iTunes, erasing the info in it.
in the "Previous Versions of iTunes" folder, the most recent library file is from 2 months ago, so that doesn't help me much, unless I'm able to do that, then do an "Add to library" command, hoping that iTunes will just add all of the music I've bought in the last 2 months?
Yes.
Open iTunes.
File -> Library - Import playlist and select the latest iTunes library file in Previous iTunes libraries.
Then File -> add to library and select the iTunes music folder where your music is located.

Similar Messages

  • When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    When I update itunes it deletes the library file, and when I restore that file from the previous libraries or my backup, itunes will run but tell me "the iTunes library file cannot be saved. A folder was specified instead of a file" How do I fix this?

    Hi there Br0x,
    You may want to try rebuilding the iTunes library as an initial troubleshooting step. Take a look at the article below for more information.
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/ht1451
    -Griff W.

  • I have multiple libraries on an external drive. Somehow all the iTunes library files i.e. iTunes Library.itl, xml, itdb, Media folder, etc disappeared! Only the music files remain. Now when I start iTunes w/option it can't find any of the old libraries!

    Help! I 'm using an old G4 powerbook, Mac OSX 10.5.8, iTunes ver 10. I have multiple iTunes libraries on an external drive. Everything was fine for a while, then all of the iTunes library files, i.e. iTunes Library.itl, xml, itdb, artwork folder, Media folder, etc mysteriously disappeared! Only the music files remain (thank god) So now when I start iTunes w/option key to choose a library, I can't choose any of them because iTunes won't recognize them. Because all the library stuff is missing. So can I re-create the library files? (I don't care if I lose my ratings)
    Or should I create a new empty library on the external drive, then manually move all the music files to the Media folder in the new library?
    I tried some stupid ideas like creating a new library just to start iTunes, then going into prefs and advanced, then under iTunes Media folder location, selecting the location of the old library on the external, to see if iTunes would then find all the music which is still there, but no workee.
    I'm out of ideas, and I searched the archives.
    Help! anyone?
    Scott

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • How do I delete the itunes library fully?

    How do i delete the itunes library fully.  I want to delete the itunes library and rebuild it.
    All my media is on a NAS and no matter what settings i use, Itunes wants to create a sub directroy in the main one i specifiy for media.  this sub directory is called music and it then seems to randomly split music information up with not seeming method.  I have removed the xml file, however, when i start itunes over it goes and does the exact same thing over.  My only guess is i am missing a hidden file.

    Hi,
    Wireless is not my forte...
    Have a look at this Older Discussion
    https://discussions.apple.com/message/7957761#7957761
    and Search the  'More like this' column on the right...
    Hope this helps...

  • I have a new PC and I am getting the message "The iTunes Library File cannot be saved.  You do not have enough access privileges for this operation."  I am the only one using this PC and I have Windows 7 Pro and have an administrator account.  Help

    Can anyone help me with this problem.  ITunes message," The iTunes library file cannot be saved.  You do not have enough access privileges for this operation."   I have administrator account and transferred files from old PC.  I downloaded new iTunes program on new PC.  I synced my iPhone to new PC, no problem.  I deleted old account after indicating shared files to new admin account.  Can anyone help?

    A belated reply, as the problems itunes has have discouraged me from using it much. If you uncheck the "read only" box, it doesn't stay that way! Next time you use it, the box comes up checked.
    I'm still having that problem, even when I open iTunes as administrator.
    I've yet to see the answer to this problem. I use itunes mostly to download audiobooks, and I'm ready to download more, and want to save them!

  • I keep getting dialog box saying " The itunes Library file cannot be saved. You do not have enough access privileges for this operation"  I am the only user on this computer and only one library! how do i change access privileges please?

    hi I keep getting the dialog box " The iTunes Library file cannot be saved. You do not have enough access privileges for this operation"
    How do i  amend this  as i only have one account and one library. I cannot save new work or delete duplicate files

    A belated reply, as the problems itunes has have discouraged me from using it much. If you uncheck the "read only" box, it doesn't stay that way! Next time you use it, the box comes up checked.
    I'm still having that problem, even when I open iTunes as administrator.
    I've yet to see the answer to this problem. I use itunes mostly to download audiobooks, and I'm ready to download more, and want to save them!

  • Error Message: The iTunes Library file cannot be saved. Unknown Error 13001

    My error message says:
    The iTunes Library file cannot be saved. An Unknown error occurred (13001).
    Ever since I loaded the new 3.0 touch upgrade I have been bombarded by error after error. I have turned off genius which seemed to fix the problem at first but about an hour later the error warning popped up again. I have tried the shift start and selected my library with no improvement. It seems to pop up if I load a new podcast or download something and then fails to download.

    Hmmm, that error message came up a lot with older itunes & Genius, like 8.0 version. But you have 8.2.
    I don't know why it would crash on a download unless it is maybe a permissions problem. The download starts, but permissions make it so it cannot save it at the very end? Make sure you have ownership and full control over your itunes folder and all its subfolders.
    How to Take Ownership and Grant Permissions in Windows Vista
    And since you've turned off Genius, try deleting these 2 files
    iTunes Library Genius.itdb
    iTunes Library Extras.itdb
    Restart itunes and see if there is any difference....good luck!

  • Error message -48: The itunes library file cannot be saved.

    Hello,
    When I open up my itunes i get an error message 48 - the itunes library file cannot be saved. All my data is there - music, podcasts etc. Just wondering if this error message means anything, if so what, and what I can do to fix it?
    Thanks!

    I just called Apple Support and I think they helped me, but I'm still waiting to see if the error message returns. I was experiencing the same problem. Whenever I started iTunes, I would get the -48 error message. Everything else was working fine. Apple Support instructed me to delete some files from a folder and restart my pc. I did this and it seems to have worked. The folder is on my C:/ drive. Using Windows Explorer, I went to my C:/ drive and then opened the following folders in this order: "Documents and Settings", "Administrator", "Application Data", "Apple Computer", "iTunes", "iPod Software Updates". Inside the iPod Software Updates folder, I found four files which I deleted. I then emptied my trash can and restarted my pc. After I restarted my pc and opened iTunes, the error message did not come up. So it looks like my problem has been solved. Just some minor glitch having to do with the last update. I should mention that I did just get an iPod Classic 80 gig which replaced my 30 gig iPod Photo which just died.

  • I have transfered all my library on an external hard disk and lost the itunes library files.

    I transfered all my library on an external hard disk and lost the itunes library files. Itunes created new ones but I lost all the playlists.
    How can I copy the playlists presents on the Iphone directly on Itunes ?
    If I want to syncronise now, I lost all playlists datas.

    Hi,
    I did the same XP to Windows 7 upgrade about 18 months ago.   I decided to keep iTunes permanently on the external drive than the c drive to save c: drive space. 
    ITunes database has pointers to MP3 files located in Artist's directories.  If you want to use a different location than the default C:\ drive for iTunes, then you need to recreate the Itunes database by deleting all songs in iTunes, then change the default location for iTunes files to your external drive.  Then import the MP3 files from the external drive into the empty iTunes database through the iTunes import facility.  
    If you screw up the timing of the import and find you have multiple iTunes directories (instead of just the default location), then iTunes has a new feature to consolidate all iTunes MP3 files back into the central default location.  In iTunes, FILE, LIBRARY, ORGANIZE LIBRARY, then CONSOLIDATE FILES.
    To change the default directory for MP3 files, in Tunes go to EDIT, PREFERENCES, ADVANCED and then CHANGE the location to where you want the Itunes MP3 files to be located (including the iTunes subdirectory under which all the artist directories are held.  Mine are on the F: drive or whatever your computer states is your drive assignment for the external drive.
    Note iTunes 10.5 has many problems that Apple hopefully are working on....we seem to have gone backwards on working components in this iCloud based release.  So maybe keep on using old computer until 10.6 is released.
    Enjoy
    Steve Mc (Sydney AUSTRALIA)

  • When i try to open itunes ,this written appears :"The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file. "What does it mean?

    when i try to open itunes ,this written appears :"The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file. "What does it mean?

    To solve this issue all I did was check to ensure that the file permissions were set as described by the earlier posts, followed by simply deleting the iTunes Library Genius.itdb file.  Once the file was deleted I was able to open iTunes without difficulty.  Note that I am running Windows 8.  Hope this helps!

  • The iTunes library file cannot be saved. There is not enough memory available.

    For about a week I've been getting this message when I'm listening to music in iTunes (usually in Cover Flow mode). I usually get the message after listening to music about 20+minutes. First the album artwork begins to "white out" or is replaced by a music note pic (like when there is no album artwork data available) and then if I don't shut iTunes down and restart it I will get the "The iTunes library file cannnot...." error message. If I continue to ignore it or click "do not show message again" box, iTunes will eventually stop responding and shut down.
    My computer has 77GB of memory available.
    I've tried:
    - turning off home sharing
    - clearing cache
    - running virus scan
    - made sure there is no memory quota on
    Any help would be appreciated!

    PROBLEM SOLVED:
    I downloaded a corrupted music file. Deleted the file...problem gone!

  • The iTunes Library file cannot be saved. An unkown error occurred [-1450]

    Has anyone encountered the following iTunes error,
    " The iTunes Library file cannot be saved. An unkown error occurred [-1450] "
    Whenever I shut my iTunes down the next time I start it up the library seems to be lost. I can do an Add Folder to Library from the File options, pick my iTunes Music folder and copy everything back in. However the whole repeats when I close iTunes down again. Have tried re-installing iTunes but this did not work.
    Has anyone got any suggestions,
    Thanks.

    == Error -54 ==
    From an OS9 reference, error -54 is a software lock on a file or a permissions error. (Some of the old codes still apply to OSX although there is no formal list of OSX error codes.)
    First, try simply restarting your computer.
    iTunes Library cannot be saved (Error -54) - https://discussions.apple.com/thread/1912814
    Unknown error (-54) while syncing ipod - https://discussions.apple.com/thread/1082953 - problem was locked files
    Why does iTunes keep showing a -54 error when I sync my iPad? - https://discussions.apple.com/thread/3727114
    Error -54 possibly related to Touch Copy - https://discussions.apple.com/thread/3727114 - cleared by deleting preferences on iPad.

  • The iTunes Library file cannot be saved. The disk could not be read from...

    Screenshot of error message: http://i49.tinypic.com/2ecp3sw.jpg
    I tried deleting my library file and starting over with a new library, reimporting my music. Then, once again, I get this message:
    "The iTunes Library file cannot be saved. The disk could not be read from or written to." with a checkbox that asks if I would like not to be warned of this again.
    Information that might be relevant:
    My iTunes files (everything but the application file) is located on my external HD (formatted for mac and has only been used on macs) and is connected via USB.
    The external HD makes noises whenever it tries to save the library file, so it's obviously trying to write to the HD.
    The iTunes folder creates a temporary file every single time this happens, but it is gone once the error comes up.
    None of this happened (after reimporting my music to the new library) until I turned Genius on. Turning Genius off and deleting the Genius file hasn't stopped it, either.

    ok--same scenario but
    Running Disk Utility says:  Error: Disk Utility can’t repair this disk. Back up as many of your files as possible, reformat the disk, and restore your backed-up files.
    Trying to drag-drop the iTunes library folder from the ext HD to the internal MacBookPro HD gets: "The Finder can’t complete the operation can’t be completed because an unexpected error occurred (error code -50)."
    DiskWarrior was able to access the drive and created a preview drive, but said: 
    DiskWarrior has successfully built a new directory for the disk named "My Book." The new directory cannot replace the original directory because of a disk malfunction.!   It is highly recommended that you backup all of your data from the preview disk.!   But when I try to transfer (off either the MyBook HD or the DW preview version of MyBook I get:  The operation can’t be completed because the item “xyz” is in use.

  • The itunes library file cannot be saved. An Unknown error occurred (-1450)

    Greetings,
    I'm getting the following error:
    The itunes library file cannot be saved. An Unknown error occurred (-1450)
    I have uninstalled/reinstalled Itunes twice including deleting the old databases. After importing my old songs I get the above error continuously and when I restart Itunes my songs are no longer listed in Itunes.
    One thing, all the folders on my computer or now "Read-Only" I can't get rid of this. I uncheck it and aply the change but when I check the properties for the folder again Read-Only is selected again. This is a funny read-only in that the check in the box selecting read-only is ghosted but still there AND WONT GO AWAY.
    Any ideas?
    Thanks.
    Dell XPS   Windows XP Pro   Itunes Ver. 6.0.4.2

    i did move the music library folder to a shared documents folder, but I'm the only one who uses that folder. and the hard drive is not full, almost, but still 10 gigs left for use. itunes was working fine, and then one time when it started up it said the there were missing files, and that itunes had to be reinstalled. I looked but could not see any missing files. nothing bad has happened.it cant be a virius, because i have not been on the internet at all in the last month. but i did use CCleaner to clean out my hard drive of unnecessary files , not the first time i have, and then itunes did not work, this has never happened after I've done this so i doubt that CC was the prolbem. I looked at all of the files it was going to delete, and none of them were related to itunes.

  • The iTunes Library file cannot be saved A duplicate file name was specified

    I keep my music and my library file on an external drive. I've been having this error whenever I try to download the updates for my iphone apps, and then after it's popped up once, it continues. After I quit the app, when I try to restart iTunes it won't open because of an unknown error 13014. If I trash the itunes genius and extras files, I can get iTunes to open again, but then I'm back to the library file cannot be saved problem.

    I found the solution:
    first you have to locate your last library file, you can do this by clicking Edit-preferences-advanced. it will show you the itunes media folder location. then close Itunes
    open your folder and locate the last library (libraries are saved with date names, find the most recent one or the one that was last modified).
    change the name of the library to today´s date following the format it already has. you will have to change the name for libraries: .itl, .xml, genius and extras.
    once you have changed the name to today´s date on the 4 libraries you will have to delete all other libraries existing on the same folder or on a folder named "previous itunes libraries". it is also recommended to delete the itunes "preferences file" .dat (usually 1kb) and the "sentinel" file.
    so, you will have on your itunes media folder only 4 libraries: .itl .xml genius and extras.
    the next step is to click the itunes icon holding the "shift" key . itunes will ask you to either "quit, choose library or create library" click on choose library. then locate the library you just renamed with today´s date and extension .itl
    done, itunes will open with the last saved version of your library. keep in mind that some changes or songs will not be present if you added any while getting the error "itunes cannot save the library file. a duplicate name has been specified" just locate the songs and add them again, if you have the option "copy files to itunes media folder when adding to library" checked. then go to file-add folder or file-and locate the songs missing on the itunes media folder.itunes saves the files on the hard drive but does not save the changes on the library.
    hope this is clear enough.

Maybe you are looking for

  • PICTURES ARE ROTATED WHEN i DOWNLOAD THEM TO MY pc

    This just started happening.  When I download pictures from my Iphone 5 to my Dell PC desktop, the pictures are all rotated 90 degrees.  This never happened in the past.  How do I fix this?

  • Asset Posting as unplanned

    Hi All, When we try to post unplanned depreciation for assets SAP is not allowing as it is a group asset. We need unplanned depreciation as the planned values are not as per requirement. Also, how do we transfer profit and loss GL account balanes to

  • Waveburner not opening saved files

    Hi guys have had some major problems with my Waveburner from Logic 9 Upgrade. When i go to save my project that's no bother but when i go to open the project a warning box comes up and says "Bounce wb3. Waveburner cannot open this file type".... what

  • MacBook Pro won't sleep automatically - no process preventing sleep according to pmset. What's going on?

    i noticed the following problem with my MBP 8,1 running 10.7.2 — automatic sleep just doesn’t happen. Since I usually put my Macbook to sleep manually before leaving the desk etc. I just noticed this issue and can’t really pinpoint it to specific upd

  • Windows 8 - Random loss of network

    Hello! I posted the following in the community forums and it was recommend may I post this here as well.. Hoping someone can help! I have been battling an issue with a PC we have that will randomly loose its network. HP PC running Windows 8 RTL8168 (