diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs index 43e3069..6631a9f 100644 --- a/slsk-batchdl/Program.cs +++ b/slsk-batchdl/Program.cs @@ -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;