From bdae117512ad710b5aebc64b87cc409afc60518d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 14 May 2023 16:14:26 +0200 Subject: [PATCH] Minor fixes --- ursaryd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ursaryd.c b/ursaryd.c index 2a67a78..56745ea 100644 --- a/ursaryd.c +++ b/ursaryd.c @@ -43,7 +43,7 @@ * slider light color temperature */ -#define PCH_SINK "alsa_output.pci-0000_00_1f.3.analog-stereo" +#define PCH_SINK "alsa_output.pci-0000_07_00.6.analog-stereo" #define BT_SINK "bluez_sink.CC_98_8B_D0_8C_06.a2dp_sink" #define LOGI_SOURCE "alsa_input.usb-046d_Logitech_Webcam_C925e_EF163C5F-02.analog-stereo" @@ -842,7 +842,7 @@ void notify_touch(int rotary UNUSED, int on UNUSED) static void notify_ir(const char *key) { - msg(L_INFO, "Received IR key %s", key); + DBG("Received IR key %s", key); // Lights if (!strcmp(key, "preset+")) @@ -874,9 +874,9 @@ static void notify_ir(const char *key) else if (!strcmp(key, "next-song")) mpd_next(); else if (!strcmp(key, "rewind")) - update_sink_from_rotary(-5, PCH_SINK); + update_sink_from_rotary(-2, PCH_SINK); else if (!strcmp(key, "ffwd")) - update_sink_from_rotary(5, PCH_SINK); + update_sink_from_rotary(2, PCH_SINK); } void notify_mqtt(const char *topic, const char *val) -- 2.39.2