diff options
Diffstat (limited to 'MediaBrowser.Model/Sync')
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJob.cs | 22 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJobRequest.cs | 18 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncJobStatus.cs | 9 | ||||
| -rw-r--r-- | MediaBrowser.Model/Sync/SyncLimitType.cs | 7 |
4 files changed, 27 insertions, 29 deletions
diff --git a/MediaBrowser.Model/Sync/SyncJob.cs b/MediaBrowser.Model/Sync/SyncJob.cs index f69fccae5..db67f3cbb 100644 --- a/MediaBrowser.Model/Sync/SyncJob.cs +++ b/MediaBrowser.Model/Sync/SyncJob.cs @@ -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> diff --git a/MediaBrowser.Model/Sync/SyncJobRequest.cs b/MediaBrowser.Model/Sync/SyncJobRequest.cs index 987f396e4..4e044d62a 100644 --- a/MediaBrowser.Model/Sync/SyncJobRequest.cs +++ b/MediaBrowser.Model/Sync/SyncJobRequest.cs @@ -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 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 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 type of the limit. + /// Gets or sets the limit. /// </summary> - /// <value>The type of the limit.</value> - public SyncLimitType? LimitType { get; set; } + /// <value>The limit.</value> + public int? ItemLimit { get; set; } public SyncJobRequest() { ItemIds = new List<string>(); + SyncNewContent = true; } } } diff --git a/MediaBrowser.Model/Sync/SyncJobStatus.cs b/MediaBrowser.Model/Sync/SyncJobStatus.cs index ebe375ad8..42af96509 100644 --- a/MediaBrowser.Model/Sync/SyncJobStatus.cs +++ b/MediaBrowser.Model/Sync/SyncJobStatus.cs @@ -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 } } diff --git a/MediaBrowser.Model/Sync/SyncLimitType.cs b/MediaBrowser.Model/Sync/SyncLimitType.cs deleted file mode 100644 index d20f9e33d..000000000 --- a/MediaBrowser.Model/Sync/SyncLimitType.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace MediaBrowser.Model.Sync -{ - public enum SyncLimitType - { - ItemCount = 0 - } -}
\ No newline at end of file |
