mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 21:56:18 -08:00
fix(downloads): fail closed on stale episode state
This commit is contained in:
1 parent
e977791126
commit
d26df7acb4
11 files changed
+145
-43
No files matched your search
@@ -55,10 +55,14 @@ variants, contextual buttons, and theme-aware styling.
|
||||
`loadDownloads()` therefore always invokes the Electron list IPC without its
|
||||
legacy optional playlist scope. Route scope, category, and search must never
|
||||
replace or narrow that signal. Overlapping loads are request-ordered so a
|
||||
late response cannot replace a newer snapshot. Before each fresh download or
|
||||
resume the service asks the main process for an authorized folder and calls
|
||||
the corresponding IPC command. The `onDownloadsUpdate` broadcast triggers a
|
||||
new global load.
|
||||
late response cannot replace a newer snapshot. `hasLoadedDownloads` records
|
||||
that the latest attempt completed, including an error, while
|
||||
`hasAuthoritativeDownloadList` is true only after the latest request
|
||||
succeeds. Series download actions require both so a failed refresh cannot
|
||||
restart rows missing from a stale or empty renderer snapshot. Before each
|
||||
fresh download or resume the service asks the main process for an authorized
|
||||
folder and calls the corresponding IPC command. The `onDownloadsUpdate`
|
||||
broadcast triggers a new global load.
|
||||
- **Series season queueing**
|
||||
`SeasonDownloadCoordinator` owns synchronous, per-identity pending
|
||||
reservations and submits an individual episode or selected-season snapshot
|
||||
|
||||
Reference in new issue
Block a user