This commit is contained in:
2025-01-14 11:13:39 -05:00
parent f3336b09ac
commit 861f4766b3
4 changed files with 7 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ class Cache:
artist = artist.strip().lower()
song = song.strip().lower()
try:
logging.info("Searching %s - %s on %s",
artist, song, self.label)
async with sqlite3.connect(self.cache_db, timeout=2) as db_conn:
await db_conn.enable_load_extension(True)
for ext in self.sqlite_exts: