2016-08-13 16:54:29 -04:00
|
|
|
|
namespace MediaBrowser.Model.Configuration
|
|
|
|
|
|
{
|
|
|
|
|
|
public class LibraryOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool EnableArchiveMediaFiles { get; set; }
|
2016-08-15 00:36:17 -04:00
|
|
|
|
public bool EnablePhotos { get; set; }
|
2016-08-24 16:46:26 -04:00
|
|
|
|
public bool EnableRealtimeMonitor { get; set; }
|
2016-08-29 17:06:24 -04:00
|
|
|
|
public bool EnableChapterImageExtraction { get; set; }
|
|
|
|
|
|
public bool ExtractChapterImagesDuringLibraryScan { get; set; }
|
2016-09-11 13:09:10 -04:00
|
|
|
|
public bool DownloadImagesInAdvance { get; set; }
|
2016-09-23 02:21:54 -04:00
|
|
|
|
public MediaPathInfo[] PathInfos { get; set; }
|
2016-08-15 00:36:17 -04:00
|
|
|
|
|
2016-10-02 00:31:47 -04:00
|
|
|
|
public bool SaveLocalMetadata { get; set; }
|
|
|
|
|
|
public bool EnableInternetProviders { get; set; }
|
2016-11-22 13:22:01 -05:00
|
|
|
|
public bool ImportMissingEpisodes { get; set; }
|
2016-12-06 03:24:29 -05:00
|
|
|
|
public bool EnableAutomaticSeriesGrouping { get; set; }
|
2017-02-21 17:12:32 -05:00
|
|
|
|
public bool EnableEmbeddedTitles { get; set; }
|
2016-10-02 00:31:47 -04:00
|
|
|
|
|
2017-01-21 18:37:38 -05: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 00:36:17 -04:00
|
|
|
|
public LibraryOptions()
|
|
|
|
|
|
{
|
|
|
|
|
|
EnablePhotos = true;
|
2016-08-24 16:46:26 -04:00
|
|
|
|
EnableRealtimeMonitor = true;
|
2016-09-23 02:21:54 -04:00
|
|
|
|
PathInfos = new MediaPathInfo[] { };
|
2016-10-02 00:31:47 -04:00
|
|
|
|
EnableInternetProviders = true;
|
2016-12-06 03:24:29 -05:00
|
|
|
|
EnableAutomaticSeriesGrouping = true;
|
2016-08-15 00:36:17 -04:00
|
|
|
|
}
|
2016-08-13 16:54:29 -04:00
|
|
|
|
}
|
2016-09-23 02:21:54 -04:00
|
|
|
|
|
|
|
|
|
|
public class MediaPathInfo
|
|
|
|
|
|
{
|
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
public string NetworkPath { get; set; }
|
|
|
|
|
|
}
|
2016-08-13 16:54:29 -04:00
|
|
|
|
}
|