mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 15:33:03 +03:00
added new parent methods
This commit is contained in:
@@ -38,6 +38,10 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
list.Add(ParentId);
|
||||
}
|
||||
else
|
||||
{
|
||||
list.Add(Id);
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
@@ -125,10 +129,14 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
var standaloneTypes = new List<string>
|
||||
{
|
||||
CollectionType.Playlists,
|
||||
CollectionType.BoxSets
|
||||
CollectionType.Playlists
|
||||
};
|
||||
|
||||
if (!ConfigurationManager.Configuration.EnableSharedCollectionViewImage)
|
||||
{
|
||||
standaloneTypes.Add(CollectionType.BoxSets);
|
||||
}
|
||||
|
||||
var collectionFolder = folder as ICollectionFolder;
|
||||
|
||||
if (collectionFolder == null)
|
||||
|
||||
Reference in New Issue
Block a user