TvFileOrganizationOptions.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. 
  2. namespace MediaBrowser.Model.FileOrganization
  3. {
  4. public class TvFileOrganizationOptions
  5. {
  6. public bool IsEnabled { get; set; }
  7. public int MinFileSizeMb { get; set; }
  8. public string[] LeftOverFileExtensionsToDelete { get; set; }
  9. public string[] WatchLocations { get; set; }
  10. public string SeasonFolderPattern { get; set; }
  11. public string SeasonZeroFolderName { get; set; }
  12. public string EpisodeNamePattern { get; set; }
  13. public string MultiEpisodeNamePattern { get; set; }
  14. public bool OverwriteExistingEpisodes { get; set; }
  15. public bool DeleteEmptyFolders { get; set; }
  16. public bool CopyOriginalFile { get; set; }
  17. public TvFileOrganizationOptions()
  18. {
  19. MinFileSizeMb = 50;
  20. LeftOverFileExtensionsToDelete = new string[] { };
  21. WatchLocations = new string[] { };
  22. EpisodeNamePattern = "%sn - %sx%0e - %en.%ext";
  23. MultiEpisodeNamePattern = "%sn - %sx%0e-x%0ed - %en.%ext";
  24. SeasonFolderPattern = "Season %s";
  25. SeasonZeroFolderName = "Season 0";
  26. CopyOriginalFile = false;
  27. }
  28. }
  29. }