LibraryOptions.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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 int SchemaVersion { get; set; }
  9. public bool EnableChapterImageExtraction { get; set; }
  10. public bool ExtractChapterImagesDuringLibraryScan { get; set; }
  11. public bool DownloadImagesInAdvance { get; set; }
  12. public MediaPathInfo[] PathInfos { get; set; }
  13. public bool SaveLocalMetadata { get; set; }
  14. public bool EnableInternetProviders { get; set; }
  15. public bool ImportMissingEpisodes { get; set; }
  16. public bool EnableAutomaticSeriesGrouping { get; set; }
  17. public LibraryOptions()
  18. {
  19. EnablePhotos = true;
  20. EnableRealtimeMonitor = true;
  21. PathInfos = new MediaPathInfo[] { };
  22. EnableInternetProviders = true;
  23. EnableAutomaticSeriesGrouping = true;
  24. }
  25. }
  26. public class MediaPathInfo
  27. {
  28. public string Path { get; set; }
  29. public string NetworkPath { get; set; }
  30. }
  31. }