fix: --no-cache now also skips cache writing

This commit is contained in:
2026-04-02 03:55:02 +02:00
parent 8001c3f7e8
commit 5a44f2ba34
+1 -1
View File
@@ -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)