From 59c6b711f4f985eacd705a42b10ebcc4d7a7df73 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Thu, 2 Apr 2026 03:55:02 +0200 Subject: [PATCH] fix: --no-cache now also skips cache writing --- lrx_cli/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrx_cli/core.py b/lrx_cli/core.py index b0225f2..8ecbc1f 100644 --- a/lrx_cli/core.py +++ b/lrx_cli/core.py @@ -121,7 +121,7 @@ class LrcManager: continue # Cache the result (skip for self-cached fetchers) - if not fetcher.self_cached: + if not fetcher.self_cached and not bypass_cache: ttl = result.ttl or _STATUS_TTL.get(result.status, TTL_NOT_FOUND) self.cache.set(track, source, result, ttl_seconds=ttl)