123456789101112131415161718192021222324252627282930313233343536 |
- using MediaBrowser.Controller.Entities;
- namespace MediaBrowser.Server.Implementations.Collections
- {
- public class ManualCollectionsFolder : BasePluginFolder, IHiddenFromDisplay
- {
- public ManualCollectionsFolder()
- {
- Name = "Collections";
- DisplayMediaType = "CollectionFolder";
- }
- public override bool IsHidden
- {
- get
- {
- return true;
- }
- }
- public bool IsHiddenFromUser(User user)
- {
- return !ConfigurationManager.Configuration.DisplayCollectionsView;
- }
- public override string CollectionType
- {
- get { return Model.Entities.CollectionType.BoxSets; }
- }
- public override string GetClientTypeName()
- {
- return typeof(CollectionFolder).Name;
- }
- }
- }
|