From 09cc2990c585816d81aa16967077b086a9abeca3 Mon Sep 17 00:00:00 2001 From: Tim Curtis Date: Mon, 8 Nov 2021 16:16:14 -0500 Subject: [PATCH] Fix param name --- www/inc/autocfg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/inc/autocfg.php b/www/inc/autocfg.php index 03a8cd964..37cb7f846 100644 --- a/www/inc/autocfg.php +++ b/www/inc/autocfg.php @@ -167,7 +167,7 @@ function getDbParams($dbtable, $values, $prefix = '') { 'ALSA', ['requires' => ['alsa_output_mode'], 'handler' => setPlayerSession], ['requires' => ['alsa_loopback'], 'handler' => function($values) { - playerSession('write', 'i2sdevice', $values['alsa_loopback']); + playerSession('write', 'alsa_loopback', $values['alsa_loopback']); $values['alsa_loopback'] == 'On' ? sysCmd("sed -i '0,/_audioout__ {/s//_audioout {/' /etc/alsa/conf.d/_sndaloop.conf") : sysCmd("sed -i '0,/_audioout {/s//_audioout__ {/' /etc/alsa/conf.d/_sndaloop.conf"); }],