Skip to content
Permalink
Browse files

Merge pull request #617 from tarasfrompir/patch-3

get volume to main terminal
  • Loading branch information...
sergejey committed Aug 27, 2019
2 parents d007e10 + 53a5d0a commit 2460e5b3eb512a0a9e1676d70724271bb80f23c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/app_player/addons.php
@@ -137,7 +137,7 @@ public function get_volume() {
$volume = $this->data['volume'];
$this->reset_properties(array('success'=>TRUE, 'message'=>'OK'));
$this->data = $volume;
} elseif(strtolower($this->terminal['HOST']) == 'localhost' || $this->terminal['HOST'] == '127.0.0.1') {
} elseif(strtolower($this->terminal['HOST']) == 'localhost' || $this->terminal['HOST'] == '127.0.0.1' || $this->terminal['NAME'] == 'MAIN') {
$this->reset_properties(array('success'=>TRUE, 'message'=>'OK'));
$this->data = (int)getGlobal('ThisComputer.volumeMediaLevel');
} else {

0 comments on commit 2460e5b

Please sign in to comment.
You can’t perform that action at this time.