public SoundFile(string filepath, string shortcutPath) { FilePath = shortcutPath; Source = SoundEngine.AddSoundSourceFromFile(filepath, StreamMode.AutoDetect, false); if (Source == null) { Source = SoundEngine.GetSoundSource(filepath); } FileName = Path.GetFileNameWithoutExtension(filepath); _displayName = DisplayNameFromFilename(); //Length = Source.PlayLength; HasTrackList = TracklistExists(shortcutPath); }