mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
Enhanced sync events
This commit is contained in:
@@ -38,6 +38,18 @@ namespace Emby.Server.Implementations.Sync
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (item.Status == SyncJobItemStatus.Cancelled)
|
||||
{
|
||||
try
|
||||
{
|
||||
await _sessionManager.SendMessageToUserDeviceSessions(item.TargetId, "SyncJobItemCancelled", item, CancellationToken.None).ConfigureAwait(false);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
||||
Reference in New Issue
Block a user