jellyfin/MediaBrowser.Controller/Entities/BasePluginFolder.cs

26 lines
649 B
C#
Raw Normal View History


2013-02-21 02:33:05 +01:00
namespace MediaBrowser.Controller.Entities
{
/// <summary>
/// Plugins derive from and export this class to create a folder that will appear in the root along
/// with all the other actual physical folders in the system.
/// </summary>
public abstract class BasePluginFolder : Folder, ICollectionFolder, IByReferenceItem
2013-02-21 02:33:05 +01:00
{
2014-06-22 07:52:31 +02:00
public virtual string CollectionType
2014-06-15 01:13:09 +02:00
{
2014-07-30 05:31:35 +02:00
get { return null; }
2014-06-15 01:13:09 +02:00
}
2015-02-06 06:39:07 +01:00
public override bool CanDelete()
{
return false;
}
2015-02-19 20:00:56 +01:00
public override bool IsSaveLocalMetadataEnabled()
{
return true;
}
2013-02-21 02:33:05 +01:00
}
}