Skip to content

Fix/crashes history jackett - #3

Merged
Langegen merged 2 commits into
mainfrom
fix/crashes-history-jackett
Nov 1, 2026
Merged

Langegen merged 2 commits into
mainfrom
fix/crashes-history-jackett

Conversation

@Langegen

@Langegen Langegen commented Nov 1, 2026

Copy link
Copy Markdown
Owner

No description provided.

Langegen and others added 2 commits October 30, 2026 08:55
…ystem font

Closing
- libnx has no pthread_detach (newlib.c: "Unsupported", ENOSYS), so
  std::thread::detach() threw std::system_error and the app terminated on
  the first request through the network pool (seen on "Test connection").
  The pool keeps its threads and joins them in workers::stop(), called
  before main() returns; a thread that cannot be made leaves the work to
  brls::async; a task that throws is logged instead of terminating.
- http::abortAll(): every transfer stops at its next progress tick when the
  app quits, so the join is quick and no network call outlives main()
  (socketExit under a live request is a data abort).

Russian text
- With Space Grotesk off (Russian) borealis made the system Simplified
  Chinese font the primary; its Cyrillic sits in near-square cells, hence
  the wide letter spacing. The system Standard font (the console's own
  Russian) is the primary now, Chinese its CJK fallback (VENDORED.md #4).

Checked: no other detach / std::async / throwing std calls (stoi, at,
filesystem, random_device) in app code; substr positions are bounded;
worker tasks get settings copied on the UI thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Options -> TMDB: a "TMDB proxy" switch and the proxy address. On by
  default for a Russian UI (TMDB does not resolve there). An empty address
  uses TMDB_PROXY_URL from the build, else the built-in tmdb-api.rootu.top /
  tmdb-img.rootu.top. An explicit API / image address still wins.
- A built-in TMDB key: used when neither Options nor the build give one.
- The general HTTP proxy is not applied to the TMDB proxy's hosts, and a
  TMDB address left in the general proxy setting is cleared.
- tools/tmdb-worker: a Cloudflare Worker that proxies /3/* to the TMDB API
  and /t/p/* to its images, with edge caching, and a README (in Russian) on
  deploying it from the browser or with wrangler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Langegen
Langegen merged commit b38af53 into main Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant