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>
15 lines
870 B
XML
15 lines
870 B
XML
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="navidrome" serverVersion="v0.55.0" openSubsonic="true">
|
|
<albumList>
|
|
<album id="1" isDir="false" title="" sortName="sort name" mediaType="album" musicBrainzId="00000000-0000-0000-0000-000000000000" displayArtist="Display artist" displayAlbumArtist="Display album artist" explicitStatus="explicit">
|
|
<genres name="Genre 1"></genres>
|
|
<genres name="Genre 2"></genres>
|
|
<moods>mood1</moods>
|
|
<moods>mood2</moods>
|
|
<artists id="artist-1" name="Artist 1"></artists>
|
|
<artists id="artist-2" name="Artist 2"></artists>
|
|
<albumArtists id="album-artist-1" name="Artist 1"></albumArtists>
|
|
<albumArtists id="album-artist-2" name="Artist 2"></albumArtists>
|
|
<groupings>Soundtrack</groupings>
|
|
</album>
|
|
</albumList>
|
|
</subsonic-response>
|