mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 19:08:27 +01:00
update active recordings
This commit is contained in:
@@ -81,7 +81,7 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
|
||||
public override int GetChildCount(User user)
|
||||
{
|
||||
var result = GetChildren(user, true).Count();
|
||||
var result = GetChildren(user, true).Count;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -214,7 +214,15 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
{
|
||||
get
|
||||
{
|
||||
return Children.OfType<Video>().Any();
|
||||
var children = Children;
|
||||
foreach (var child in children)
|
||||
{
|
||||
if (child is Video)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user