quintodrome/server/subsonic/responses/.snapshots/Responses AlbumList with OS data should match .JSON
Deluan f12e75aa11 feat(subsonic): add groupings field to OpenSubsonic Child response
Include the ID3 grouping tag in OpenSubsonic responses as an array of
strings, per opensubsonic/open-subsonic-api#232. The grouping tag was
already being extracted and stored in MediaFile.Tags via mappings.yaml
aliases (GRP1, GROUPING, ©grp, wm/contentgroupdescription), so this
change only adds the field to the response struct and populates it in
both song and album child builders.

Signed-off-by: Deluan <deluan@navidrome.org>
2026-05-10 18:35:13 -03:00

66 lines
1.4 KiB
JSON

{
"status": "ok",
"version": "1.16.1",
"type": "navidrome",
"serverVersion": "v0.55.0",
"openSubsonic": true,
"albumList": {
"album": [
{
"id": "1",
"isDir": false,
"title": "",
"bpm": 0,
"comment": "",
"sortName": "sort name",
"mediaType": "album",
"musicBrainzId": "00000000-0000-0000-0000-000000000000",
"isrc": [],
"genres": [
{
"name": "Genre 1"
},
{
"name": "Genre 2"
}
],
"replayGain": {},
"channelCount": 0,
"samplingRate": 0,
"bitDepth": 0,
"moods": [
"mood1",
"mood2"
],
"artists": [
{
"id": "artist-1",
"name": "Artist 1"
},
{
"id": "artist-2",
"name": "Artist 2"
}
],
"displayArtist": "Display artist",
"albumArtists": [
{
"id": "album-artist-1",
"name": "Artist 1"
},
{
"id": "album-artist-2",
"name": "Artist 2"
}
],
"displayAlbumArtist": "Display album artist",
"contributors": [],
"displayComposer": "",
"explicitStatus": "explicit",
"groupings": [
"Soundtrack"
]
}
]
}
}