fixed album art + updated now playing info
This commit is contained in:
1 parent
a07ee3bd52
commit
672f4f9142
3 files changed
+64
-20
No files matched your search
@@ -73,6 +73,7 @@ class Song:
|
||||
channelCount: int
|
||||
samplingRate: int
|
||||
playCount: int | None
|
||||
coverArtId: str | None
|
||||
|
||||
def __init__(self, info: dict | None = {}):
|
||||
self.id = info['id'] if 'id' in info else ""
|
||||
@@ -92,6 +93,7 @@ class Song:
|
||||
self.channelCount = int(info['channelCount']) if 'channelCount' in info else ""
|
||||
self.samplingRate = int(info['samplingRate']) if 'samplingRate' in info else ""
|
||||
self.playCount = int(info['playCount']) if 'playCount' in info else ""
|
||||
self.coverArtId = info['coverArt'] if 'coverArt' in info else None
|
||||
|
||||
class Artist:
|
||||
id: str
|
||||
|
||||
Reference in new issue
Block a user