Skip to content

[pull] main from mhdzumair:main#270

Merged
pull[bot] merged 8 commits into
geek-cookbook:mainfrom
mhdzumair:main
Jun 1, 2026
Merged

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

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 1, 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 added 8 commits June 1, 2026 15:36
…rite-back on play

- Add per-user 5-min Redis cache (user_hashes:{service}:{token_hash}) shared by
  live_check and watchlist catalog, eliminating repeated full-list API fetches when
  many streams are checked concurrently (RD, AllDebrid, Seedr)
- Add AllDebrid to USER_LIST_CHECK_PROVIDERS alongside RD and Seedr — its
  /magnet/status endpoint returns the user's own list, not a global CDN hash check
- On successful playback resolution, write the info_hash to debrid_cache:{service}
  so future stream listings show ⚡️ without re-running live_check after the 30-min
  check marker expires
- Add SMTP_TLS_ENABLED config (default true); set false to use plaintext transport
  for internal/relay SMTP servers that don't support STARTTLS (fixes InvalidContentType)
- Downgrade RD auth/rate-limit errors in check_cached and get_user_hashes_cached
  to debug — bad_token and permission_denied are expected when a token has expired
  and are not actionable during a cache check
- Map MAGNET_INVALID_ID/MAGNET_NOT_FOUND to torrent_not_downloaded.mp4 in AllDebrid
  so playback logs at debug instead of warn (recognized, not an unexpected error)
- Map DATABASE_ERROR/DOWNSTREAM_ERROR/REQUEST_FAILED to debrid_service_down_error.mp4
  in TorBox — these are transient server-side errors, not bugs in our code
- Downgrade metadata_update "no video files" to debug — expected for audio/subtitle-
  only torrents
- Add mkdocs.yml with Material theme, dark/light toggle, Mermaid diagram
  support, tabbed content, and search
- Add GitHub Actions workflow for auto-deploy to GitHub Pages on push to main
- Add mkdocs-material and mkdocs-glightbox to pyproject.toml docs group
- Restructure docs/ into Getting Started, Deployment, Configuration,
  Integrations, and Reference sections (28 pages total)
- Rewrite env reference from Rust config.rs — 180+ vars in 18 grouped sections
- Rewrite database ERD with Mermaid diagrams reflecting the 6.0 schema
- Add features.md showcasing the full platform capability
- Update contributing.md with Rust + Python workflow, PR checklist, scraper guide
- Simplify README to essentials with link to docs site
- Add all three community instances (ElfHosted, ElfHosted dev/beta, Midnight)
- Fix branding: streaming platform, not addon
- Replace Discord with Telegram community link
- Update disclaimer to clarify developer and community instance responsibility
The Kodi addon repo lives at the root of gh-pages; docs now deploy to
the /docs/ subdirectory so the two coexist without wiping each other.

- docs.yml: use peaceiris/actions-gh-pages with destination_dir=docs
  instead of mkdocs gh-deploy (which replaced the entire branch)
- main.yml kodi_build: remove force_orphan — it was nuking the /docs/
  subdirectory on every release
- mkdocs.yml: update site_url to .../MediaFusion/docs/
- main.yml update_version: install Rust toolchain and run
  cargo update --workspace after bumping Cargo.toml so Cargo.lock
  stays in sync with the new version
Some provider endpoints (notably RD) return HTTP 200 with an empty body
instead of 204. response_json was treating this as a JSON parse failure
and logging a warn, which bubbled up as api_error.mp4 in playback.

- Empty body + 2xx → return Value::Null (same as explicit 204 handling)
- Empty body + 4xx/5xx → return typed ProviderError (auth or api_error)
  instead of a misleading "EOF while parsing" message
@pull pull Bot locked and limited conversation to collaborators Jun 1, 2026
@pull pull Bot added the ⤵️ pull label Jun 1, 2026
@pull pull Bot merged commit e6e2451 into geek-cookbook:main Jun 1, 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.

1 participant