From ccf707e57b701b236c1dcb1f12e81486ccaa1aed Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 19 Jan 2014 13:31:03 -0500 Subject: #680 - Support new episode file sorting --- MediaBrowser.Model/Configuration/ServerConfiguration.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs') diff --git a/MediaBrowser.Model/Configuration/ServerConfiguration.cs b/MediaBrowser.Model/Configuration/ServerConfiguration.cs index 180d0292f..9c13c8645 100644 --- a/MediaBrowser.Model/Configuration/ServerConfiguration.cs +++ b/MediaBrowser.Model/Configuration/ServerConfiguration.cs @@ -224,7 +224,7 @@ namespace MediaBrowser.Model.Configuration public bool EnableAutomaticRestart { get; set; } - public FileSortingOptions FileSortingOptions { get; set; } + public TvFileSortingOptions TvFileSortingOptions { get; set; } public LiveTvOptions LiveTvOptions { get; set; } /// @@ -293,7 +293,7 @@ namespace MediaBrowser.Model.Configuration LiveTvOptions = new LiveTvOptions(); - FileSortingOptions = new FileSortingOptions(); + TvFileSortingOptions = new TvFileSortingOptions(); } } @@ -316,12 +316,12 @@ namespace MediaBrowser.Model.Configuration public int? GuideDays { get; set; } } - public class FileSortingOptions + public class TvFileSortingOptions { public bool IsEnabled { get; set; } public int MinFileSizeMb { get; set; } public string[] LeftOverFileExtensionsToDelete { get; set; } - public string[] TvWatchLocations { get; set; } + public string[] WatchLocations { get; set; } public string SeasonFolderPattern { get; set; } @@ -336,7 +336,7 @@ namespace MediaBrowser.Model.Configuration /// public bool EnableTrialMode { get; set; } - public FileSortingOptions() + public TvFileSortingOptions() { MinFileSizeMb = 50; @@ -345,7 +345,7 @@ namespace MediaBrowser.Model.Configuration ".txt" }; - TvWatchLocations = new string[] { }; + WatchLocations = new string[] { }; SeasonFolderPattern = "Season %s"; SeasonZeroFolderName = "Season 0"; -- cgit v1.2.3