mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-22 10:06:40 +00:00
update sync objects
This commit is contained in:
@@ -46,26 +46,26 @@ namespace MediaBrowser.Model.Sync
|
||||
/// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value>
|
||||
public bool UnwatchedOnly { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the limit.
|
||||
/// Gets or sets a value indicating whether [remove when watched].
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public long? Limit { get; set; }
|
||||
/// <value><c>true</c> if [remove when watched]; otherwise, <c>false</c>.</value>
|
||||
public bool RemoveWhenWatched { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the limit.
|
||||
/// Gets or sets a value indicating whether [synchronize new content].
|
||||
/// </summary>
|
||||
/// <value>The type of the limit.</value>
|
||||
public SyncLimitType? LimitType { get; set; }
|
||||
/// <value><c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
|
||||
public bool SyncNewContent { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the item limit.
|
||||
/// </summary>
|
||||
/// <value>The item limit.</value>
|
||||
public int? ItemLimit { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the requested item ids.
|
||||
/// </summary>
|
||||
/// <value>The requested item ids.</value>
|
||||
public List<string> RequestedItemIds { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is dynamic.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is dynamic; otherwise, <c>false</c>.</value>
|
||||
public bool IsDynamic { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the date created.
|
||||
/// </summary>
|
||||
/// <value>The date created.</value>
|
||||
|
||||
@@ -35,19 +35,25 @@ namespace MediaBrowser.Model.Sync
|
||||
/// <value><c>true</c> if [unwatched only]; otherwise, <c>false</c>.</value>
|
||||
public bool UnwatchedOnly { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [remove when watched].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [remove when watched]; otherwise, <c>false</c>.</value>
|
||||
public bool RemoveWhenWatched { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [synchronize new content].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [synchronize new content]; otherwise, <c>false</c>.</value>
|
||||
public bool SyncNewContent { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the limit.
|
||||
/// </summary>
|
||||
/// <value>The limit.</value>
|
||||
public long? Limit { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the limit.
|
||||
/// </summary>
|
||||
/// <value>The type of the limit.</value>
|
||||
public SyncLimitType? LimitType { get; set; }
|
||||
public int? ItemLimit { get; set; }
|
||||
|
||||
public SyncJobRequest()
|
||||
{
|
||||
ItemIds = new List<string>();
|
||||
SyncNewContent = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,10 +4,9 @@ namespace MediaBrowser.Model.Sync
|
||||
public enum SyncJobStatus
|
||||
{
|
||||
Queued = 0,
|
||||
Transcoding = 1,
|
||||
TranscodingFailed = 2,
|
||||
Transferring = 3,
|
||||
Completed = 4,
|
||||
Cancelled = 5
|
||||
Converting = 1,
|
||||
Transferring = 2,
|
||||
Completed = 3,
|
||||
Cancelled = 4
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
namespace MediaBrowser.Model.Sync
|
||||
{
|
||||
public enum SyncLimitType
|
||||
{
|
||||
ItemCount = 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user