Skip to content

[pull] main from mhdzumair:main#268

Merged
pull[bot] merged 7 commits into
geek-cookbook:mainfrom
mhdzumair:main
May 31, 2026
Merged

[pull] main from mhdzumair:main#268
pull[bot] merged 7 commits into
geek-cookbook:mainfrom
mhdzumair:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 31, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

mhdzumair and others added 7 commits May 31, 2026 14:21
Introduce an imdb_dataset_import worker job that streams IMDb TSV datasets
into UNLOGGED staging tables and merges into existing media metadata tables,
with scheduler wiring, admin status endpoint, and additive migration 0011.
The frontend sent order_by/order_dir but the backend struct only read
sort_by/sort_order, so sorting was silently ignored and rows always
returned in id DESC order. Added serde aliases so both names are accepted.
Move IMDb import settings into cron_jobs with admin config/run APIs, load stored payloads on manual dispatch, and add a scheduler panel for cron control, live status, and dataset runs.
Rewrite the DMM hashlist worker for Python parity, resolve titles via local
IMDB FTS/AKA search and TMDB fallback without cinemeta stubs, and harden
startup migrations against orphaned _sqlx_migrations rows.
The Rust port dropped the Python live-search path that fetches metadata
from TMDB/Cinemeta and creates a media row on demand when a Stremio
stream request arrives for an imdb ID not yet in the DB. Without it,
all movie requests from fresh installs returned empty streams (200) and
404 on meta, while series worked because their rows already existed.

- stream.rs: before the early-out for unresolved IDs, call
  ensure_media_for_import when live_search_streams is on and the ID is
  externally resolvable (tt…, tmdb:…, etc.). On success, update media_id
  and the id-cache so the request falls through to the Prowlarr/Jackett
  live-scrape step — matching the Python _fetch_missing_media_for_live_search
  behaviour.
- metadata.rs: fall through to the Cinemeta fallback when TMDB find/
  returns empty results or errors, instead of returning None early. Fixes
  titles present on IMDb but missing/mismatched on TMDB.
- background_search.rs: fix lookup_movie/lookup_series_media binding
  lowercase string literals ('movie', 'series') against the native
  mediatype Postgres enum (labels 'MOVIE', 'SERIES') introduced in b79fccd.
  The type error was swallowed by .ok()?, silently no-oping all re-scrape
  queue items.

Fixes #679
@pull pull Bot locked and limited conversation to collaborators May 31, 2026
@pull pull Bot added the ⤵️ pull label May 31, 2026
@pull pull Bot merged commit c0ebc0e into geek-cookbook:main May 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants