Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Any software that can rebuild iTunes songs lost to Unknown Artist/ Unknown Album

iTunes sent 80% of my songs (about 20000 songs of 475GB) into Unknown Artist/ Album folder. My songs were ripped in .WAV and .AIFF formats and residing in 1.5 TB external hard disk. I realise how to rebuild them manually (through 'locate and search' but it will take eternity to complete. I don’t have backup copy of my music file and I can’t re-import (ripping) them from the CDs.

Is there software that can rebuild songs from this Unknown artist/ album folder back to the Artist/Album folders on iTunes Media/Music/.... (or to any specified directory/folder).

All my itunes library files, music metadata are intact. Artwork, Album, Artist name and track number and song names, genres etc are showing on itunes GUI. This problem should be technically solvable by a program. Any help or pointer in the right direction will be appreciated.

Posted on Jan 2, 2012 3:17 PM

Reply
45 replies

May 30, 2014 4:07 PM in response to dowfrommd

You're welcome. 🙂


I'd let iTunes tidy up by enabling Keep iTunes Media folder organized. It will be faster than my script.


As you've probably discovered .wav files are particularly tricky if you lose your library database as they don't have a tag to store metadata. See this backup tip if you haven't already sorted that out.


You might want to consider converting the files to AIFF or Apple Lossless unless you need the .wavs for some other application. My script ConvertFormat can help with this task.


tt2

Sep 2, 2016 5:11 AM in response to turingtest2

Thanks, tt2. I was able to download the script and run it, but it only found 241 out of 4343 tracks (iTunes says there are 4454 tracks missing even after the script found some). I made sure the “Keep iTunes Medial Folder Organized” option was not checked. The folder path in my iTunes preferences is set to C:\Users\~\Music\iTunes. The folder structure for the songs I am attempting to find is iTunes\Music. The script seemed to find most of the songs in the Artists folders that are sitting directly in the Music folder (iTunes\Music\Artists\Albums), but I also have two other folders labeled CDs MP3 and Other Music Folders that contain the majority of my music. The file paths for these folders are iTunes\Music\CDs MP3\Artists and iTunes\Music\Other Music Folders\[Various Folders]\Artists. The script doesn’t appear to be finding any songs from these two folders. Am I doing something wrong with running the script? My understanding from your instructions was that the script should find songs that are in any sub-folder of the folder being searched. Do I need to move the songs in those two large folders to a different location?


Also, in case it matters I have just copied these files from an external hard drive on to a new computer, which is why iTunes can’t find most of them. Additionally, the files were running on a Mac, but my new computer is a PC.


Here is an example of what iTunes is showing for the location of a song vs. the actual location.


iTunes path: File:///Volumes/Seagate Backup Plus Drive/Music/iTunes Media Folder/Music/Beastie Boys/Ill Communication/01 Sure Shot.mp3


Actual file location: iTunes\Music\CDs MP3\Beastie Boys\Ill Communication\01-Sure Shot.mp3


Any additional guidance would be appreciated.


Thanks.

GoA

Sep 2, 2016 8:27 AM in response to Guns of August

Lost & Found Playlists

Create a playlist called Found, select everything in Music and drag it into the Found playlist. It should only add the tracks without exclamation marks. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.


If you select tracks before calling the script it should only attempt repairs on the selected tracks.


Don't change the iTunes Media folder. When you run FindTracks it attempts to identify the active media folder based on the location of a track that isn't lost. One of the dialog boxes offered by the script lets you edit this path before the script goes on to search for things.


tt2

Sep 2, 2016 9:06 AM in response to turingtest2

I got the playlists set up. I tried to run the script again to see if I could change the location to search, but it didn't give me an option. This is the only box that pops up when I double click the script icon on my desktop.


User uploaded file


If I click No so each track will pop up it asks me if I want to add each file it finds to the found playlist with the file path (iTunes\Music\<Artist>\<Album>\<Song>). If I click Yes it runs through all the tracks automatically and gives me the result that 241 tracks were found. Do I possibly have an older version? I just pulled it off the website yesterday.

Sep 2, 2016 9:25 AM in response to Guns of August

You have the current version. The script should work with selected tracks if you select them first.


Alternatively edit line 116 from:

Source="Library" ' Named playlist to process, use "Library" for entire library

to:

Source="" ' Named playlist to process, use "Library" for entire library


So that it reverts to the current playlist instead of the whole library if you haven't made a selection.


Answer Yes to the first prompt, the second prompt will show the path to the media folder that it will search. It should look something like this:

User uploaded file

tt2

Sep 2, 2016 3:27 PM in response to turingtest2

For some reason the script that I downloaded was apparently different than the text of the one on the website. I copied and pasted the text manually into the script and it seems to be working now. I get the second prompt to choose the location now. I'm working my way through each folder and hopefully will be able to connect most of the broken links.


The following message has popped up several times in the process. I've just hit OK each time and the script continues to run.


User uploaded file

Any software that can rebuild iTunes songs lost to Unknown Artist/ Unknown Album

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.