BasePluginFolder.cs 649 B

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