Repository navigation
Conversation
Cancel, Back, Escape and Stop on the download dialog now open a menu: stop it and remove it from NZBGet (the old behavior), go back but keep it downloading, or keep watching. Going back leaves every job in NZBGet and shows a short toast. Only the thread that opened the dialog asks; a late script callback for the press the menu answered is not taken as a new one.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Code coverage overviewLanguages: Python Python / code-coverage/pytest
View coverage of the 3 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4679c91d0c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… nothing Back and a click on Cancel are read only through the Home property the button sets; their late script callbacks are no longer a second press, so a slow NZBGet status request can't reopen the menu. Escape and Stop, which set no property, still come through onAction. Choosing to go back while the finished files are being looked for no longer falls through to a new submit.
|
@codex rereview |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 588c518083
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The bulk fleet's completed-copy check (nzbget_bulk._use_completed) returned its 'no readable video' error after the user chose to go back, which opened the failure diagnosis. The resolver now ends with no message whenever the user went back and no job was queued, on the fleet and plain paths alike.
|
@codex rereview |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Cancel, Back, Escape or Stop on the NZBGet download dialog used to stop the download at once and remove it, its files, its backups and its records from NZBGet. Now the press opens a menu first:
flowchart TD P[Cancel / Back / Escape / Stop pressed] --> M{Cancel menu} M -->|Stop and remove| S[Old path: delete this play's jobs, setResolvedUrl False] M -->|Go back, keep downloading| D[detached: leave every job in NZBGet, toast, setResolvedUrl False] M -->|No / Back on the menu| R[Forget the press, dialog carries on] classDef stop fill:#F87171,color:#151520 classDef go fill:#FBBF24,color:#151520 classDef keep fill:#34D399,color:#151520 class S stop class D go class R keepChanges
nzbget_dialog:iscanceled()asksask_cancel_choice()(a Kodi select) once per press. "Go back" setsdetachedand keepsiscanceled()False. Kodi's own progress dialog (the fallback when the add-on window can't open) is wrapped inKodiProgressDialogwith the same menu; "keep watching" reopens it because Kodi's dialog can't forget a press.nzbget_resolver: the poll returns a newdetachedoutcome; it deletes nothing, does not set the cancel event (a backup append still in flight is not deleted as a late cancel), toasts "Left downloading in NZBGet", and resolves False. A download that finishes or settles while the user goes back is not played and does not show "No video file found".Testing
just testpasses (5236 passed)just lintpasseseditqueuedeletes, back to Homeeditqueue, back to Home, toast shownCHANGELOG.mdanddocs-site/(just docsbuilds)