Added a feature to shill the ad-free re-stream when a Twitch commercial break is detected

This commit is contained in:
barelyprofessional
2024-09-07 17:07:07 +08:00
parent 450f26f763
commit 2accae84cf
2 changed files with 27 additions and 0 deletions

View File

@@ -449,6 +449,15 @@ public static class BuiltIn
Default = "[\"https://i.postimg.cc/QMzBRmH7/hiiiii.gif\"]",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
},
new BuiltInSettingsModel
{
Key = Keys.TwitchShillRestreamOnCommercial,
Regex = "(true|false)",
Description = "Whether to shill the ad-free restream on commercial",
Default = "true",
IsSecret = false,
CacheDuration = TimeSpan.FromHours(1)
}
];
@@ -491,5 +500,6 @@ public static class BuiltIn
public static string RestreamUrl = "RestreamUrl";
public static string KiwiFarmsCookies = "KiwiFarms.Cookies";
public static string BotGmKasinoImageRotation = "Bot.GmKasinoImageRotation";
public static string TwitchShillRestreamOnCommercial = "Twitch.ShillRestreamOnCommercial";
}
}