FileOrganizationResult.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 target path.
  33. /// </summary>
  34. /// <value>The target path.</value>
  35. public string TargetPath { get; set; }
  36. /// <summary>
  37. /// Gets or sets the date.
  38. /// </summary>
  39. /// <value>The date.</value>
  40. public DateTime Date { get; set; }
  41. /// <summary>
  42. /// Gets or sets the error message.
  43. /// </summary>
  44. /// <value>The error message.</value>
  45. public string StatusMessage { get; set; }
  46. /// <summary>
  47. /// Gets or sets the status.
  48. /// </summary>
  49. /// <value>The status.</value>
  50. public FileSortingStatus Status { get; set; }
  51. /// <summary>
  52. /// Gets or sets the type.
  53. /// </summary>
  54. /// <value>The type.</value>
  55. public FileOrganizerType Type { get; set; }
  56. }
  57. public enum FileSortingStatus
  58. {
  59. Success,
  60. Failure,
  61. SkippedExisting,
  62. SkippedTrial
  63. }
  64. public enum FileOrganizerType
  65. {
  66. Movie,
  67. Episode,
  68. Song
  69. }
  70. }