mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
fixes #1225 - Emby creates bogus seasons from subfolderss
This commit is contained in:
@@ -215,23 +215,6 @@ namespace MediaBrowser.Controller.Entities.TV
|
||||
return list;
|
||||
}
|
||||
|
||||
[IgnoreDataMember]
|
||||
public bool ContainsEpisodesWithoutSeasonFolders
|
||||
{
|
||||
get
|
||||
{
|
||||
var children = Children;
|
||||
foreach (var child in children)
|
||||
{
|
||||
if (child is Video)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public override List<BaseItem> GetChildren(User user, bool includeLinkedChildren)
|
||||
{
|
||||
return GetSeasons(user, new DtoOptions(true));
|
||||
|
||||
Reference in New Issue
Block a user