aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Configuration')
-rw-r--r--MediaBrowser.Model/Configuration/ChannelOptions.cs13
-rw-r--r--MediaBrowser.Model/Configuration/ServerConfiguration.cs13
2 files changed, 12 insertions, 14 deletions
diff --git a/MediaBrowser.Model/Configuration/ChannelOptions.cs b/MediaBrowser.Model/Configuration/ChannelOptions.cs
index dfefa4edc..9bd0ef9c5 100644
--- a/MediaBrowser.Model/Configuration/ChannelOptions.cs
+++ b/MediaBrowser.Model/Configuration/ChannelOptions.cs
@@ -3,19 +3,6 @@
public class ChannelOptions
{
public int? PreferredStreamingWidth { get; set; }
-
public string DownloadPath { get; set; }
- public int? MaxDownloadAge { get; set; }
-
- public string[] DownloadingChannels { get; set; }
-
- public double? DownloadSizeLimit { get; set; }
-
- public ChannelOptions()
- {
- DownloadingChannels = new string[] { };
- DownloadSizeLimit = .5;
- MaxDownloadAge = 30;
- }
}
} \ No newline at end of file
diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
index 46f9db580..9f95953cf 100644
--- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs
+++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs
@@ -99,6 +99,12 @@ namespace MediaBrowser.Model.Configuration
public bool EnableLocalizedGuids { get; set; }
/// <summary>
+ /// Gets or sets a value indicating whether [disable startup scan].
+ /// </summary>
+ /// <value><c>true</c> if [disable startup scan]; otherwise, <c>false</c>.</value>
+ public bool DisableStartupScan { get; set; }
+
+ /// <summary>
/// Gets or sets a value indicating whether [enable library metadata sub folder].
/// </summary>
/// <value><c>true</c> if [enable library metadata sub folder]; otherwise, <c>false</c>.</value>
@@ -216,11 +222,13 @@ namespace MediaBrowser.Model.Configuration
public bool DisableXmlSavers { get; set; }
public bool EnableWindowsShortcuts { get; set; }
+ public bool EnableVideoFrameAnalysis { get; set; }
+ public long VideoFrameAnalysisLimitBytes { get; set; }
+
/// <summary>
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
/// </summary>
public ServerConfiguration()
- : base()
{
ImageSavingConvention = ImageSavingConvention.Compatible;
PublicPort = 8096;
@@ -265,6 +273,9 @@ namespace MediaBrowser.Model.Configuration
PeopleMetadataOptions = new PeopleMetadataOptions();
+ EnableVideoFrameAnalysis = true;
+ VideoFrameAnalysisLimitBytes = 600000000;
+
InsecureApps9 = new[]
{
"Chromecast",