mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
#680 - Support new episode file sorting added dummy results repository
This commit is contained in:
45
MediaBrowser.Model/FileSorting/FileSortingResult.cs
Normal file
45
MediaBrowser.Model/FileSorting/FileSortingResult.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.FileSorting
|
||||
{
|
||||
public class FileSortingResult
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the original path.
|
||||
/// </summary>
|
||||
/// <value>The original path.</value>
|
||||
public string OriginalPath { 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 ErrorMessage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
/// <value>The status.</value>
|
||||
public FileSortingStatus Status { get; set; }
|
||||
}
|
||||
|
||||
public enum FileSortingStatus
|
||||
{
|
||||
Success,
|
||||
Failure,
|
||||
SkippedExisting,
|
||||
SkippedTrial
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user