mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-02 12:08:37 +01:00
The cast player derives the episode list, prev/next buttons and autoplay target from fetchSeriesEpisodes, which returned every episode including "Virtual" (missing) ones — e.g. an empty Specials/Season 0 entry. That made a bogus "previous" button appear on S1E1 (its previous was the missing S0E1) and could load/autoplay an unplayable episode. Filter them out at the source so they never surface in the cast UI.