mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
reorganizing a bit
This commit is contained in:
@@ -159,7 +159,21 @@ namespace CUETools.Codecs.ALAC
|
||||
set
|
||||
{
|
||||
if (value == null || value == "") return;
|
||||
throw new Exception("Unsupported options " + value);
|
||||
string[] args = value.Split();
|
||||
for (int i = 0; i < args.Length; i++)
|
||||
{
|
||||
if (args[i] == "--padding-length" && (++i) < args.Length)
|
||||
{
|
||||
PaddingLength = int.Parse(args[i]);
|
||||
continue;
|
||||
}
|
||||
if (args[i] == "--verify")
|
||||
{
|
||||
DoVerify = true;
|
||||
continue;
|
||||
}
|
||||
throw new Exception("Unsupported options " + value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user