public FileSystemTreeNodeLocalDBEntry(IIconManager icon_mgr, CUEToolsLocalDBEntry item, bool showArtist, bool showYear, string inputPath)
     : base(icon_mgr, inputPath == null && item.InputPaths != null && item.InputPaths.Count > 1)
 {
     this.Item = item;
     this.m_input_path = inputPath;
     this.ShowArtist = showArtist;
     this.ShowYear = showYear;
     this.SelectedImageIndex = this.ImageIndex = this.DisplayIcon;
     this.Text = this.DisplayName;
     //// Choose state from m_state_image_list
     //if (item.InputPaths.Find(path => Path.GetExtension(path).ToLower() == ".cue") != null)
     //    album.StateImageKey = "cue";
     //else
     //    album.StateImageKey = "blank";
 }
        public bool HasPath(string inputPath)
        {
            string norm = CUEToolsLocalDBEntry.NormalizePath(inputPath);

            return(this.InputPaths != null && this.InputPaths.Find(i => i == norm) != null);
        }