mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Merge pull request #8209 from Shadowghost/fix-playback
Fix series query including missing episodes when it should not
This commit is contained in:
commit
9357d610b1
1 changed files with 6 additions and 2 deletions
|
@ -258,10 +258,14 @@ namespace MediaBrowser.Controller.Entities.TV
|
|||
SeriesPresentationUniqueKey = seriesKey,
|
||||
IncludeItemTypes = new[] { BaseItemKind.Episode, BaseItemKind.Season },
|
||||
OrderBy = new[] { (ItemSortBy.SortName, SortOrder.Ascending) },
|
||||
DtoOptions = options,
|
||||
IsMissing = user?.DisplayMissingEpisodes
|
||||
DtoOptions = options
|
||||
};
|
||||
|
||||
if (user == null || !user.DisplayMissingEpisodes)
|
||||
{
|
||||
query.IsMissing = false;
|
||||
}
|
||||
|
||||
var allItems = LibraryManager.GetItemList(query);
|
||||
|
||||
var allSeriesEpisodes = allItems.OfType<Episode>().ToList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue