aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/BasePluginFolder.cs
blob: e1383923f661462f96929119f5f8de758bbb0ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
    {
        protected BasePluginFolder()
        {
            DisplayMediaType = "CollectionFolder";
        }

        public virtual string CollectionType
        {
            get { return Model.Entities.CollectionType.BoxSets; }
        }
    }
}