11-04-2024, 08:36 AM
(This post was last modified: 11-04-2024, 08:51 AM by abrakadabra2k.)
@Tim Curtis I tried the watchdog part regarding trx-rx in a minimal example, which fails as well:
Maybe some include problem?
Admittedly, I have no experience with php and its usage in a shell script
Quick update: The script is working on another machine with a hifiberry output.
I guess the getAlsaIEC958Device is used only with HDMI, the watchdog is probably not working with HDMI and IEC958?
Code:
moode@LivingMoode:/var/www/daemon $ cat test.sh
/var/www/util/trx-control.php -rx On
moode@LivingMoode:/var/www/daemon $ sudo ./test.sh
PHP Fatal error: Uncaught Error: Call to undefined function getAlsaIEC958Device() in /var/www/inc/multiroom.php:43
Stack trace:
#0 /var/www/util/trx-control.php(84): startMultiroomReceiver()
#1 /var/www/util/trx-control.php(22): rxOnOff()
#2 {main}
thrown in /var/www/inc/multiroom.php on line 43
Maybe some include problem?
Admittedly, I have no experience with php and its usage in a shell script
Quick update: The script is working on another machine with a hifiberry output.
I guess the getAlsaIEC958Device is used only with HDMI, the watchdog is probably not working with HDMI and IEC958?