BasePluginFolder.cs 834 B

123456789101112131415161718192021222324252627282930313233343536
  1. 
  2. using System.Runtime.Serialization;
  3. namespace MediaBrowser.Controller.Entities
  4. {
  5. /// <summary>
  6. /// Plugins derive from and export this class to create a folder that will appear in the root along
  7. /// with all the other actual physical folders in the system.
  8. /// </summary>
  9. public abstract class BasePluginFolder : Folder, ICollectionFolder
  10. {
  11. public virtual string CollectionType
  12. {
  13. get { return null; }
  14. }
  15. public override bool CanDelete()
  16. {
  17. return false;
  18. }
  19. public override bool IsSaveLocalMetadataEnabled()
  20. {
  21. return true;
  22. }
  23. [IgnoreDataMember]
  24. public override bool SupportsPeople
  25. {
  26. get
  27. {
  28. return false;
  29. }
  30. }
  31. }
  32. }