mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
docs(portals): fix stale session-timing comment and search guard wording
- serial-details-external-launch.ts: Electron publishes a `launching` session as soon as the launch IPC arrives, not only after the launch settles. Comment only; no behaviour change. - stalker-portal.md: the search host's selection check does not include the content type; a switch to a series supersedes the launch through the playback owner key instead. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
c8ef77214a
commit
536e2a4fc6
2 files changed
+9
-6
No files matched your search
@@ -1599,8 +1599,10 @@ collection detail and search):
|
||||
earlier start, is dropped once a later one begins, and keeps Play, Start
|
||||
over, the watched toggle and the menu rows disabled until it settles.
|
||||
- The resolved stream is discarded when the movie is no longer selected or a
|
||||
newer start took over. The selection check includes the content type,
|
||||
because movie and series ids collide. Otherwise the movie's own external
|
||||
newer start took over. Movie and series ids collide, so the catalog and
|
||||
collection details include the content type in the selection check; in
|
||||
search, a switch to a series changes the playback owner instead, which
|
||||
supersedes the launch. Otherwise the movie's own external
|
||||
session is replaced, the host's `beforeExternalLaunch` hook runs (the
|
||||
catalog and collection details close their inline player there), and the
|
||||
launch is sent. A launch that resolves after either condition changed
|
||||
|
||||
@@ -198,10 +198,11 @@ function closeOwnedEpisodeSession(
|
||||
* still running externally is closed first: with instance reuse off a
|
||||
* second detached player would start beside it. When that close fails, or
|
||||
* the user moved on while it ran, the running player stays and nothing new
|
||||
* launches. A repeat of the same episode before its launch settled
|
||||
* (Electron publishes the session only afterwards) is ignored; another
|
||||
* episode of the series waits for that launch to settle and then replaces
|
||||
* it like any later start.
|
||||
* launches. A repeat of the same episode before its launch settled is
|
||||
* ignored (the session cannot stand in for this guard: Electron publishes
|
||||
* it only once the launch IPC arrives, as `launching` until that resolves);
|
||||
* another episode of the series waits for that launch to settle and then
|
||||
* replaces it like any later start.
|
||||
*/
|
||||
export async function openEpisodeExternally(
|
||||
host: SeriesExternalLaunchHost,
|
||||
|
||||
Reference in new issue
Block a user