• v2.2.9 1d457fda5c

    v2.2.9: fix AutoPlay wedge, silent abort, and honest failure reporting

    cybertr0n released this 2026-10-03 04:13:19 +00:00 | 70 commits to main since this release

    Three defects made AutoPlay look broken:

    1. Wedge. A resolver that hung without raising (uploady.io) blocked the
      main thread inside hmf.resolve() forever, so the cancel poll at the top
      of the loop never ran again, the progress dialog never closed, and the
      0/STOP key did nothing. Every resolve now runs under a 25 s hard timeout
      in a worker thread and the hung resolver is abandoned.

    2. Silent abort ("not fetching anything"). The AUTOPLAY entry was a folder,
      so Kodi invoked the plugin as a directory. Refilling that container
      re-activated window 10025, which flipped monitor.abortRequested() and
      tore down the loop before it scraped a single source. The entry is now a
      proper action item (is_folder=False, IsPlayable unset) and the loop no
      longer touches the container.

    3. Misleading result. All-dead sources (Real-Debrid 451 infringing_file =
      not cached, or a dead host) are now classified, the loop bails after 4
      consecutive dead sources instead of grinding all 30, and the outcome
      reports "no playable source found" rather than "AutoPlay finished".

    Verified on the box: the release that previously hung 20+ min on 7/12 now
    exits in ~6 s; the 25 s cap was unit-tested against a resolver that never
    returns.

    Downloads