diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-19 13:31:03 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-01-19 13:31:03 -0500 |
| commit | ccf707e57b701b236c1dcb1f12e81486ccaa1aed (patch) | |
| tree | c2ebb593bc30c319b4a1e0d4ad24f54d713f1a77 /MediaBrowser.Model/Configuration/ServerConfiguration.cs | |
| parent | d4bdd42acfda160e0a78ac302adc92802b237584 (diff) | |
#680 - Support new episode file sorting
Diffstat (limited to 'MediaBrowser.Model/Configuration/ServerConfiguration.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/ServerConfiguration.cs | 12 |
1 files changed, 6 insertions, 6 deletions
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; } /// <summary> @@ -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 /// </summary> 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"; |
