2014-02-02 06:36:31 -07:00
|
|
|
|
|
2014-07-30 19:09:23 -07:00
|
|
|
|
namespace MediaBrowser.Model.FileOrganization
|
2014-02-02 06:36:31 -07:00
|
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
|
2014-03-05 21:44:29 -07:00
|
|
|
|
public bool CopyOriginalFile { get; set; }
|
|
|
|
|
|
2014-02-02 06:36:31 -07:00
|
|
|
|
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";
|
2014-03-05 21:44:29 -07:00
|
|
|
|
|
|
|
|
|
CopyOriginalFile = false;
|
2014-02-02 06:36:31 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|