mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-05 05:42:52 +01: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
|
||||
}
|
||||
}
|
||||
18
MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs
Normal file
18
MediaBrowser.Model/FileSorting/FileSortingResultQuery.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
namespace MediaBrowser.Model.FileSorting
|
||||
{
|
||||
public class FileSortingResultQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Skips over a given number of items within the results. Use for paging.
|
||||
/// </summary>
|
||||
/// <value>The start index.</value>
|
||||
public int? StartIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum number of items to return
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public int? Limit { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user