2013-06-13 11:17:42 -07:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2013-02-20 18:33:05 -07: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>
|
2013-03-15 12:08:49 -07:00
|
|
|
|
public abstract class BasePluginFolder : Folder, ICollectionFolder, IByReferenceItem
|
2013-02-20 18:33:05 -07:00
|
|
|
|
{
|
2013-05-01 19:44:52 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type of the location.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The type of the location.</value>
|
|
|
|
|
public override LocationType LocationType
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return LocationType.Virtual;
|
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|
2013-06-13 13:15:50 -07:00
|
|
|
|
|
|
|
|
|
protected BasePluginFolder()
|
|
|
|
|
{
|
|
|
|
|
DisplayMediaType = "CollectionFolder";
|
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|
|
|
|
|
}
|