iTunes has the old location (file path that no longer exist) of track with ! in front of them. I know this because if you right click on track with ! in front of it and select GetInfo (then choose no, don't locate it). Under Summary tab it has a section that shows the song's path (not working). when I try to get the track location using iTumes COM, IITFileOrCDTrack.location return empty string. So, how do I get this "where" value from Getinfo --> Summary tab?
Below is how I currently try to get track location (using C#). My entire iTunes lib has 10songs all of them point to the wrong file location so it doesn't matter which song I chose.
iTunesApp itunes = new iTunesApp();
IITLibraryPlaylist mainLibrary = itunes.LibraryPlaylist;
IITTrackCollection tracks = mainLibrary.Tracks;
IITFileOrCDTrack currTrack;
currTrack = tracks[5] as IITFileOrCDTrack;
Console.WriteLine(currTrack.location) //output is blank.