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:
4grayandClaude Fable 5.1 committed 2026-10-04 11:25:49 +02:00
1 parent c8ef77214a
commit 536e2a4fc6
2 files changed
+9 -6

No files matched your search

@@ -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,