-
v2.3.7: answer Kodi's AUTOPLAY re-list before loading, so Kodi never kills the add-on mid-import
released this
2026-10-16 09:18:42 +00:00 | 45 commits to main since this releaseKodi runs all Python add-ons in one process and Python 3.11's import lock is process-global. When Kodi kills a slow listing, a SystemExit landing between importlib's acquire_lock and its try: leaves the lock held, and every later add-on run hangs until Kodi restarts (box 2026-10-15 08:14 "SystemExit ... _bootstrap line 199, in cb"; 2026-10-16 04:25, frozen until 05:01). Both kills hit Kodi re-listing the AUTOPLAY folder while default.py was still importing. default.py now checks that case first, with only sys/time/xbmc/xbmcplugin loaded, closes the listing and exits. Every run logs "start " before loading and "ready in N s" after.
Downloads