AutoOrganize.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. 
  2. namespace MediaBrowser.Model.Configuration
  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 TvFileOrganizationOptions()
  17. {
  18. MinFileSizeMb = 50;
  19. LeftOverFileExtensionsToDelete = new string[] { };
  20. WatchLocations = new string[] { };
  21. EpisodeNamePattern = "%sn - %sx%0e - %en.%ext";
  22. MultiEpisodeNamePattern = "%sn - %sx%0e-x%0ed - %en.%ext";
  23. SeasonFolderPattern = "Season %s";
  24. SeasonZeroFolderName = "Season 0";
  25. }
  26. }
  27. }