9 Commits

Author SHA1 Message Date
mhdzumair c5915d26e5 Fix debrid cache sync endpoint url 2025-01-02 12:00:34 +05:30
mhdzumair 5bf349f826 Add support for MediaFusion Debrid cache sync and cache status checks
Introduced endpoints to check and submit cache statuses for info hashes. Enhanced cache helpers to integrate with MediaFusion Public Host for status retrieval and syncing. Added new schemas and configurations to support these operations.
2024-12-30 14:01:17 +05:30
mhdzumair b4422c0c94 Add scheduled task for cleaning up expired debrid cache status 2024-12-13 15:49:51 +05:30
Munif Tanjim d8ae426a9a StremThru Improvements (#385)
* Improve StremThru error handling

* Allow access to http response object

* Add configure time StremThru store name validation

* Store StremThru magnet cache in redis

* Add settings toggle for storing StremThru magnet cache

* Update streaming_providers/debrid_client.py

* Support using public StremThru instance

---------

Co-authored-by: Mohamed Zumair <mhdzumair@gmail.com>
2024-12-07 10:36:31 +05:30
mhdzumair 4a77847b20 Prevent caching for StremThru service info hashes. 2024-11-30 09:45:30 +05:30
mhdzumair bae7225655 Refactor caching to simplify streaming provider handling & only use the users downloaded list for unsupported stremthru store names 2024-11-30 06:58:43 +05:30
Munif Tanjim b52a7fdf7e Read redis debrid cache for StremThru (#383) 2024-11-30 06:41:31 +05:30
mhdzumair 1483336adc Refactor Redis client imports and configuration
Moved Redis client setup to a new module `redis_database` and updated all references across the codebase. Also added a new configuration setting for redis_max_connections for better resource management.
2024-11-28 16:08:34 +05:30
mhdzumair 8dbac1c3ac Added support for maintaining caching status for each debrid service redis with expiry 2024-11-27 23:31:08 +05:30