mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
3.0.5518.5
This commit is contained in:
@@ -695,8 +695,12 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
return _userDataManager.SaveUserData(new Guid(action.UserId), item, userData, UserDataSaveReason.Import, CancellationToken.None);
|
||||
}
|
||||
|
||||
public List<SyncedItem> GetReadySyncItems(string targetId)
|
||||
public async Task<List<SyncedItem>> GetReadySyncItems(string targetId)
|
||||
{
|
||||
var processor = GetSyncJobProcessor();
|
||||
|
||||
await processor.SyncJobItems(targetId, false, new Progress<double>(), CancellationToken.None).ConfigureAwait(false);
|
||||
|
||||
var jobItemResult = GetJobItems(new SyncJobItemQuery
|
||||
{
|
||||
TargetId = targetId,
|
||||
|
||||
Reference in New Issue
Block a user