Files
jellyfin-jellyfin-1/MediaBrowser.Controller/Entities/BasePluginFolder.cs

37 lines
834 B
C#
Raw Normal View History


2015-06-28 21:10:45 -04:00
using System.Runtime.Serialization;
2013-02-20 20:33:05 -05: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>
2016-10-17 12:35:29 -04:00
public abstract class BasePluginFolder : Folder, ICollectionFolder
2013-02-20 20:33:05 -05:00
{
2014-06-22 01:52:31 -04:00
public virtual string CollectionType
2014-06-14 19:13:09 -04:00
{
2014-07-29 23:31:35 -04:00
get { return null; }
2014-06-14 19:13:09 -04:00
}
2015-02-06 00:39:07 -05:00
public override bool CanDelete()
{
return false;
}
2015-02-19 14:00:56 -05:00
public override bool IsSaveLocalMetadataEnabled()
{
return true;
}
2015-06-28 21:10:45 -04:00
[IgnoreDataMember]
public override bool SupportsPeople
{
get
{
return false;
}
}
2013-02-20 20:33:05 -05:00
}
}