Added a command to query the restream

This commit is contained in:
barelyprofessional
2024-08-30 22:26:41 +08:00
parent dffbecf1ec
commit 99b6afcec5
3 changed files with 57 additions and 1 deletions

View File

@@ -420,6 +420,16 @@ public static class BuiltIn
Default = "TheBossmanJack",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
},
new BuiltInSettingsModel
{
Key = Keys.RestreamUrl,
Regex = ".+",
Description = "URL for the restream",
Default = "No URL set",
IsSecret = false,
// No cache as it's infrequently accessed and should take effect immediately if a user updates it
CacheDuration = TimeSpan.Zero
}
];
@@ -459,5 +469,6 @@ public static class BuiltIn
public static string FlareSolverrApiUrl = "FlareSolverr.ApiUrl";
public static string FlareSolverrProxy = "FlareSolverr.Proxy";
public static string ChipsggBmjUsername = "Chipsgg.BmjUsername";
public static string RestreamUrl = "RestreamUrl";
}
}