1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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
commit 2617ad783f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;