[pull] main from mhdzumair:main#270
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )