From: vincent Date: Mon, 27 Dec 2021 14:33:21 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=617daa8fb0c4de2c24f37af197a5b49d48ac2599;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 318a3e1..90f04ed 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,7 +3,8 @@ - + + diff --git a/config/global.php b/config/global.php index 5346bde..fa7de0d 100644 --- a/config/global.php +++ b/config/global.php @@ -33,7 +33,8 @@ $squeezeboxPlayers = array( //'WC' => '00:04:20:2a:05:2e', //'WC' => 'b8:27:eb:78:f6:88', // 'WC' => 'a6:ce:85:78:33:a4', - 'Cuisine' => 'b8:27:eb:ec:71:34', + //'Cuisine' => 'b8:27:eb:ec:71:34', + 'Cuisine' => '00:04:20:2a:05:2e', 'Lit Jérôme' => 'b8:27:eb:62:d3:ce', 'Lit Vincent' => 'b8:27:eb:40:0e:e9', 'WC' => 'b8:27:eb:f6:1d:30', diff --git a/scripts/lib/lib.php b/scripts/lib/lib.php index a529cbd..3fc7810 100644 --- a/scripts/lib/lib.php +++ b/scripts/lib/lib.php @@ -478,6 +478,7 @@ function volume($volume, $increase = '', $device = null) $cmd = 'amixer -c 0 -M -- sset PCM playback ' . round(max(0, min(100, $volume))) . '%' . $increase; return sshCommand($cmd, $device); case 'squeezeboplayer': + case 'squeezeboxplayer': case 'squeezebox': return squeezeVolume($volume, $increase, config('SQUEEZEBOX_PLAYER')); case 'harmony':