Commit 7f93ee4
Fixed: Run search inline to prevent Kodi race condition
Container.Update triggers a separate plugin instance that races with
endOfDirectory. Slow API responses cause Kodi to render the stale
search-history page instead of the actual results.
Run the search directly in the keyboard branch so results are rendered
in the same plugin instance.
Known issue: empty needle is passed through, so refreshing search
results triggers the keyboard pop-up instead of re-running the query.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>1 parent 0c4178c commit 7f93ee4
1 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 78 | | |
88 | 79 | | |
89 | 80 | | |
| |||
0 commit comments