mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
update sync transfer
This commit is contained in:
parent
f89f7c71a0
commit
a5815452c0
@ -243,7 +243,7 @@ namespace MediaBrowser.Api.Sync
|
||||
|
||||
await _syncManager.ReportSyncJobItemTransferBeginning(request.Id).ConfigureAwait(false);
|
||||
|
||||
return ResultFactory.GetStaticFileResult(Request, new StaticFileResultOptions
|
||||
return await ResultFactory.GetStaticFileResult(Request, new StaticFileResultOptions
|
||||
{
|
||||
Path = jobItem.OutputPath,
|
||||
OnError = () =>
|
||||
@ -251,7 +251,8 @@ namespace MediaBrowser.Api.Sync
|
||||
var failedTask = _syncManager.ReportSyncJobItemTransferFailed(request.Id);
|
||||
Task.WaitAll(failedTask);
|
||||
}
|
||||
});
|
||||
|
||||
}).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
public async Task<object> Get(GetSyncDialogOptions request)
|
||||
|
Loading…
Reference in New Issue
Block a user