deleting songs that can not be found in itunes
Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Tech Mentor
    Join Date
    Dec 2010
    Location
    Duluth, Minnesota
    Posts
    139

    Default deleting songs that can not be found in itunes

    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

  2. #2
    DJTT Moderator bloke Karlos Santos's Avatar
    Join Date
    Oct 2008
    Location
    Next to a canal in England.
    Posts
    9,019

    Default

    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.

  3. #3
    Banhammerized theory28's Avatar
    Join Date
    Jul 2010
    Posts
    3,973

    Default

    unfortunatly i dont think 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
    Become a Fan, And View My Latest Mixes | DJTT Chatroom (FB)
    Quote Originally Posted by photojojo View Post
    If the pack of lions are in sync then they're not real lions so it doesn't count.

  4. #4
    DJTT Moderator bloke Karlos Santos's Avatar
    Join Date
    Oct 2008
    Location
    Next to a canal in England.
    Posts
    9,019

    Default

    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 think that might work... maybe.

  5. #5
    DJTT Infectious Moderator photojojo's Avatar
    Join Date
    Apr 2010
    Location
    Sherman, TX
    Posts
    13,925

    Default

    I think 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.
    Chris Jennings FHP

    Podcast - Soundcloud - Mixcloud - Beatport Charts - x

  6. #6
    Tech Mentor
    Join Date
    Dec 2010
    Location
    Duluth, Minnesota
    Posts
    139

    Default

    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

  7. #7
    Tech Guru
    Join Date
    Sep 2009
    Location
    Albuquerque, NM
    Posts
    1,439

    Default

    I think 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
    dougadams@mac.com
    
    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 & ¬
    		"Removes tracks whose files are missing or deleted, so-called" & ¬
    		"\"dead\" tracks designated with (!) next to the track name." buttons ¬
    		{"Cancel", "Proceed..."} default button 2
    	
    	set mainLibrary to library playlist 1
    	set totalTracks to count of file tracks of mainLibrary
    	set all_playlists to user playlists whose smart is false -- don't delete Smart Playlists later
    	
    	set deleted_tracks to 0
    	set all_checked_tracks to 0
    	set countem to ""
    	
    	set oldfi to fixed indexing
    	set fixed indexing to true
    	
    	repeat with t from totalTracks to 1 by -1
    		
    		try
    			set this_track to file track t of mainLibrary
    			
    			if this_track's location is missing value then
    				delete this_track
    				set deleted_tracks to deleted_tracks + 1
    			end if
    			
    			set all_checked_tracks to all_checked_tracks + 1
    			
    			if frontmost then
    				if (progress_factor is not 0) and (all_checked_tracks mod progress_factor) is 0 then
    					if deleted_tracks is greater than 0 then ¬
    						set countem to (deleted_tracks & " dead tracks removed so far...")
    					if frontmost is true then display dialog (all_checked_tracks as string) & ¬
    						" tracks checked..." & ¬
    						return & countem buttons {"Cancel", «data utxt266B»} giving up after 1
    				end if
    			end if
    		end try
    		
    	end repeat
    	
    	set fixed indexing to oldfi
    	
    	repeat with this_playlist in all_playlists
    		if (get count of tracks of this_playlist) is 0 then
    			try
    				delete playlist this_playlist
    			end try
    		end if
    	end repeat
    	
    	if deleted_tracks is greater than 0 then
    		set ps to " was"
    		if deleted_tracks is not 1 then set ps to "s were"
    		display dialog "Finished removing \"dead\" tracks." & return & ¬
    			deleted_tracks & " track" & ps & ¬
    			" removed." buttons {"Thanks"} default button 1 with icon 1
    	else
    		if gave up of (display dialog "It was not necessary to remove any tracks." buttons {"Thanks"} ¬
    			default button 1 with icon 1 giving up after 15) is true then error number -128
    	end if
    	
    end tell
    To use this code in an applescript open up Script Editor (found in Applications>Applescript>) and then copy and paste this code into a new script. Then save the file into the directories noted above.



    and comon guys. im the windows dude. i shouldnt have been the first guy to think "i bet theres an applescript that can do this" =p
    Baked Chicken | Brown Rice | Asparagus | Apple Juice | Snack Wells | Pretzel Chips | Lots of Water

  8. #8
    Banhammerized theory28's Avatar
    Join Date
    Jul 2010
    Posts
    3,973

    Default

    Quote Originally Posted by ChrisEPIC View Post
    i decided to say fuck it and i deleted my entire library
    NNNUUUKKKK'DDDDDDDDDDDDDDD

    kpow
    Become a Fan, And View My Latest Mixes | DJTT Chatroom (FB)
    Quote Originally Posted by photojojo View Post
    If the pack of lions are in sync then they're not real lions so it doesn't count.

  9. #9
    Tech Mentor
    Join Date
    Dec 2010
    Location
    Duluth, Minnesota
    Posts
    139

    Default

    @xtainw
    you should know i'm not on a mac
    you're the one who found the computer for me to buy

  10. #10
    Tech Mentor
    Join Date
    Dec 2010
    Location
    Duluth, Minnesota
    Posts
    139

    Default

    Quote Originally Posted by theory28 View Post
    NNNUUUKKKK'DDDDDDDDDDDDDDD

    kpow
    lolwut?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •