Song
Songs that sound like this song
Changed onSimilarity is derived from analyzing the audio, which Ampache does not do itself, so this needs a sonic-analysis plugin (see the AudioMuse plugin). With none enabled the request is refused with 403 rather than answered with an empty list. similarity runs 0.0-1.0 where 1.0 is the same recording, matching the OpenSubsonic sonicMatch scale, and is -1 when the backend gives no comparable score.
get/songs/{song_id}/sonic-match
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/songs/{song_id}/sonic-match
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Path parameters
song_idstring required
Unique identifier of the song.
Query parameters
limitinteger
Maximum number of results to return
offsetinteger
Return results starting from this index position
Response
Songs that sound like this one, most similar first, each with its similarity score
Changes
- info
added the required property
//////to the response with the status
- info
- info
added the required property
//////to the response with the status
- info