Commit graph

17 commits

Author SHA1 Message Date
LimeDrive
e8b0976332 refactor(logging): switch info/debug logs to trace across modules
convert info/debug logs to trace across modules for deeper diagnostics
without changing behavior
2026-04-03 12:09:26 +02:00
LimeDrive
31cd83e9cb refactor(debrid): adjust not_cached ttl and remove series file_index path
extend not_cached ttl from 20m to 3h to reduce re-checks
of not cached items

remove the file_index shortcut for series in Torbox
and rely on season/episode parsing
2026-04-01 22:34:48 +02:00
LimeDrive
76afe6ed15 feat: enhance json_response method to support json data and add new torrent management features in Torbox 2026-03-31 03:06:07 +02:00
LimeDrive
dfc8182960 feat: shared Redis availability cache for all debrid providers (issue #77)
Implements a generic caching layer in BaseDebrid that wraps every provider's
get_availability_bulk() with a shared Redis cache, reducing API calls and
cross-user redundancy.

Key changes:
- base_debrid.py: add get_availability_bulk_cached(), _sanitize_for_cache(),
  _index_results_by_hash(), _reconstruct_response(), service_name property.
  Cache keys: debrid_avail:{service}:{hash}. TTL: 3d (cached), 10min (not cached).
  Security: _sanitize_for_cache() strips private links/tokens before shared storage.
- alldebrid.py: remove fragile cache helpers (_cache_get_json, _cache_set_json,
  _lookup_local_cache, _write_local_cache); add provider overrides for #77;
  fix rate limiter attribute names (global_limit/period, was silently ignored);
  remove statusCode==4 fallback (field absent from /magnet/upload response);
  re-comment in English; StremThru results no longer cached locally.
- realdebrid.py, torbox.py, premiumize.py, stremthru.py: add provider overrides.
- views.py: replace get_availability_bulk() → get_availability_bulk_cached()
  at both call sites (prefetch + stream_processing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:03:47 +01:00
Telkaoss
4fc4a5cacc update 2026-03-02 11:32:28 +01:00
Telkaoss
b562f09859
Update index 2025-10-16 09:24:40 +02:00
Telkaoss
7cbca804f9 update 2025-06-12 02:55:07 +02:00
Telkaoss
c76df27bca Stremthru 2025-05-05 05:45:09 +02:00
Telkaoss
e3ed8b57f4 update 2025-05-04 09:31:01 +02:00
Telkaoss
1530d0557c Stremthru, async ++
Async Streaming: Converted key methods (fill_buffer, stream_content, close, get_stream_link, head_playback) to async for non-blocking streaming and improved scalability.

🔄 Unified Stremthru: Full refactor with dynamic STORE_CODE_TO_NAME / STORE_NAME_TO_TOKEN_KEY mappings and propagation of store_name in all requests (add_magnet, unrestrict_link, etc.). Updated RealDebrid to delegate via Stremthru.

💾 Cache Persistence: Store valid Stremthru links in Redis (stremthru:working:{store_code}:{info_hash}, TTL 7 days) and leverage this cache to mark links as "working" even on cached results.
2025-05-04 05:34:36 +02:00
LimeDrive
c2bd07e11e Refactor TorrentItem class: Add privacy attribute 2024-10-16 21:10:28 +00:00
LimeDrive
66dbf4ae60 refactor: 🎨 ++ clean logs and torbox test/rf 2024-10-09 13:19:42 +00:00
LimeDrive
ab552da4df Refactor Torbox class: Improve token handling and request download link URL construction 2024-10-07 14:29:31 +00:00
LimeDrive
b2ed6e37f9 Refactor Torbox class: Add support for unique account and token handling 2024-10-07 12:21:35 +00:00
LimeDrive
b1a3472c66 Refactor configuration views and add TorBox unique account setting 2024-10-03 14:38:37 +00:00
LimeDrive
51008a7a0b refactor: ✏️ Start clear logs and add trace log on loop 2024-10-03 12:09:04 +00:00
LimeDrive
f6324cfa64 feat: 🔥 torbox 2024-10-02 20:46:14 +00:00