Merge pull request #6065 from viown/fix-special-episodes-not-played

Fix season play button not including specials
This commit is contained in:
Bill Thornton
2024-09-20 15:51:23 -04:00
committed by GitHub

View File

@@ -1957,7 +1957,7 @@ class PlaybackManager {
episodesResult.StartIndex = undefined;
let seasonStartIndex;
for (const [index, e] of episodesResult.Items.entries()) {
if (startSeasonId) {
if (startSeasonId && items.length != 1) {
if (e.SeasonId == startSeasonId) {
if (seasonStartIndex === undefined) {
seasonStartIndex = index;