mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 18:44:45 +01:00
update active recordings
This commit is contained in:
@@ -105,7 +105,15 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
throw new ArgumentNullException("name");
|
||||
}
|
||||
return people.Any(i => string.Equals(i.Name, name, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
foreach (var i in people)
|
||||
{
|
||||
if (string.Equals(i.Name, name, StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user