API Subsonic: add ID3 browsing support

This commit is contained in:
emeric
2019-04-05 15:25:23 +02:00
parent 35b3d631ef
commit 316ef6eeb5
5 changed files with 189 additions and 75 deletions
+6
View File
@@ -154,6 +154,12 @@ Response::createFailedResponse(const Error& error)
return response;
}
void
Response::addNode(const std::string& key, Node node)
{
return _root._children["subsonic-response"].front().addChild(key, std::move(node));
}
Response::Node&
Response::createNode(const std::string& key)
{