Subsonic API: added version in album responses

This commit is contained in:
emeric
2025-02-28 18:14:00 +01:00
parent da7a2f089b
commit 373ee8f0be
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ The following extra fields are implemented:
* `recordLabels`
* `releaseTypes`
* `userRating`
* `version`
* `Child` response:
* `albumArtists`
* `artists`
@@ -145,6 +145,7 @@ namespace lms::api::subsonic
return albumNode;
// OpenSubsonic specific fields (must always be set)
albumNode.setAttribute("version", release->getComment());
albumNode.setAttribute("sortName", release->getSortName());
albumNode.setAttribute("mediaType", "album");