mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
fix episode paging
This commit is contained in:
@@ -135,10 +135,17 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
ParentId = request.ParentId
|
||||
};
|
||||
|
||||
// It's just a static list
|
||||
if (!items.Any(i => i.IsFolder || i is IItemByName))
|
||||
if (!request.Category.HasValue && request.ItemIds != null)
|
||||
{
|
||||
job.SyncNewContent = false;
|
||||
var requestedItems = request.ItemIds
|
||||
.Select(_libraryManager.GetItemById)
|
||||
.Where(i => i != null);
|
||||
|
||||
// It's just a static list
|
||||
if (!requestedItems.Any(i => i.IsFolder || i is IItemByName))
|
||||
{
|
||||
job.SyncNewContent = false;
|
||||
}
|
||||
}
|
||||
|
||||
await _repo.Create(job).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user