You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when looking at the subsonic 1.16.1 xsd (http://www.subsonic.org/pages/inc/api/schema/subsonic-rest-api-1.16.1.xsd) the response of the GetMusicFolders endpoint is a element with child elements. The id attributes of the child elements has to be numeric (Integer). Nextcloud Music is returning a response like this:
There's a small deviation here between the API specification and the API implementation in the Music app. I originally didn't look carefully enough and didn't notice that the <musicFolder> elements have the type of id specified as int while every other element type in the API specify the id as string. I noticed it at some point later, but didn't care to fix it as this didn't seem to cause problems with any of the clients I have tested.
…e spec
The XML schema in the API specification defines the IDs of the "music
folders" as integers while all the other IDs in the API are string-typed.
refs #1108
Hello everyone,
when looking at the subsonic 1.16.1 xsd (http://www.subsonic.org/pages/inc/api/schema/subsonic-rest-api-1.16.1.xsd) the response of the GetMusicFolders endpoint is a element with child elements. The id attributes of the child elements has to be numeric (Integer). Nextcloud Music is returning a response like this:
The endpoint URL is:
/index.php/apps/music/subsonic/rest/getMusicFolders?u=username&p=&v=1.16.1&c=webplayer
Maybe there are some hardcoded values or I have missed some documentation. Can you help me?
Thanks in advance
Marc
The text was updated successfully, but these errors were encountered: