08-08-2024, 10:12 PM
(This post was last modified: 08-08-2024, 10:12 PM by Tim Curtis.)
Here's the rb code in worker.php
Try checking some of the conditions:
1. Existence of file /opt/RoonBridge/start.sh
2. Session var 'roonbridge_installed' set to 'yes'
sudo moodeutl -d -gv roonbridge_installed
3. Feature enabled
moodeutl -a should show
128 y RoonBridge renderer
Code:
// RoonBridge
// Their installer sets the systemd unit to enabled but we need it disabled because we start/stop it via System Config setting
if (file_exists('/opt/RoonBridge/start.sh') === true) {
$_SESSION['roonbridge_installed'] = 'yes';
if (sysCmd('systemctl is-enabled roonbridge')[0] == 'enabled') {
sysCmd('systemctl disable roonbridge');
sysCmd('systemctl stop roonbridge');
$msg = 'installed, systemd unit set to disabled';
}
} else {
$_SESSION['roonbridge_installed'] = 'no';
$msg = 'not installed';
}
workerLog('worker: RoonBridge: ' . $msg);
Try checking some of the conditions:
1. Existence of file /opt/RoonBridge/start.sh
2. Session var 'roonbridge_installed' set to 'yes'
sudo moodeutl -d -gv roonbridge_installed
3. Feature enabled
moodeutl -a should show
128 y RoonBridge renderer