public void LoadSongsSync(SongLoader loader) { NewLoad?.Invoke(this, EventArgs.Empty); var songs = loader.LoadSongs(); LoadInitiated?.Invoke(this, songs.Count); UpdateLibrary(songs, false); library.InitialiseParts(); LoadCompleted?.Invoke(this, EventArgs.Empty); }
public void LoadSongs(SongLoader loader) { UpdateLibrary(loader.LoadSongs(), false); }