sonicMatch
A Child element with an additional normalized similarity field.
Opensubsonic:
A sonicMatch is a wrapper object with:
entryas aChildobjectsimilarity(normalized similarity value)
{
"entry": {
"id": "300000060",
"parent": "200000002",
"title": "BrownSmoke",
"isDir": false,
"isVideo": false,
"type": "music",
"albumId": "200000002",
"album": "Colorsmoke EP",
"artistId": "100000002",
"artist": "Synthetic",
"coverArt": "300000060",
"duration": 304,
"bitRate": 20,
"bitDepth": 16,
"samplingRate": 44100,
"channelCount": 2,
"track": 4,
"year": 2007,
"genre": "Electronic",
"size": 792375,
"discNumber": 1,
"suffix": "wma",
"contentType": "audio/x-ms-wma",
"path": "Synthetic/Synthetic_-_Colorsmoke_EP/04-Synthetic_-_BrownSmoke.wma"
},
"similarity": 1.0
}Does not exist.| Field | Type | Req. | OpenS. | Details |
|---|---|---|---|---|
entry | Child | Yes | The child metadata object (id, parent, title, etc.). | |
similarity | number | Yes | The normalized similarity score (1.0 = most similar, 0.0 = least similar). For getSonicSimilarTracks, relative to the query song. For findSonicPath, relative to the starting song. Returns -1 when similarity is not supported by the server. |