From f1cc6ce5dcbe2595be6f24e269c6c7deedc550a3 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sun, 4 Oct 2026 05:04:14 +0200 Subject: [PATCH] fix: the reconcile scan's return type names its settled sections; the composer stays at its size ceiling --- backend/app/plex/watch_sync.py | 2 +- frontend/src/components/IssueComposer.tsx | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/app/plex/watch_sync.py b/backend/app/plex/watch_sync.py index f763eb52..a632b3bb 100644 --- a/backend/app/plex/watch_sync.py +++ b/backend/app/plex/watch_sync.py @@ -72,7 +72,7 @@ def _rk_to_id(db: Session) -> dict[str, int]: def _scan_plex_states( db: Session, plex: PlexClient -) -> tuple[dict[int, tuple[str, int, datetime | None, datetime | None]], int, bool, set[str]]: +) -> tuple[dict[int, tuple[str, int, datetime | None, datetime | None]], int, set[str], set[str]]: """Scan the enabled movie/show sections and return ``{item_id: (status, pos, watched_at, prog_at)}`` for every mirrored leaf Plex holds a watch signal for, the scanned-leaf count, the keys of the sections SETTLED — walked to the server's total (or said empty by a server we mirror diff --git a/frontend/src/components/IssueComposer.tsx b/frontend/src/components/IssueComposer.tsx index e87214d7..baed165d 100644 --- a/frontend/src/components/IssueComposer.tsx +++ b/frontend/src/components/IssueComposer.tsx @@ -441,9 +441,8 @@ function ComposerBody({ {t("recorder.composer.export")} {target && !sent && ( - // `sending` is a send ALREADY under way — from a reload, or from the other tab this one - // is a copy of. The button would only earn an `issue_sending` refusal; the banner above - // says why it is out. + // `sending`: a send already under way (a reload's, or another tab's). The button would only + // earn an `issue_sending` refusal; the banner above says why it is out.