From 829398b65538f7667e70a0878a04f0460be5498f Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 27 Oct 2022 10:31:23 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 21 +++++++++++---------- scripts/lib/scenes.php | 5 ++++- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1779364..b29452d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,8 +2,8 @@ - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 06e57c5..0d02016 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -988,7 +988,10 @@ function chambreToggle($fromUserAction = false) function wcMusic($volume) { - if (date('w') == '5') { + $d = date('w'); + if ($d == 3) { + $music = 'Radio Michel'; + } else if ($d == 5) { $music = 'Samba'; //$volume += 10; } else { -- 2.39.5