diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-02 08:36:31 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-02 08:36:31 -0500 |
| commit | 9e0c1340fc3ad4b41e3c349b98ea71b708ade95a (patch) | |
| tree | 1462595d01278d769cc12a9228dcc0d068455bbe /MediaBrowser.Model/Configuration/AutoOrganize.cs | |
| parent | 53776b332c727c8e5e21a99ab2c633a266df336b (diff) | |
convert games to new providers
Diffstat (limited to 'MediaBrowser.Model/Configuration/AutoOrganize.cs')
| -rw-r--r-- | MediaBrowser.Model/Configuration/AutoOrganize.cs | 36 |
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"; + } + } +} |
