aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/AutoOrganize.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-02 08:36:31 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-02-02 08:36:31 -0500
commit9e0c1340fc3ad4b41e3c349b98ea71b708ade95a (patch)
tree1462595d01278d769cc12a9228dcc0d068455bbe /MediaBrowser.Model/Configuration/AutoOrganize.cs
parent53776b332c727c8e5e21a99ab2c633a266df336b (diff)
convert games to new providers
Diffstat (limited to 'MediaBrowser.Model/Configuration/AutoOrganize.cs')
-rw-r--r--MediaBrowser.Model/Configuration/AutoOrganize.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Configuration/AutoOrganize.cs b/MediaBrowser.Model/Configuration/AutoOrganize.cs
new file mode 100644
index 000000000..a30aa36d8
--- /dev/null
+++ b/MediaBrowser.Model/Configuration/AutoOrganize.cs
@@ -0,0 +1,36 @@
+
+namespace MediaBrowser.Model.Configuration
+{
+ public class TvFileOrganizationOptions
+ {
+ public bool IsEnabled { get; set; }
+ public int MinFileSizeMb { get; set; }
+ public string[] LeftOverFileExtensionsToDelete { get; set; }
+ public string[] WatchLocations { get; set; }
+
+ public string SeasonFolderPattern { get; set; }
+
+ public string SeasonZeroFolderName { get; set; }
+
+ public string EpisodeNamePattern { get; set; }
+ public string MultiEpisodeNamePattern { get; set; }
+
+ public bool OverwriteExistingEpisodes { get; set; }
+
+ public bool DeleteEmptyFolders { get; set; }
+
+ public TvFileOrganizationOptions()
+ {
+ MinFileSizeMb = 50;
+
+ LeftOverFileExtensionsToDelete = new string[] { };
+
+ WatchLocations = new string[] { };
+
+ EpisodeNamePattern = "%sn - %sx%0e - %en.%ext";
+ MultiEpisodeNamePattern = "%sn - %sx%0e-x%0ed - %en.%ext";
+ SeasonFolderPattern = "Season %s";
+ SeasonZeroFolderName = "Season 0";
+ }
+ }
+}