diff --git a/slsk-batchdl/Program.cs b/slsk-batchdl/Program.cs
index 92ca664..4f6a314 100644
--- a/slsk-batchdl/Program.cs
+++ b/slsk-batchdl/Program.cs
@@ -139,6 +139,7 @@ static class Program
static bool removeBrackets = false;
static bool reverse = false;
static bool useYtdlp = false;
+ static string ytdlpArgument = "";
static bool skipExisting = false;
static string m3uOption = "fails";
static bool useTagsCheckExisting = false;
@@ -186,7 +187,7 @@ static class Program
// undocumented options:
// --artist-col, --title-col, --album-col, --length-col, --yt-desc-col, --yt-id-col
// --remove-brackets, --spotify, --csv, --string, --youtube, --random-login
- // --danger-words, --pref-danger-words, --no-modify-share-count
+ // --danger-words, --pref-danger-words, --no-modify-share-count, --yt-dlp-argument
Console.WriteLine("Usage: slsk-batchdl [OPTIONS]" +
"\n" +
"\n is one of the following:" +
@@ -752,6 +753,9 @@ static class Program
preferredCond.AcceptMissingProps = false;
necessaryCond.AcceptMissingProps = false;
break;
+ case "--yt-dlp-argument":
+ ytdlpArgument = args[++i];
+ break;
default:
throw new ArgumentException($"Unknown argument: {args[i]}");
}
@@ -1427,6 +1431,7 @@ static class Program
}
}
+
static List