fixed album art + updated now playing info

This commit is contained in:
JISAUAY committed 2025-09-08 12:43:07 -05:00
1 parent a07ee3bd52
commit 672f4f9142
3 files changed
+64 -20

No files matched your search

+2
View File
@@ -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