added a bunch of stuff
This commit is contained in:
1 parent
5aaf6ede5d
commit
95c4dc96f6
26 files changed
+362
-27
No files matched your search
+10
@@ -477,3 +477,13 @@ class SubpyConn:
|
||||
response = response.json()['subsonic-response']
|
||||
|
||||
return response
|
||||
|
||||
def getAlbum(self, album_id: str) -> dict:
|
||||
url = self.base_url + '/rest/getAlbum?'
|
||||
|
||||
payload = self._getBasePayload()
|
||||
payload['id'] = album_id
|
||||
|
||||
response = requests.get(url + self._encodePayload(payload))
|
||||
|
||||
return response.json()['subsonic-response']
|
||||
Reference in new issue
Block a user