Closed perillamint closed 4 months ago
Thanks for the report. You are right, getAlbumInfo2
really should return albumInfo
instead of albumInfo2
. Meanwhile, getArtistInfo2
returns artistInfo2
and getAlbumList2
returns albumList2
. Probably I had just assumed that getAlbumInfo2
would follow a similar pattern, without looking at the specification closely enough.
We can also see from the demo server, that the original Subsonic server is implemented as specified and this is not just a typo in the spec: http://demo.subsonic.org/rest/getAlbumInfo2?u=guest&p=guest&c=test&v=1.16&f=xml&id=22
The fix is now released in Music v1.11.0.
Currently, Owncloud Music returns
albumInfo2
object with the APIhttps://github.com/owncloud/music/blob/master/lib/Controller/SubsonicController.php#L1524 https://github.com/owncloud/music/blob/master/lib/Controller/SubsonicController.php#L327
However, it is not a correct response. As per OpenSubsonic and Subsonic API spec
It should return
albumInfo
object instead ofalbumInfo2
.