1
0
Fork 0
mirror of https://github.com/fiso64/slsk-batchdl.git synced 2024-12-22 14:32:40 +00:00
This commit is contained in:
fiso64 2024-05-05 00:30:13 +02:00
parent 498badbd9a
commit fb28fbdcd2

View file

@ -627,6 +627,9 @@ static class Program
case "--pref-max-samplerate":
preferredCond.MaxSampleRate = int.Parse(args[++i]);
break;
case "--pref-min-samplerate":
preferredCond.MinSampleRate = int.Parse(args[++i]);
break;
case "--pref-danger-words":
preferredCond.DangerWords = args[++i].Split(',');
break;
@ -639,6 +642,12 @@ static class Program
case "--pref-banned-users":
preferredCond.BannedUsers = args[++i].Split(',');
break;
case "--pref-min-bitdepth":
preferredCond.MinBitDepth = int.Parse(args[++i]);
break;
case "--pref-max-bitdepth":
preferredCond.MaxBitDepth = int.Parse(args[++i]);
break;
case "--format":
necessaryCond.Formats = args[++i].Split(',', StringSplitOptions.TrimEntries);
break;
@ -654,6 +663,15 @@ static class Program
case "--max-samplerate":
necessaryCond.MaxSampleRate = int.Parse(args[++i]);
break;
case "--min-samplerate":
necessaryCond.MinSampleRate = int.Parse(args[++i]);
break;
case "--min-bitdepth":
necessaryCond.MinBitDepth = int.Parse(args[++i]);
break;
case "--max-bitdepth":
necessaryCond.MaxBitDepth = int.Parse(args[++i]);
break;
case "--danger-words":
necessaryCond.DangerWords = args[++i].Split(',');
break;