FileOrganizationResult.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Model.FileOrganization
  4. {
  5. public class FileOrganizationResult
  6. {
  7. /// <summary>
  8. /// Gets or sets the result identifier.
  9. /// </summary>
  10. /// <value>The result identifier.</value>
  11. public string Id { get; set; }
  12. /// <summary>
  13. /// Gets or sets the original path.
  14. /// </summary>
  15. /// <value>The original path.</value>
  16. public string OriginalPath { get; set; }
  17. /// <summary>
  18. /// Gets or sets the name of the original file.
  19. /// </summary>
  20. /// <value>The name of the original file.</value>
  21. public string OriginalFileName { get; set; }
  22. /// <summary>
  23. /// Gets or sets the name of the extracted.
  24. /// </summary>
  25. /// <value>The name of the extracted.</value>
  26. public string ExtractedName { get; set; }
  27. /// <summary>
  28. /// Gets or sets the extracted year.
  29. /// </summary>
  30. /// <value>The extracted year.</value>
  31. public int? ExtractedYear { get; set; }
  32. /// <summary>
  33. /// Gets or sets the extracted season number.
  34. /// </summary>
  35. /// <value>The extracted season number.</value>
  36. public int? ExtractedSeasonNumber { get; set; }
  37. /// <summary>
  38. /// Gets or sets the extracted episode number.
  39. /// </summary>
  40. /// <value>The extracted episode number.</value>
  41. public int? ExtractedEpisodeNumber { get; set; }
  42. /// <summary>
  43. /// Gets or sets the extracted ending episode number.
  44. /// </summary>
  45. /// <value>The extracted ending episode number.</value>
  46. public int? ExtractedEndingEpisodeNumber { get; set; }
  47. /// <summary>
  48. /// Gets or sets the target path.
  49. /// </summary>
  50. /// <value>The target path.</value>
  51. public string TargetPath { get; set; }
  52. /// <summary>
  53. /// Gets or sets the date.
  54. /// </summary>
  55. /// <value>The date.</value>
  56. public DateTime Date { get; set; }
  57. /// <summary>
  58. /// Gets or sets the error message.
  59. /// </summary>
  60. /// <value>The error message.</value>
  61. public string StatusMessage { get; set; }
  62. /// <summary>
  63. /// Gets or sets the status.
  64. /// </summary>
  65. /// <value>The status.</value>
  66. public FileSortingStatus Status { get; set; }
  67. /// <summary>
  68. /// Gets or sets the type.
  69. /// </summary>
  70. /// <value>The type.</value>
  71. public FileOrganizerType Type { get; set; }
  72. /// <summary>
  73. /// Gets or sets the duplicate paths.
  74. /// </summary>
  75. /// <value>The duplicate paths.</value>
  76. public List<string> DuplicatePaths { get; set; }
  77. /// <summary>
  78. /// Gets or sets the size of the file.
  79. /// </summary>
  80. /// <value>The size of the file.</value>
  81. public long FileSize { get; set; }
  82. public FileOrganizationResult()
  83. {
  84. DuplicatePaths = new List<string>();
  85. }
  86. }
  87. }