mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
update active recordings
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace MediaBrowser.Model.Extensions
|
||||
{
|
||||
@@ -13,7 +11,14 @@ namespace MediaBrowser.Model.Extensions
|
||||
throw new ArgumentNullException("value");
|
||||
}
|
||||
|
||||
return list.Contains(value, StringComparer.OrdinalIgnoreCase);
|
||||
foreach (var item in list)
|
||||
{
|
||||
if (string.Equals(item, value, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public static bool ContainsAnyIgnoreCase(string[] list, string[] values)
|
||||
|
||||
Reference in New Issue
Block a user