Fix season play button not playing specials

This commit is contained in:
viown
2024-09-12 14:54:39 +03:00
committed by Bill Thornton
parent 9d8f19f76a
commit 07cb21f13f
+1 -1
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;