mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-27 21:44:27 -04:00
Fix issue where cover art message displayed before album
This commit is contained in:
parent
b844931528
commit
505111db92
2 changed files with 4 additions and 2 deletions
|
@ -37,6 +37,7 @@ class MusicDB:
|
|||
:type item_id: str
|
||||
:rtype: bool
|
||||
"""
|
||||
logger.debug(f"Checking database for ID {item_id}")
|
||||
with sqlite3.connect(self.path) as conn:
|
||||
return (
|
||||
conn.execute(
|
||||
|
@ -51,6 +52,7 @@ class MusicDB:
|
|||
:param item_id:
|
||||
:type item_id: str
|
||||
"""
|
||||
logger.debug(f"Adding ID {item_id}")
|
||||
with sqlite3.connect(self.path) as conn:
|
||||
try:
|
||||
conn.execute(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue