| | |
| | | |
| | | if (a31MusicModel.ServerClientType == -1) |
| | | { |
| | | var result = OpenWeb("http://" + a31MusicModel.ServerIP + "/httpapi.asp?command=multiroom:getSlaveList"); |
| | | var result = OpenWeb("http://" + a31MusicModel.MainPlayIP + "/httpapi.asp?command=multiroom:getSlaveList"); |
| | | if (result != null) |
| | | { |
| | | var slaves = Newtonsoft.Json.JsonConvert.DeserializeObject<Slaves>(result); |
| | |
| | | { |
| | | if (a31player.ServerClientType == -1) |
| | | { |
| | | new System.Net.WebClient().DownloadData(new Uri("http://" + a31player.ServerIP + "/httpapi.asp?command=multiroom:SlaveVolume:" + a31player.IPAddress + ":" + volume)); |
| | | new System.Net.WebClient().DownloadData(new Uri("http://" + a31player.MainPlayIP + "/httpapi.asp?command=multiroom:SlaveVolume:" + a31player.IPAddress + ":" + volume)); |
| | | } |
| | | else if (a31player.ServerClientType == 1) |
| | | { |