deleting songs that can not be found in itunes

Home :: General Discussion :: deleting songs that can not be found in itunesReply
deleting songs that can not be found in itunes
Posted on: 31.01.2011 by Josh Villavaso
is there a way to sort only the songs that cannot be found?

i had to reorganize my music collection so i have thousands of songs that are "missing" and manually clicking is going to take days lol
Danette Yalcin
20.05.2012
I had a similar problem: duplicates from another disk drive that can now no longer be found. Clicking each file, or even selecting multiple files with the CTRL key is still cumbersome when there are many files which need to be removed from the iTunes library.
I used the following approach: I highlighted ALL (!) songs in the iTunes library (select the first song, keep "Shift" pressed, ant then click on the last song).
Then I right-clicked "Get Info" and changed the value of a field which I never use (in my case, "Episode ID"), but by which the songs can be sorted in the library.
It takes a few minutes, if you have plenty of songs, in order to write the new ID-Tags to each file. After that, however, you can sort your files by the field just modified. Since files which cannot be located cannot be modified either, they will show up grouped together. At this point, you can simply highlight the entire bunch by using the SHIFT-selection approach again, and press delete.
The only inconvenience to this approach is that at the next scheduled backup, ALL modified files will be backed up anew. But I believe this is a temporary problem, which doesn't require the user's presence anyhow, and it beats having to highlight the broken-link songs individually.

Originally Posted by ChrisEPIC
is there a way to sort only the songs that cannot be found?

i had to reorganize my music collection so i have thousands of songs that are "missing" and manually clicking is going to take days lol
Josh Villavaso
31.01.2011
Originally Posted by Karlos Santos
that would be nice, if i had a mac
lol
Josh Villavaso
31.01.2011
Originally Posted by Karlos Santos
I actually use DougScipts to name multiple Genres in iTunes..

DOH...!!!
what are dougscripts?
Josh Villavaso
31.01.2011
Originally Posted by padi_04
lolol
oh yes
and i'm glad i did.
this is making organizing soooo much easier
Nedra Fresneda
31.01.2011
Originally Posted by ChrisEPIC
lolwut?
Josh Villavaso
31.01.2011
Originally Posted by theory28
NNNUUUKKKK'DDDDDDDDDDDDDDD

kpow
lolwut?
Maisie Marras
31.01.2011
Originally Posted by ChrisEPIC
i decided to say fuck it and i deleted my entire library
NNNUUUKKKK'DDDDDDDDDDDDDDD

kpow
Candace Carmouche
31.01.2011
I believe this might be what youre looking for.... assuming youre on a mac....

Go to your Computer Library Folder (NOT your User Library Folder).
Open the Library>iTunes>Scripts (if any of these folders don't exist, then create them).
Place this Applescript (below) in the Scripts folder.

Quit and relaunch iTunes you should now see the Applescript icon in the menu bar with this script in it. Just select it and see how that does.

Code:
(*
"Super Remove Dead Tracks" for iTunes
written by Doug Adams
[email protected]

v1.5 october 26 2005
-- prevents error when trying to delete empty Smart Playlists and/or playlist that can't be deleted (Party Shuffle, Podcasts, etc)
-- code tweaks

v1.0 sep 25 2003
-- initial release

Get more free AppleScripts and info on writing your own
at Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

or visit http://www.gnu.org/copyleft/gpl.html

*)

-------------------------------------
(* the number below is the number of tracks
to count before reporting progress -
you can change this number to a larger or smaller number. 

If you set it to zero, you will not see the progress message *)

property progress_factor : 500

tell application "iTunes"
	display dialog "Super Remove Dead Tracks" & return & return & 
Josh Villavaso
31.01.2011
is there a way to sort only the songs that cannot be found?

i had to reorganize my music collection so i have thousands of songs that are "missing" and manually clicking is going to take days lol
Danette Yalcin
20.05.2012
I had a similar problem: duplicates from another disk drive that can now no longer be found. Clicking each file, or even selecting multiple files with the CTRL key is still cumbersome when there are many files which need to be removed from the iTunes library.
I used the following approach: I highlighted ALL (!) songs in the iTunes library (select the first song, keep "Shift" pressed, ant then click on the last song).
Then I right-clicked "Get Info" and changed the value of a field which I never use (in my case, "Episode ID"), but by which the songs can be sorted in the library.
It takes a few minutes, if you have plenty of songs, in order to write the new ID-Tags to each file. After that, however, you can sort your files by the field just modified. Since files which cannot be located cannot be modified either, they will show up grouped together. At this point, you can simply highlight the entire bunch by using the SHIFT-selection approach again, and press delete.
The only inconvenience to this approach is that at the next scheduled backup, ALL modified files will be backed up anew. But I believe this is a temporary problem, which doesn't require the user's presence anyhow, and it beats having to highlight the broken-link songs individually.

Originally Posted by ChrisEPIC
is there a way to sort only the songs that cannot be found?

i had to reorganize my music collection so i have thousands of songs that are "missing" and manually clicking is going to take days lol
Josh Villavaso
31.01.2011
Originally Posted by Karlos Santos
that would be nice, if i had a mac
lol
nayit ruiz jaramillo
31.01.2011
http://dougscripts.com/itunes/
Josh Villavaso
31.01.2011
Originally Posted by Karlos Santos
I actually use DougScipts to name multiple Genres in iTunes..

DOH...!!!
what are dougscripts?
nayit ruiz jaramillo
31.01.2011
I actually use DougScipts to name multiple Genres in iTunes..

DOH...!!!
Josh Villavaso
31.01.2011
Originally Posted by padi_04
lolol
oh yes
and i'm glad i did.
this is making organizing soooo much easier
Nedra Fresneda
31.01.2011
Originally Posted by ChrisEPIC
lolwut?
Josh Villavaso
31.01.2011
Originally Posted by theory28
NNNUUUKKKK'DDDDDDDDDDDDDDD

kpow
lolwut?
Josh Villavaso
31.01.2011
@xtainw
you should know i'm not on a mac
you're the one who found the computer for me to buy
Maisie Marras
31.01.2011
Originally Posted by ChrisEPIC
i decided to say fuck it and i deleted my entire library
NNNUUUKKKK'DDDDDDDDDDDDDDD

kpow
Candace Carmouche
31.01.2011
I believe this might be what youre looking for.... assuming youre on a mac....

Go to your Computer Library Folder (NOT your User Library Folder).
Open the Library>iTunes>Scripts (if any of these folders don't exist, then create them).
Place this Applescript (below) in the Scripts folder.

Quit and relaunch iTunes you should now see the Applescript icon in the menu bar with this script in it. Just select it and see how that does.

Code:
(*
"Super Remove Dead Tracks" for iTunes
written by Doug Adams
[email protected]

v1.5 october 26 2005
-- prevents error when trying to delete empty Smart Playlists and/or playlist that can't be deleted (Party Shuffle, Podcasts, etc)
-- code tweaks

v1.0 sep 25 2003
-- initial release

Get more free AppleScripts and info on writing your own
at Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

or visit http://www.gnu.org/copyleft/gpl.html

*)

-------------------------------------
(* the number below is the number of tracks
to count before reporting progress -
you can change this number to a larger or smaller number. 

If you set it to zero, you will not see the progress message *)

property progress_factor : 500

tell application "iTunes"
	display dialog "Super Remove Dead Tracks" & return & return & 
Josh Villavaso
31.01.2011
yes i did mean in itunes, i use itunes to organize traktor, its easier to make a playlist in itunes then transfer it to my traktor collection.

i decided to say fuck it and i deleted my entire library, i'm just gonna add individual folders so i can add all the genres and what not a lot easier
(i have all my music organized by genre and sub genre on my hard drive)
makes everything easier, but it takes a long ass time ha
Leeanna Ayla
31.01.2011
I believe he means in iTunes Karlos. It used to be that you couldn't add songs that were missing to a playlist, but I'm not sure if it'll still work though; it's worth a try though. Select all of your songs in iTunes and drag them to a playlist. Create a new smart playlist that has the rule NOT in whatever you named the playlist you drug your collection into. Now that new smart playlist should contain all of your missing tracks.
nayit ruiz jaramillo
31.01.2011
EDIT:

Are all the missing tunes on the same Hard Drive, just in different folders???

Use "Consolidate Library" in itunes. This copies all tracks into the Music Folder.

Then delete the library.xml and rebuild the library.

I believe that might work... maybe.
Maisie Marras
31.01.2011
unfortunatly i dont believe there is.

just hope you have huge groups of ones that are missing that you can delete at the same time

or do what i did: ignore it, then nuke itunes and delete everything

but i also rarely use itunes. and when i play music i go to the folder the song is in
nayit ruiz jaramillo
31.01.2011
Traktor ..?

Yeah, right/ctrl click on the Track Collection and choose 'Consistency Check' this will check the collection and tell you how many tracks are missing.
You will have options to delete them

Please note this will higlight all tracks that you have altered in iTunes over the time you have used it.

Best to choose the option to remove from Collection as that will leave any missing but wanted tracks in iTunes.

<< Back to General DiscussionReply

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy