mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
updated nuget
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Querying;
|
||||
using MediaBrowser.Model.Sync;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
@@ -31,5 +32,10 @@ namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
return apiClient.GetItemsAsync(query, CancellationToken.None);
|
||||
}
|
||||
|
||||
public static Task<SyncDialogOptions> GetSyncOptions(this IApiClient apiClient, SyncJob job)
|
||||
{
|
||||
return apiClient.GetSyncOptions(job.RequestedItemIds, job.UserId, job.ParentId, job.Category);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1511,6 +1511,6 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <param name="parentId">The parent identifier.</param>
|
||||
/// <param name="category">The category.</param>
|
||||
/// <returns>Task<SyncOptions>.</returns>
|
||||
Task<SyncOptions> GetSyncOptions(IEnumerable<string> itemIds, string userId, string parentId = null, SyncCategory? category = null);
|
||||
Task<SyncDialogOptions> GetSyncOptions(IEnumerable<string> itemIds, string userId, string parentId = null, SyncCategory? category = null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user