mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
add index number filter
This commit is contained in:
@@ -132,7 +132,8 @@ namespace MediaBrowser.Server.Implementations.TV
|
||||
SortOrder = SortOrder.Ascending,
|
||||
Limit = 1,
|
||||
IsPlayed = false,
|
||||
IsVirtualItem = false
|
||||
IsVirtualItem = false,
|
||||
ParentIndexNumberNotEquals = 0
|
||||
|
||||
}).Cast<Episode>().FirstOrDefault();
|
||||
|
||||
@@ -149,7 +150,8 @@ namespace MediaBrowser.Server.Implementations.TV
|
||||
SortBy = new[] { ItemSortBy.DatePlayed },
|
||||
SortOrder = SortOrder.Descending,
|
||||
Limit = 1,
|
||||
IsVirtualItem = false
|
||||
IsVirtualItem = false,
|
||||
ParentIndexNumberNotEquals = 0
|
||||
|
||||
}).FirstOrDefault();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user