FileOrganizationResult.cs 2.8 KB

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