From 123528327974d9291f5868bb87a0d63437fa1ae5 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 21 Jan 2014 01:10:58 -0500 Subject: #680 - added auto organize page --- .../FileOrganization/FileOrganizationResult.cs | 39 +++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) (limited to 'MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs') diff --git a/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs b/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs index 505f0e2da5..ca912ed634 100644 --- a/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs +++ b/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs @@ -4,12 +4,36 @@ namespace MediaBrowser.Model.FileOrganization { public class FileOrganizationResult { + /// + /// Gets or sets the result identifier. + /// + /// The result identifier. + public string Id { get; set; } + /// /// Gets or sets the original path. /// /// The original path. public string OriginalPath { get; set; } + /// + /// Gets or sets the name of the original file. + /// + /// The name of the original file. + public string OriginalFileName { get; set; } + + /// + /// Gets or sets the name of the extracted. + /// + /// The name of the extracted. + public string ExtractedName { get; set; } + + /// + /// Gets or sets the extracted year. + /// + /// The extracted year. + public int? ExtractedYear { get; set; } + /// /// Gets or sets the target path. /// @@ -26,13 +50,19 @@ namespace MediaBrowser.Model.FileOrganization /// Gets or sets the error message. /// /// The error message. - public string ErrorMessage { get; set; } + public string StatusMessage { get; set; } /// /// Gets or sets the status. /// /// The status. public FileSortingStatus Status { get; set; } + + /// + /// Gets or sets the type. + /// + /// The type. + public FileOrganizerType Type { get; set; } } public enum FileSortingStatus @@ -42,4 +72,11 @@ namespace MediaBrowser.Model.FileOrganization SkippedExisting, SkippedTrial } + + public enum FileOrganizerType + { + Movie, + Episode, + Song + } } -- cgit v1.2.3