Skip to content

Commit

Permalink
{multiroom.php] Improve set_rx_status volume
Browse files Browse the repository at this point in the history
  • Loading branch information
moodeaudio committed Jun 21, 2022
1 parent 08b969f commit dedfac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/command/multiroom.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
}
}
} else if (isset($_POST['volume'])) {
if (false === ($result = file_get_contents('http://' . $rxAddresses[$item] . '/command/?cmd=vol.sh ' . $_POST['volume']))) {
if (false === ($result = file_get_contents('http://' . $rxAddresses[$item] . '/command/?cmd=vol.sh ' . $_POST['volume']))) {
if (false === ($result = file_get_contents('http://' . $rxAddresses[$item] . '/command/?cmd=trx-control.php -set-mpdvol ' . $_POST['volume']))) {
if (false === ($result = file_get_contents('http://' . $rxAddresses[$item] . '/command/?cmd=trx-control.php -set-mpdvol ' . $_POST['volume']))) {
workerLog('multiroom.php: set_rx_status volume failed: ' . $rxHostNames[$item]);
}
}
Expand Down

0 comments on commit dedfac9

Please sign in to comment.