diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-30 22:09:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-07-30 22:09:23 -0400 |
| commit | a37a11c486350a35cbc9f8763c477dd189e35501 (patch) | |
| tree | 014cacfc729c1451dc5d727ea388c7bbb26182bd /MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs | |
| parent | 51e964dae394ae4a211482d562dbc28e79c00c3c (diff) | |
3.0.5324.37963
Diffstat (limited to 'MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs')
| -rw-r--r-- | MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs b/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs new file mode 100644 index 000000000..973ecf6e7 --- /dev/null +++ b/MediaBrowser.Model/FileOrganization/TvFileOrganizationOptions.cs @@ -0,0 +1,40 @@ + +namespace MediaBrowser.Model.FileOrganization +{ + 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 bool CopyOriginalFile { 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"; + + CopyOriginalFile = false; + } + } +} |
