TrailerCollectionFolder.cs 814 B

123456789101112131415161718192021222324252627282930313233
  1. using MediaBrowser.Controller.Entities;
  2. using System.ComponentModel.Composition;
  3. namespace MediaBrowser.Plugins.Trailers.Entities
  4. {
  5. /// <summary>
  6. /// Class TrailerCollectionFolder
  7. /// </summary>
  8. [Export(typeof(BasePluginFolder))]
  9. class TrailerCollectionFolder : BasePluginFolder
  10. {
  11. /// <summary>
  12. /// Gets the name.
  13. /// </summary>
  14. /// <value>The name.</value>
  15. public override string Name
  16. {
  17. get
  18. {
  19. return Plugin.Instance.Configuration.FolderName;
  20. }
  21. }
  22. /// <summary>
  23. /// Gets the path.
  24. /// </summary>
  25. /// <value>The path.</value>
  26. public override string Path
  27. {
  28. get { return Plugin.Instance.DownloadPath; }
  29. }
  30. }
  31. }