CUETools & CUERipper: Local metadata cache implemented

CUETools: register qaac.exe in external encoders
CUERipper: hopefully fixed problems with Matrox desktop manager
CUERipper: now remembers the drive which was last used
CUERipper: added a way to reload metadata
taglib-sharp: fixed incompatibility with tags produced by qaac.exe
This commit is contained in:
chudov
2010-05-02 17:04:51 +00:00
parent 382ca8a67b
commit 691cc51ee8
18 changed files with 1287 additions and 750 deletions

View File

@@ -745,7 +745,19 @@ namespace JDP {
if (_batchPaths.Count == 0 && action == CUEAction.Encode)
{
if (checkBoxUseFreeDb.Checked || checkBoxUseMusicBrainz.Checked)
releases = cueSheet.LookupAlbumInfo(checkBoxUseFreeDb.Checked, checkBoxUseMusicBrainz.Checked);
releases = cueSheet.LookupAlbumInfo(checkBoxUseFreeDb.Checked, checkBoxUseMusicBrainz.Checked, true);
}
else // if checkBoxUseMetadataCache.Checked
{
try
{
CUEMetadata cache = CUEMetadata.Load(cueSheet.TOC.TOCID);
if (cache != null)
cueSheet.CopyMetadata(cache);
}
catch
{
}
}
this.Invoke((MethodInvoker)delegate()