Removed now useless config option

This commit is contained in:
emeric
2026-07-14 23:42:32 +02:00
parent b767913b64
commit 340711daad
26 changed files with 95 additions and 129 deletions
@@ -236,7 +236,7 @@ namespace lms::api::subsonic
std::string artistName{ getParameterAs<std::string>(context.getParameters(), "artist").value_or("") };
std::string titleName{ getParameterAs<std::string>(context.getParameters(), "title").value_or("") };
Response response{ Response::createOkResponse(context.getServerProtocolVersion()) };
Response response{ Response::createOkResponse() };
// best effort search, as this API is really limited
auto transaction{ context.getDbSession().createReadTransaction() };
@@ -269,7 +269,7 @@ namespace lms::api::subsonic
// mandatory params
db::TrackId id{ getMandatoryParameterAs<db::TrackId>(context.getParameters(), "id") };
Response response{ Response::createOkResponse(context.getServerProtocolVersion()) };
Response response{ Response::createOkResponse() };
Response::Node& lyricsList{ response.createNode("lyricsList") };
lyricsList.createEmptyArrayChild("structuredLyrics");