jellyfin/MediaBrowser.Model/Configuration/LibraryOptions.cs

49 lines
1.7 KiB
C#
Raw Normal View History

2016-08-13 22:54:29 +02:00
namespace MediaBrowser.Model.Configuration
{
public class LibraryOptions
{
public bool EnableArchiveMediaFiles { get; set; }
2016-08-15 06:36:17 +02:00
public bool EnablePhotos { get; set; }
2016-08-24 22:46:26 +02:00
public bool EnableRealtimeMonitor { get; set; }
public bool EnableChapterImageExtraction { get; set; }
public bool ExtractChapterImagesDuringLibraryScan { get; set; }
public bool DownloadImagesInAdvance { get; set; }
public MediaPathInfo[] PathInfos { get; set; }
2016-08-15 06:36:17 +02:00
public bool SaveLocalMetadata { get; set; }
public bool EnableInternetProviders { get; set; }
public bool ImportMissingEpisodes { get; set; }
2016-12-06 09:24:29 +01:00
public bool EnableAutomaticSeriesGrouping { get; set; }
public bool EnableEmbeddedTitles { get; set; }
public int AutomaticRefreshIntervalDays { get; set; }
2017-01-22 00:37:38 +01:00
/// <summary>
/// Gets or sets the preferred metadata language.
/// </summary>
/// <value>The preferred metadata language.</value>
public string PreferredMetadataLanguage { get; set; }
/// <summary>
/// Gets or sets the metadata country code.
/// </summary>
/// <value>The metadata country code.</value>
public string MetadataCountryCode { get; set; }
2016-08-15 06:36:17 +02:00
public LibraryOptions()
{
EnablePhotos = true;
2016-08-24 22:46:26 +02:00
EnableRealtimeMonitor = true;
PathInfos = new MediaPathInfo[] { };
EnableInternetProviders = true;
2016-12-06 09:24:29 +01:00
EnableAutomaticSeriesGrouping = true;
2016-08-15 06:36:17 +02:00
}
2016-08-13 22:54:29 +02:00
}
public class MediaPathInfo
{
public string Path { get; set; }
public string NetworkPath { get; set; }
}
2016-08-13 22:54:29 +02:00
}