mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Wavpack output can now have tags and embedded cue sheet.
This commit is contained in:
@@ -945,7 +945,7 @@ namespace JDP {
|
||||
uint timeRelativeToFileStart = 0;
|
||||
|
||||
using (sw) {
|
||||
if (_accurateRipId != null)
|
||||
if (_accurateRipId != null && _config.writeArTags)
|
||||
WriteLine(sw, 0, "REM ACCURATERIPID " +
|
||||
_accurateRipId);
|
||||
|
||||
@@ -1602,9 +1602,8 @@ namespace JDP {
|
||||
{
|
||||
iDest++;
|
||||
audioDest = GetAudioDest(destPaths[iDest], destLengths[iDest], noOutput);
|
||||
if (audioDest is FLACWriter)
|
||||
if (audioDest is FLACWriter || audioDest is WavPackWriter)
|
||||
{
|
||||
FLACWriter w = (FLACWriter)audioDest;
|
||||
NameValueCollection destTags = new NameValueCollection();
|
||||
|
||||
if (_hasEmbeddedCUESheet || _hasSingleFilename)
|
||||
@@ -1649,7 +1648,7 @@ namespace JDP {
|
||||
else
|
||||
destTags.Add("ACCURATERIPID", _accurateRipId);
|
||||
}
|
||||
w.SetTags(destTags);
|
||||
audioDest.SetTags(destTags);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user