mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
* option to purge records from local DB
* metadata editing window size is now saved in settings * old musicbrainz library removed, musicbrainz metadata now only comes from CTDB * confirmation dialog before submitting to CTDB
This commit is contained in:
@@ -20,16 +20,15 @@ namespace JDP
|
||||
|
||||
public CUESheet CUE;
|
||||
|
||||
private bool freedb, musicbrainz, ctdb;
|
||||
private bool freedb, ctdb;
|
||||
|
||||
public void LookupAlbumInfo(bool freedb, bool musicbrainz, bool ctdb, bool cache, bool cue)
|
||||
public void LookupAlbumInfo(bool freedb, bool ctdb, bool cache, bool cue)
|
||||
{
|
||||
this.freedb = freedb;
|
||||
this.musicbrainz = musicbrainz;
|
||||
this.ctdb = ctdb;
|
||||
var releases = CUE.LookupAlbumInfo(false, false, false, cache, cue);
|
||||
var releases = CUE.LookupAlbumInfo(false, false, cache, cue);
|
||||
this.Choices = releases;
|
||||
if (freedb || musicbrainz || ctdb)
|
||||
if (freedb || ctdb)
|
||||
backgroundWorker1.RunWorkerAsync(null);
|
||||
}
|
||||
|
||||
@@ -308,7 +307,7 @@ namespace JDP
|
||||
|
||||
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
e.Result = CUE.LookupAlbumInfo(this.freedb, this.musicbrainz, this.ctdb, false, false);
|
||||
e.Result = CUE.LookupAlbumInfo(this.freedb, this.ctdb, false, false);
|
||||
}
|
||||
|
||||
private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user