mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-02 08:09:35 +02:00
renamed "System" to "Server"
This commit is contained in:
parent
eb99b52c5e
commit
b4701fb0fe
5 changed files with 12 additions and 11 deletions
|
@ -137,7 +137,7 @@ public class RemoteControl implements TcpClient.TcpClientListener {
|
|||
}
|
||||
|
||||
public void getServerStatus() {
|
||||
JSONObject request = jsonRequest("System.GetStatus", null);
|
||||
JSONObject request = jsonRequest("Server.GetStatus", null);
|
||||
tcpClient.sendMessage(request.toString());
|
||||
}
|
||||
|
||||
|
@ -170,7 +170,7 @@ public class RemoteControl implements TcpClient.TcpClientListener {
|
|||
|
||||
public void delete(ClientInfo clientInfo) {
|
||||
try {
|
||||
JSONObject request = jsonRequest("System.DeleteClient", new JSONObject("{\"client\": \"" + clientInfo.getMac() + "\"}"));
|
||||
JSONObject request = jsonRequest("Server.DeleteClient", new JSONObject("{\"client\": \"" + clientInfo.getMac() + "\"}"));
|
||||
tcpClient.sendMessage(request.toString());
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue