jellyfin/MediaBrowser.Model/FileOrganization/FileOrganizationResult.cs
2014-01-21 01:10:58 -05:00

83 lines
2.1 KiB
C#

using System;
namespace MediaBrowser.Model.FileOrganization
{
public class FileOrganizationResult
{
/// <summary>
/// Gets or sets the result identifier.
/// </summary>
/// <value>The result identifier.</value>
public string Id { get; set; }
/// <summary>
/// Gets or sets the original path.
/// </summary>
/// <value>The original path.</value>
public string OriginalPath { get; set; }
/// <summary>
/// Gets or sets the name of the original file.
/// </summary>
/// <value>The name of the original file.</value>
public string OriginalFileName { get; set; }
/// <summary>
/// Gets or sets the name of the extracted.
/// </summary>
/// <value>The name of the extracted.</value>
public string ExtractedName { get; set; }
/// <summary>
/// Gets or sets the extracted year.
/// </summary>
/// <value>The extracted year.</value>
public int? ExtractedYear { get; set; }
/// <summary>
/// Gets or sets the target path.
/// </summary>
/// <value>The target path.</value>
public string TargetPath { get; set; }
/// <summary>
/// Gets or sets the date.
/// </summary>
/// <value>The date.</value>
public DateTime Date { get; set; }
/// <summary>
/// Gets or sets the error message.
/// </summary>
/// <value>The error message.</value>
public string StatusMessage { get; set; }
/// <summary>
/// Gets or sets the status.
/// </summary>
/// <value>The status.</value>
public FileSortingStatus Status { get; set; }
/// <summary>
/// Gets or sets the type.
/// </summary>
/// <value>The type.</value>
public FileOrganizerType Type { get; set; }
}
public enum FileSortingStatus
{
Success,
Failure,
SkippedExisting,
SkippedTrial
}
public enum FileOrganizerType
{
Movie,
Episode,
Song
}
}