LibraryOptions.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. namespace MediaBrowser.Model.Configuration
  2. {
  3. public class LibraryOptions
  4. {
  5. public bool EnableArchiveMediaFiles { get; set; }
  6. public bool EnablePhotos { get; set; }
  7. public bool EnableRealtimeMonitor { get; set; }
  8. public bool EnableChapterImageExtraction { get; set; }
  9. public bool ExtractChapterImagesDuringLibraryScan { get; set; }
  10. public bool DownloadImagesInAdvance { get; set; }
  11. public MediaPathInfo[] PathInfos { get; set; }
  12. public bool SaveLocalMetadata { get; set; }
  13. public bool EnableInternetProviders { get; set; }
  14. public bool ImportMissingEpisodes { get; set; }
  15. public bool EnableAutomaticSeriesGrouping { get; set; }
  16. public bool EnableEmbeddedTitles { get; set; }
  17. public int AutomaticRefreshIntervalDays { get; set; }
  18. /// <summary>
  19. /// Gets or sets the preferred metadata language.
  20. /// </summary>
  21. /// <value>The preferred metadata language.</value>
  22. public string PreferredMetadataLanguage { get; set; }
  23. /// <summary>
  24. /// Gets or sets the metadata country code.
  25. /// </summary>
  26. /// <value>The metadata country code.</value>
  27. public string MetadataCountryCode { get; set; }
  28. public string SeasonZeroDisplayName { get; set; }
  29. public LibraryOptions()
  30. {
  31. EnablePhotos = true;
  32. EnableRealtimeMonitor = true;
  33. PathInfos = new MediaPathInfo[] { };
  34. EnableInternetProviders = true;
  35. EnableAutomaticSeriesGrouping = true;
  36. SeasonZeroDisplayName = "Specials";
  37. }
  38. }
  39. public class MediaPathInfo
  40. {
  41. public string Path { get; set; }
  42. public string NetworkPath { get; set; }
  43. }
  44. }