Commit d0777c2
Fixed: Return early and navigate back when mainlist login fails
When a channel's main list requires login and log_on() fails (e.g.
user cancels device auth), return None from process_folder_list
instead of an empty list. FolderAction detects the None sentinel and
calls endOfDirectory(handle, False), causing Kodi to navigate back to
the channel overview.
A brief login-error notification is shown (matching the sub-item
login failure pattern at line 500-508). Previously the login failure
was silently ignored, leaving the user on an empty folder.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>1 parent 0c4178c commit d0777c2
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
204 | 213 | | |
205 | 214 | | |
206 | 215 | | |
| |||
0 commit comments