fix case sensitive file names

This commit is contained in:
Luke Pulverenti
2014-10-09 18:22:04 -04:00
parent ad6f47329f
commit 74a8ca9c38
30 changed files with 155 additions and 68 deletions

View File

@@ -145,8 +145,10 @@ namespace MediaBrowser.Model.Dlna
switch (condition.Condition)
{
case ProfileConditionType.SubstringOf:
return StringHelper.IndexOfIgnoreCase(currentValue, expected) != -1;
case ProfileConditionType.EqualsAny:
{
return ListHelper.ContainsIgnoreCase(expected.Split('|'), currentValue);
}
case ProfileConditionType.Equals:
return StringHelper.EqualsIgnoreCase(currentValue, expected);
case ProfileConditionType.NotEquals: