Subsonic API: added getLyrics/getLyricsBySongId support, ref #379

This commit is contained in:
emeric
2024-10-26 19:04:11 +02:00
parent 72b1367ea6
commit 2d28ea61eb
13 changed files with 238 additions and 6 deletions
@@ -35,6 +35,12 @@ namespace lms::api::subsonic
formPostNode.addArrayValue("versions", 1);
}
{
Response::Node& songLyricsNode{ response.createArrayNode("openSubsonicExtensions") };
songLyricsNode.setAttribute("name", "songLyrics");
songLyricsNode.addArrayValue("versions", 1);
}
return response;
};
} // namespace lms::api::subsonic