mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 11:24:43 +00:00
lastfm: dump failed scrobbles locally
+ bump tinytag to v2.0.0 and refactor taglib.py + add explicit flag to track model
This commit is contained in:
1 parent
2cc063ad76
commit
2a12487220
10 files changed
+188
-198
No files matched your search
+1
-1
@@ -465,7 +465,7 @@ class LibDataTable(Base):
|
||||
@classmethod
|
||||
def find_one(cls, hash: str, type: Literal["album", "artist"]):
|
||||
result = cls.execute(
|
||||
select(cls).where((cls.itemhash == hash) & (cls.itemtype == type))
|
||||
select(cls).where((cls.itemhash == type + hash) & (cls.itemtype == type))
|
||||
)
|
||||
return result.fetchone()
|
||||
|
||||
|
||||
Reference in new issue
Block a user