Page 1 of 1

REST API Bugs in 5.0 Beta2 Build 3480

Unread postPosted: 09 May 2013, 08:19
by archrival
Adding this random songs bug to the appropriate place

It looks like getRandomSongs.view will return an empty result set more often than not. I've been passing no other parameters other than the required u, p, c and v:

getRandomSongs.view?u=user&p=password&c=test&v=1.9.0

Code: Select all
<subsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="1.10.1">
<randomSongs></randomSongs>
</subsonic-response>


In addition, getGenres.view returns an additional ampersand when escaping

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://madsonic.org/restapi" status="ok" version="1.10.1">
  <genres>
    <genre>Children&amp;apos;s Music</genre>
    <genre>Drum &amp;amp; Bass</genre>
    <genre>R&amp;amp;B</genre>
  </genres>
</subsonic-response>

Re: REST API Bugs in 5.0 Beta2 Build 3480

Unread postPosted: 13 Nov 2015, 11:17
by addseo1115
view will return an empty result set more often than not.