fix QueueLibraryContents
This commit is contained in:
parent
451fc8a511
commit
8ca0212db7
@ -9,6 +9,7 @@ using Jellyfin.Data.Enums;
|
|||||||
using MediaBrowser.Controller.Entities;
|
using MediaBrowser.Controller.Entities;
|
||||||
using MediaBrowser.Controller.Entities.TV;
|
using MediaBrowser.Controller.Entities.TV;
|
||||||
using MediaBrowser.Controller.Library;
|
using MediaBrowser.Controller.Library;
|
||||||
|
using MediaBrowser.Model.Querying;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -127,12 +128,7 @@ public class QueueManager
|
|||||||
{
|
{
|
||||||
// Order by series name, season, and then episode number so that status updates are logged in order
|
// Order by series name, season, and then episode number so that status updates are logged in order
|
||||||
ParentId = id,
|
ParentId = id,
|
||||||
OrderBy = new List<(ItemSortBy, SortOrder)>
|
OrderBy = new[] { (ItemSortBy.SeriesSortName, SortOrder.Ascending), (ItemSortBy.ParentIndexNumber, SortOrder.Ascending), (ItemSortBy.IndexNumber, SortOrder.Ascending), },
|
||||||
{
|
|
||||||
new(ItemSortBy.SeriesSortName, SortOrder.Ascending),
|
|
||||||
new(ItemSortBy.ParentIndexNumber, SortOrder.Ascending),
|
|
||||||
new(ItemSortBy.IndexNumber, SortOrder.Ascending),
|
|
||||||
},
|
|
||||||
IncludeItemTypes = [BaseItemKind.Episode],
|
IncludeItemTypes = [BaseItemKind.Episode],
|
||||||
Recursive = true,
|
Recursive = true,
|
||||||
IsVirtualItem = false
|
IsVirtualItem = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user