mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 18:53:27 +01:00
check video profile with substring
This commit is contained in:
@@ -145,6 +145,8 @@ namespace MediaBrowser.Model.Dlna
|
||||
|
||||
switch (condition.Condition)
|
||||
{
|
||||
case ProfileConditionType.SubstringOf:
|
||||
return StringHelper.IndexOfIgnoreCase(currentValue, expected) != -1;
|
||||
case ProfileConditionType.Equals:
|
||||
return StringHelper.EqualsIgnoreCase(currentValue, expected);
|
||||
case ProfileConditionType.NotEquals:
|
||||
|
||||
Reference in New Issue
Block a user