BasePluginFolder.cs 842 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma warning disable CS1591
  2. using System.Text.Json.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. [JsonIgnore]
  12. public virtual string CollectionType => null;
  13. public override bool CanDelete()
  14. {
  15. return false;
  16. }
  17. public override bool IsSaveLocalMetadataEnabled()
  18. {
  19. return true;
  20. }
  21. [JsonIgnore]
  22. public override bool SupportsInheritedParentImages => false;
  23. [JsonIgnore]
  24. public override bool SupportsPeople => false;
  25. }
  26. }