Subsonic API: added replayGain field in Song

This commit is contained in:
emeric
2023-10-06 16:46:15 +02:00
parent 85e2ede2f2
commit de10da87d7
6 changed files with 85 additions and 2 deletions
@@ -32,6 +32,7 @@
#include "utils/String.hpp"
#include "responses/Artist.hpp"
#include "responses/Contributor.hpp"
#include "responses/ReplayGain.hpp"
#include "SubsonicId.hpp"
#include "Utils.hpp"
@@ -217,6 +218,8 @@ namespace API::Subsonic
addClusters("genres", "GENRE");
addClusters("moods", "MOOD");
trackResponse.addChild("replayGain", createReplayGainNode(track));
return trackResponse;
}
}