Improved build helper scripts for the server
This commit is contained in:
@@ -330,10 +330,10 @@ CommandResult ConnectedClient::handleCommand(Command &cmd) {
|
||||
else if (command == "musicbotsetsubscription") return this->handleCommandMusicBotSetSubscription(cmd);
|
||||
else if (command == "musicbotplayerinfo") return this->handleCommandMusicBotPlayerInfo(cmd);
|
||||
else if (command == "musicbotplayeraction") return this->handleCommandMusicBotPlayerAction(cmd);
|
||||
else if (command == "musicbotqueuelist") return this->handleCommandMusicBotQueueList(cmd);
|
||||
else if (command == "musicbotqueueadd") return this->handleCommandMusicBotQueueAdd(cmd);
|
||||
else if (command == "musicbotqueueremove") return this->handleCommandMusicBotQueueRemove(cmd);
|
||||
else if (command == "musicbotqueuereorder") return this->handleCommandMusicBotQueueReorder(cmd);
|
||||
else if (command == "musicbotqueuelist") return this->handleCommandMusicBotQueueList(cmd).as_command_result();
|
||||
else if (command == "musicbotqueueadd") return this->handleCommandMusicBotQueueAdd(cmd).as_command_result();
|
||||
else if (command == "musicbotqueueremove") return this->handleCommandMusicBotQueueRemove(cmd).as_command_result();
|
||||
else if (command == "musicbotqueuereorder") return this->handleCommandMusicBotQueueReorder(cmd).as_command_result();
|
||||
else if (command == "musicbotplaylistassign") return this->handleCommandMusicBotPlaylistAssign(cmd);
|
||||
|
||||
else if (command == "help") return this->handleCommandHelp(cmd);
|
||||
@@ -5738,7 +5738,7 @@ CommandResult ConnectedClient::handleCommandVersion(Command &) {
|
||||
res["version"] = build::version()->string(false);
|
||||
res["build_count"] = build::buildCount();
|
||||
res["build"] = duration_cast<seconds>(build::version()->timestamp.time_since_epoch()).count();
|
||||
#ifdef WINDOWS
|
||||
#ifdef WIN32
|
||||
res["platform"] = "Windows";
|
||||
#else
|
||||
res["platform"] = "Linux";
|
||||
@@ -7114,8 +7114,8 @@ CommandResult ConnectedClient::handleCommandPlaylistSongRemove(ts::Command &cmd)
|
||||
return CommandResult::Success;
|
||||
}
|
||||
|
||||
CommandResult ConnectedClient::handleCommandMusicBotQueueList(Command& cmd) {
|
||||
return CommandResult::NotImplemented; //FIXME
|
||||
command_result ConnectedClient::handleCommandMusicBotQueueList(Command& cmd) {
|
||||
return command_result{error::not_implemented}; //FIXME
|
||||
|
||||
/*
|
||||
CMD_REQ_SERVER;
|
||||
@@ -7195,8 +7195,8 @@ CommandResult ConnectedClient::handleCommandMusicBotQueueList(Command& cmd) {
|
||||
*/
|
||||
}
|
||||
|
||||
CommandResult ConnectedClient::handleCommandMusicBotQueueAdd(Command& cmd) {
|
||||
return CommandResult::NotImplemented; //FIXME
|
||||
command_result ConnectedClient::handleCommandMusicBotQueueAdd(Command& cmd) {
|
||||
return command_result{error::not_implemented}; //FIXME
|
||||
|
||||
/*
|
||||
CMD_REQ_SERVER;
|
||||
@@ -7231,8 +7231,8 @@ CommandResult ConnectedClient::handleCommandMusicBotQueueAdd(Command& cmd) {
|
||||
*/
|
||||
}
|
||||
|
||||
CommandResult ConnectedClient::handleCommandMusicBotQueueRemove(Command& cmd) {
|
||||
return CommandResult::NotImplemented; //FIXME
|
||||
command_result ConnectedClient::handleCommandMusicBotQueueRemove(Command& cmd) {
|
||||
return command_result{error::not_implemented}; //FIXME
|
||||
|
||||
/*
|
||||
CMD_REQ_SERVER;
|
||||
@@ -7263,8 +7263,8 @@ CommandResult ConnectedClient::handleCommandMusicBotQueueRemove(Command& cmd) {
|
||||
*/
|
||||
}
|
||||
|
||||
CommandResult ConnectedClient::handleCommandMusicBotQueueReorder(Command& cmd) {
|
||||
return CommandResult::NotImplemented; //FIXME
|
||||
command_result ConnectedClient::handleCommandMusicBotQueueReorder(Command& cmd) {
|
||||
return command_result{error::not_implemented}; //FIXME
|
||||
|
||||
/*
|
||||
CMD_REQ_SERVER;
|
||||
|
||||
Reference in New Issue
Block a user