mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
sync updates
This commit is contained in:
@@ -135,5 +135,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Occurs when [synchronize job created].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<SyncJobCreationResult>> SyncJobCreated;
|
||||
/// <summary>
|
||||
/// Occurs when [synchronize job cancelled].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<SyncJob>> SyncJobCancelled;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,8 +4,11 @@ namespace MediaBrowser.Model.Sync
|
||||
public enum SyncJobStatus
|
||||
{
|
||||
Queued = 0,
|
||||
InProgress = 1,
|
||||
Completed = 2,
|
||||
CompletedWithError = 3
|
||||
Converting = 1,
|
||||
Transferring = 2,
|
||||
Completed = 3,
|
||||
CompletedWithError = 4,
|
||||
Failed = 5,
|
||||
Cancelled = 6
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,12 @@ namespace MediaBrowser.Model.System
|
||||
/// <value><c>true</c> if this instance has pending restart; otherwise, <c>false</c>.</value>
|
||||
public bool HasPendingRestart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [supports synchronize].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [supports synchronize]; otherwise, <c>false</c>.</value>
|
||||
public bool SupportsSync { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is network deployed.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user