BasePluginFolder.cs 811 B

12345678910111213141516171819202122232425262728
  1. using MediaBrowser.Model.Entities;
  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. /// <summary>
  11. /// Gets or sets the type of the location.
  12. /// </summary>
  13. /// <value>The type of the location.</value>
  14. public override LocationType LocationType
  15. {
  16. get
  17. {
  18. return LocationType.Virtual;
  19. }
  20. }
  21. protected BasePluginFolder()
  22. {
  23. DisplayMediaType = "CollectionFolder";
  24. }
  25. }
  26. }