Remove missing music from iTunes database

I have  been converting my music from one format to another and (because I don't know how to replace the original version rather than just creating a new copy) deleting the old version.  Doing so leaves me with two references in iTunes to the relevant music, one copy of which refers to a now missing track.
How can I rebuild the database so that the duplicate and now missing tracks are deleted but the data for the new versions including last played time is untouched?
I presume I can rebuild the database by deleting all music from iTunes but not the disk and then adding my iTunes folder again but I also presume that this will delete all the last played times and ratings.

you might find this script useful:
Super Remove Dead Tracks 
Surveys iTunes for tracks whose files are no longer available (so-called "dead" tracks, as indicated by a "!" next to their names) and removes them. Progress is breezily indicated every 500 tracks while iTunes is the frontmost app.

Similar Messages

  • Re-downloading missing music from iTunes

    After losing an external HD a year or so ago with my itunes purchased items on - when the new itunes feature of re-downloading previously purchased items was launched, I thought, great I can get all my old stuff back.
    However, when using the feature, I find that that my iTunes Music DB still has the items listed in its database (although with the exclamation mark saying that it cant locate the item) so it does not show them as missing items.
    On my iPad all is fine and I downloaded my 900 odd missing items.
    How do I(if I can) get these items back on my back?
    My only idea is to manually remove the exclaimed items from ITunes then try the featrure again from my mac.
    Any other ideas?
    Many Thanks

    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; only apps, books (not audiobooks), music, and t.v. shows (not movies).  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.

  • Transfer from 2G to 3G removed all music from iTunes library

    When I got my used 3G iPhone today, the AT&T store told me to plug it into my laptop (dell, windows xp) and it will sync and that is all I need to do.
    Well, I didn't sync or back up the 2G, I just put the new one in and that synched and backed up all right, but iTunes now has nothing in my Music or Apps.
    After several sync and backups, still no iTunes music. I have all my music on 2G and on iPod.
    Took computer to the AT&T store and we couldn't locate a backup that has my music since I tried so many times already today. My backup is in C:\Data\My Music\iTunes and has 1 song not 417.
    How do I get the music from my 2G or iPod back into iTunes in order to add/sync it to my new 3G?
    Please help
    Deb

    You guys...iTunes is such a DRM freak, if your trying to use it for the music you pirated from Ubekastanian websites dont even bother, it will delete it. Unless you purchased it off of iTunes, iTunes itself won't help you. What you need to do is google Show Hidden Files mac/windows and make your iPod or iPhone show those F00, F01, etc files. Just copy all of those files onto your desktop or your Music file, and then import it all into iTunes. If you want to organize it, you can sort through it yourself, although if your iPod has as much music as mine it will be a job.
    Next time, back up the iPhone. I use this system when Im trying to get music I got from used iPods on to my iTunes library.
    If you have a Linux machine, usually Ubuntu, Fedora, or some other form of Debian, then go into the iPod files and copy them all on to your desktop and back onto the iPod. Linux deletes all forms of DRM--its REALLY nice.

  • Can't figure out how to remove select music from my iPhone 4 with the new iTunes

    My old PC with all my music on iTunes died, and I need to remove some music from my iPhone 4 to make room for the new OS update. I downloaded iTunes on a different computer and tried to sync the iPhone to it, to move all the music on my iPhone to iTunes so I could deselect what songs I wanted to remove to make the storage space. I can't figure out how to do this with the new (non-user-friendly) iTunes update. When I sync the phone, the only songs that show up are the ones I have purchased on iTunes, but non of the songs/albums that I transfered from CDs. I don't want to reset my phone to delete ALL my music, just select songs/albums. Can anyone please help me figure out the new iTunes to be able to do this? It is driving me nuts and I'm getting really mad at Apple for their constant updates making things less easy to use!

    i have the same problem, if u find it out please let me know :C i can erase or put new songs from my pc to itunes u.u

  • HT4914 if you use iTunes match in order to create space and remove music from your hard drive, does that happen automatically when you subscribe and upload your music or is there another step to remove the music from your hard drive once you've uploaded t

    if you use iTunes match in order to create space and remove music from your hard drive, does that happen automatically when you subscribe and upload your music or is there another step to remove the music from your hard drive once you've uploaded to iTunes match?

    Welcome to the Apple Community.
    iTunes match won't automatically remove content from your computer, if you want to do that you will need to do it manually yourself.

  • A few years ago I bought music from Itunes.  Recently I deactivated all computers in order to add a new computer.  Most of the music I purchased came through, but I am still missing about 30% of it.  How can I download all the music I have purchased from

    A few years ago I bought music from Itunes.  Recently I deactivated all computers in order to add a new computer.  Most of the music I purchased came through, but I am still missing about 30% of it.  How can I download all the music I have purchased from Itunes?

    Might have luck with that here >  Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Previous purchases may be unavailable if they have been refunded or are no longer on the iTunes Store.
    Make sure and use the same Apple ID that was used for the original purchases.

  • How do I add and remove music from iTunes in iPhone?

    I've been having trouble with my phone memory (16gb) being used up by music. I recently change setting to have it covert higher bit songs to 128 kbps which seemed to help.
    I just converted to new iOs 7 and it started downloading all music from iTunes in my laptop—which overfilled the memory again.
    I tried to go to manual sync and now I cannot see how to add or remove any music (and can't see the bar at the botto of the summary page which should tell me how the memory space is being used and what is available.

    I don't know. It seeme to disappear after I check that I would manually sync.

  • HT201272 i seem to be missing music from my itunes account - it was there earlier this week and when i plugged in my phone to download music, itunes seems to have updated my phone but not my music and it is no where to be found

    i am missing music from my computer and iphone - i plugged in my phone earlier this week to download purchased music.  when i looked at my phone it updated all information on my phone but my music was missing along with apps - i have no music at all and only the very recent songs i purchased are on my computer in my itunes account - i cannot find my previously purchased songs.

    You'll have to update your OS on your Macbook.
    Click on the black Apple logo at the top left of your Mac screen.  Then click on Software Update.
    support.apple.com/kb/ht1338

  • Ipod 5 wasn't updating new playlists.  Removed all music from iPod and ended up with 34 GB of OTHER.  How do I remove this without doing a full restore?

    iPod 5 was not adding new playlists when synching (plenty of space remained in memory for it).  This happened around the time of the new update.  I removed all music from the iPod and when I went to resync the selected playlists, my OTHER portion of memory jumped up to 34GB and now there is not enough space on the iPod to put all my music back on.
    I've checked the usage of all the apps and photos, etc, it is pretty clear this is because of the music portion only.
    Is there anyway of removing this information?  Without doing a restore?  It is not jailbroken either.

    An "other" larger than about 1 1/2 GB indicates corrupted files.
    What is the Other on my iPhone and How to Remove It
    What is "Other" and What Can I Do About It?
    Next, usually restoring from backup eliminated the corrupted files. However, sometimes restoring to factory settings/new iPod is required.
    To restore from backup see:
    iOS: How to back up
    To restore to factory settings/new iPod see:
    iTunes: Restoring iOS software

  • How do I remove floating music from my iMovie '11 project?

    I created a new project using iMovie '11.  When I started adding a 2nd song, for some reason, the whole project was updated with songs from my iTunes Library automatically, which is not what I desired to do.
    I deleted the songs multiple times and it seems to add more songs from a queue or floating music.  So, no matter how many time I delete the music, there was no end to it.
    Can you please help me and tell me how to remove floating music from my project?  I did spent quite a few hours on putting together a vacation movie and do not want to restart all over again.
    Thanks.
    Chessa98

    Open up the Music settings pane for the slideshow,
    uncheck the Play music during slideshow checkbox or select a different song and then click on the Choose button.

  • Can I download music from iTunes to 2 itouches

    My computer with iTunes which my itouch was synced to crashed, literally died. I threw it out and had no back-up so lost everything on it (still don't know how to make backup). I bought a new computer, re-downloaded iTunes and my several days worth of music is now gone except for a few songs purchased so I am re-downloading my CDs which is a time consuming pain.
    Here's my problem. My itouch only has one album on it (Chris brown's F.a.m.e.). I finally want to transfer my iTunes music to my itouch in case my computer crashes again and to listen to it there too which I hadn't done in the past. When I synched my itouch to iTunes it says I have to erase everything on my itouch first since I've never synched it to the iTunes on this computer before even though it is under my same exact account. This is do unreasonable and stupid. I have tons of pictures, videos, emails and apps I've been using my 64GB itouch exclusively for. My iTunes account is registered to this itouch and there's no way I want to delete everything on it years worth just to have access to synch to iTunes. Makes no friggin sense to me. I purchased a new itouch so I can download the music onto that. I've already spent hours and hours over a couple weeks every free moment downloading my CDs to iTunes. Before I crack open the new itouch, is it going to let me download my music onto it or only to my old itouch whose content I do not want to erase?? I'm frustrated is an extreme understatement as to how I am feeling. Any suggestions? Can I unregister my old itouch and register the new one to iTunes...WITHOUT having to delete all the music I've already downloaded? Can I download onto both my itouches since everything will be registered to me? Or do I also have to buy another computer, download a second iTunes, register the new itouch or ??

    1. My computer crashed. I smelled smoke, it no longer turned on, nobody was able to retrieve anything on it. It went in the trash with all my data on it - pictures, itunes, documents etc. I had never made a back up.
    2. I purchased a brand new Dell computer. I re-installed iTunes using my same username/password as the itunes I had on my old computer. All the days worth of music (non-purchased) were gone. I was told through a paid call by apple that I have to re-install all the non purchased items (my CDs) but they showed me how to bring over my purchased music.
    3. I spent hours and hours and hours re-installing all my CDs, several days worth of music. I then synched my itouch, and it is telling me that it detected a new computer, that it has to first erase everything on the itouch in order to synch and transfer the music onto it.
    4. I don't want to erease all the content on my itouch - pictures, videos, emails, etc. etc. Have had it for a while and not something I want to do.
    5. I purchased another 64GB itouch so I can synch that one instead.
    6. I haven't removed it from the box yet. My question is "Can I download music from iTunes to 2 itouches." If I crack open the box and synch the brand new itouch to the itunes on my new computer, registered to my old itouch, will it work? Will it synch and download the music to that device so that I don't have to erase everything on my old itouch - wich is not an option for me. I don't want to delete everything on it. I bought a new itouch so I won't have to delete everything and transfer it onto that. The itunes on my new computer is already registered to my old itouch. Had I known I'd have to delete everything to synch, I would've not used my old username/password, would have created a new one, a new account so I could sync it to my new itouch which I shelled out the money on just so I don't have to erase everything on my old itouch. So my question again - can I synch this second brand new itouch to the itunes on my compouter? I don't want to remove it out of the original packaging and find out the hard way only to then not be able to return it to the store. ANd if I can't and I don't want to delete everything on my old itouch, am I screwed and no longer able to use itunes?

  • I'm trying to transfer music from iTunes on an old PC that uses an external storage device to a new PC (Windows 7) that will use that same external storage device.  I am also dealing with new iTunes 11.  How do I do this??  What folder does iTunes use?

    I'm trying to transfer music from iTunes on an old PC (Windows Vista Home Basic) that uses an external storage device to store the files to a new PC (Windows 7 Starter) that will use that same external storage device.  I am also dealing with the new iTunes 11.  How can I accomplish this successfully?    What folder does iTunes use to store the data in?  I've tried several things.  Home Sharing caused duplicates but not all songs or apps transfered.  It is a large library! I've tried just setting the path in the Advanced Tab of iTunes preferences of the new computer with the external drive connected the same as the path when the external drive is connected to the old computer.  This was the best solution so far but still a few artists missing and some apps. Any suggestions?

    Here are typical layouts for the iTunes folders:
    With iTunes 11 you might also have a Home Videos folder inside iTunes Media.
    In the simplest cases you copy the entire iTunes folder from <User's Music> on the source computer to <User's Music> on the target machine, install iTunes, and it "just works"TM.
    If the media folder (inside the red outline) has been split out to a separate location then you can copy the library folder (outside the red outline) as before and connect the drive holding the media so that it has exactly the same path as before. If the drive appears as D: on one system and E: on the other then the library won't be able to find the media.
    The crucial file is iTunes Library.itl - this contains a record of the tracks that have been added to the library, ratings, play counts, playlists etc.
    See also: Make a split library portable.
    tt2

  • Itunes:  i want to find a single fix for missing music on itunes rather than using "iTunes: Finding lost media and downloads" on a case by case basis.

    recently when i was creating a playlist, i realized that i was missing music from my extensive itunes (12.0.1.26) library.  i found the solution "itunes:  finding lost media and downloads" and used the general approach to find the music in finder and copy it to itunes.  i don't want to do this every time i find i am missing music.  is there an automated fix?  i want apple to develop a way to automate the fix.  can it be that this isn't a problem for many people?
    i ask this now because i just looked for music i thought i had but can't find.  maybe i am wrong about having the artist, but it has happened on another artist too.  i can't trust itunes to tell me whether i have a song or not.  i don't want to keep going back to finder, especially when the instructions in "itunes:  finding lost media and downloads" doesn't actually reflect my system (os x 10.7.5).
    i don't want to try to do a restore.  i have never done a restore on my mac (previously a pc user).  and, i don't know how far back to take the restore to find the old music.  and then music i have added since i lost the old music wouldn't be there.
    i understand that there are so many system variables that apple would need to take into consideration with a general fix.  but:  i am assuming that apple's changes have caused my problem and feel that apple should do something to fix it.  perhaps my assumption is incorrect.
    thank you for your help.

    limnos, i always have backups.  the problem is that i don't know how far back in time to take a restore because i don't know how long this has been going on.  and, if i take the restore back very far, i will lose what has been added since the music started to disappear. 
    i don't even know what you mean when you say "you will check there aren't any broken links (use a script from the Dougscripts web site) before you do a backup."
    i agree with you to some extent about not automatically installing upgrades.  i'm still running lion and was pushed to it from snow leopard.  the problem is that i have a hard time envisioning the changes described in an update to judge whether something is valuable or not. 
    i have questions about your last paragraph.  i'm going to repeat it here and then insert my questions as i go.  please forgive my all caps for the moment:
    "Now for your missing music, is it that there are broken links, or are things missing completely from the library?" I DON'T KNOW ENOUGH TO ANSWER THAT QUESTION.  I BELIEVE THAT THE PROBLEM HAS TO DO WITH BROKEN LINKS.  WHEN I COULDN'T FIND THE MUSIC THAT I THOUGHT I HAD LOADED INTO ITUNES YEARS AGO, I FOUND THE CD'S AND IMPORTED THEM TO ITUNES.  I GOT A MESSAGE ABOUT SOME OF THE TRACKS BEING DUPLICATES THAT ASKED WHETHER I WANTED TO IGNORE OR IMPORT.  I CHOSE IMPORT BECAUSE ITUNES DIDN'T TELL ME WHAT WAS DUPLICATED.  IT WAS ONLY AFTER RE-IMPORTING SEVERAL CD'S THAT I REALIZED THAT THERE WERE NOW DUPLICATES OF THE CD'S:  THE FILES I HAD JUST LOADED AND THOSE THAT I HAD LOADED SOME TIME AGO.  THE ORIGINALS MAGICALLY APPEARED AFTER I RE-IMPORTED THE CD'S.   I'M GUESSING THAT THIS IS AN EXAMPLE OF A BROKEN LINK  I DON'T KNOW HOW TO RECOGNIZE A BROKEN LINK OR HOW TO PREVENT ONE.  AFTER I REALIZED THE PROBLEM, I FOUND THE "FINDING LOST MEDIA AND DOWNLOADS" QUIDE.  I LOCATED THE MISSING MUSIC IN FINDER AND DRAGGED IT TO ITUNES.  DOES THIS COUNT AS A BROKEN LINK? 
    "If the latter and you use iTunes default settings for managing media, you can drag your media folder to Automatically Add To iTunes.  It should add anything in the folder but not in the library list but ignore things that are."  CAN YOU REPHRASE THIS LAST PARAGRAPH?  I DON'T KNOW WHAT "DEFAULT SETTINGS FOR MANAGING MEDIA" MEANS. 
    FOR "DRAG MEDIA FOLDER TO AUTOMATICALLY ADD TO ITUNES,"  I THINK YOU MEAN I CAN DRAG   /MUSIC/ITUNES/ITUNES MEDIA/MUSIC   IN FINDER TO THE ITUNES ICON IN THE DOCK.  AND, THAT THAT ACTION WILL REPLACE ANYTHING MISSING IN ITUNES BUT NOT DUPLICATE THE FILES THAT ARE IN ITUNES.  IS THAT RIGHT? 
    thank you for your time and help, limnos.

  • HT1725 I can no longer download music from itunes store.  Happened when I was Downloading from songs dragged from itunes store to a playlist.  I tried to downloaad more than one at a time.  The download stopped.  Now I can not download at all.

    I can no longer download music from itunes store.  It happened when I was trying to download songs dragged into a playlist.  I tried to download more than one at a time.  It stopped.  Now I cant download at all.  Even rebooted my machine. 

    OK thanks I will try that. I just don't understand why I still can't download new videos as I've deleted the software I installed and I've changed my camera settings back to what they were before when I could download into iPhoto. I perhaps should have mentioned it's iPhoto '08 version 7.1.5. Is there any way of putting iPhoto back as the "default download and view" programme?
    It could be as simple as longer (larger) videos - iPhoto does not always handle larger video files well
    Is there any way of putting iPhoto back as the "default download and view" programme?
    iPhoto is not a download and view program - it is a photo management database program that imports photos - Image Capture is a download program - Preview is a view program
    The default program to download your photos is set in the preference panel of either iPhoto or image capture
    LN

  • How do I prevent itunes from moving my music from its original place ie folders in an external drive when I play music from itunes. I have all my music in artist folders and separated by MPG3/MPG4 and FLAC folder within the artist folder.

    How do I prevent itunes from moving my music from its original place ie folders in an external drive when I play music from itunes. I have all my music in artist folders and separated by MPG3/MPG4 and FLAC folders within the artist folder and itunes moves the track/s whenever i try and load selected music to my ipod/iphone. I've tried to find some sort of preference to prevent this, but no joy? What am I missing?

    Try opening iTunes preferences. Then click on advanced tab. Then uncheck "Copy files to iTunes media folder when adding to library." By default, iTunes copies music to its own media folder when you use iTunes to play the music.

Maybe you are looking for