Subsonic API: better compability with clients
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include <Wt/Http/Request.h>
|
||||
|
||||
#include "database/Types.hpp"
|
||||
#include "ClientInfo.hpp"
|
||||
#include "ProtocolVersion.hpp"
|
||||
|
||||
namespace Database
|
||||
{
|
||||
@@ -37,7 +39,8 @@ namespace API::Subsonic
|
||||
const Wt::Http::ParameterMap& parameters;
|
||||
Database::Session& dbSession;
|
||||
Database::UserId userId;
|
||||
std::string clientName;
|
||||
ClientInfo clientInfo;
|
||||
ProtocolVersion serverProtocolVersion;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user