Add autogenerated type for source in advance skip options

This commit is contained in:
Ajay
2025-06-06 23:15:34 -04:00
parent d5ff71b367
commit 72d3f68957
6 changed files with 16 additions and 11 deletions

View File

@@ -141,7 +141,7 @@ function compileConfig(config: string): AdvancedSkipRuleSet[] | null {
return null; // Invalid category value
} else if (attribute === SkipRuleAttribute.Source
&& operator === SkipRuleOperator.Equal
&& !["local", "youtube", "server"].includes(value as string)) {
&& !["local", "youtube", "autogenerated", "server"].includes(value as string)) {
return null; // Invalid category value
}