Example #1
0
        public void SetMusicFile(MusicFileEditor musicFileEditor)
        {
            if (_coverSearch.State != CoverSearchState.Wait)
                throw new InvalidOperationException("Can't set a MusicFile while another is processing or canceled.");

            _musicFileEditor = musicFileEditor;
            _coverSearch.LaunchSearch(_musicFileEditor.EditedAlbum);
        }
Example #2
0
 public CoverWizard(MusicFileEditor musicFileEditor, GalleryManager galleryManager)
 {
     _musicFileEditor = musicFileEditor;
     _coverSearch = new CoverSearcher(galleryManager);
     _indexSelected = -1;
 }