* removed 'submit' script

* added advanced options ctdb.submit, ctdb.server
* musicbrainz NGS metadata can now be used in filename templates, including %discname%, %label%, %releasedate%, %country%, %releasedateandlabel%, %discnumberandname%
* CUERipper now sends CD barcode when submitting
This commit is contained in:
chudov
2011-06-11 19:26:25 +00:00
parent cbc9aee65c
commit 6982996ab9
14 changed files with 302 additions and 402 deletions

View File

@@ -591,7 +591,7 @@ namespace CUETools.Ripper.SCSI
{
string catalog = Encoding.ASCII.GetString(_subchannelBuffer, 9, 13);
if (catalog.ToString() != "0000000000000")
_toc2.Catalog = catalog.ToString();
_toc2.Barcode = catalog.ToString();
}
}
@@ -686,13 +686,13 @@ namespace CUETools.Ripper.SCSI
if (!isrc.ToString().Contains("#") && isrc.ToString() != "000000000000")
_toc2[iTrack].ISRC = isrc.ToString();
}
if (adr == 2 && _toc2.Catalog == null)
if (adr == 2 && _toc2.Barcode == null)
{
StringBuilder catalog = new StringBuilder();
StringBuilder barcode = new StringBuilder();
for (int i = 1; i < 8; i++)
catalog.AppendFormat("{0:x2}", _subchannelBuffer[offs + i]);
if (catalog.ToString() != "0000000000000")
_toc2.Catalog = catalog.ToString(0, 13);
barcode.AppendFormat("{0:x2}", _subchannelBuffer[offs + i]);
if (barcode.ToString() != "0000000000000")
_toc2.Barcode = barcode.ToString(0, 13);
}
}
}