Subsonic API: getUser does not send populated folder list
The "getUser" endpoint in the Subsonic API does not return the allowed set folder mediafolders, but instead returns an empty list.
Response from a Subsonic server:
{
"subsonic-response": {
"status": "ok",
"version": "1.16.1",
"user": {
"username": "user",
...
"folder": [
0,
2,
3
]
}
}
}
Response from funkwhale 0.17
{
"subsonic-response": {
"status": "ok",
"version": "1.16.0",
"type": "funkwhale",
"funkwhaleVersion": "0.17",
"user": {
"username": "demo",
...
"folder": [
]
}
}
}
Expected content of the "folder" list would be the same list of folder-ids as returned by the "getMusicFolders" endpoint ([1]):
{
"subsonic-response": {
"status": "ok",
"version": "1.16.0",
"type": "funkwhale",
"funkwhaleVersion": "0.17",
"musicFolders": {
"musicFolder": [
{
"id": 1,
"name": "Music"
}
]
}
}
}
Edited by Ghost User