fix(plex): the show and season restart names its object and starts at 0 (E28 S3f2)

The header button said only "Play from start" and resumed the first
episode at its saved point. It now reads "Season from the start · S6 · E1"
or "Show from the start · S1 · E1" and asks the player for 0.
This commit is contained in:
2026-09-27 03:30:04 +02:00
parent dc5206f9d3
commit d510c8a534
5 changed files with 145 additions and 8 deletions
+3 -1
View File
@@ -484,7 +484,9 @@ export default function PlexBrowse() {
<PlexShowView
showId={showId}
onBack={sub.back}
onPlay={(epRk, queue) => sub.open({ kind: "player", id: epRk, queue })}
onPlay={(epRk, queue, fromStart) =>
sub.open({ kind: "player", id: epRk, queue, fromStart })
}
onOpenSeason={(seasonId) => sub.open({ kind: "season", showId, seasonId })}
onOpenShow={(id) => sub.open({ kind: "show", id })}
onFilter={applyFilter}