From d300a9a7ca9fc43df4f4c6b8671a01f604662a92 Mon Sep 17 00:00:00 2001 From: Dave Behnke <916775+dbehnke@users.noreply.github.com> Date: Sun, 28 Dec 2025 23:32:21 -0500 Subject: [PATCH] fix: Allow lowercase 'path' in audio config and standardize ini --- config/urfd.ini | 2 +- reflector/Configure.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/urfd.ini b/config/urfd.ini index 8c350fd..67bce83 100644 --- a/config/urfd.ini +++ b/config/urfd.ini @@ -52,7 +52,7 @@ NNGDebug = false [Audio] Enable = false -path = ./audio/ +Path = ./audio/ [Transcoder] Port = 10100 # TCP listening port for connection(s), set to 0 if there is no transcoder, then other two values will be ignored diff --git a/reflector/Configure.cpp b/reflector/Configure.cpp index 145129d..ffbbde7 100644 --- a/reflector/Configure.cpp +++ b/reflector/Configure.cpp @@ -540,7 +540,7 @@ bool CConfigure::ReadData(const std::string &path) case ESection::audio: if (0 == key.compare(JENABLE)) data[g_Keys.audio.enable] = IS_TRUE(value[0]); - else if (0 == key.compare("Path")) + else if (0 == key.compare("Path") || 0 == key.compare("path")) data[g_Keys.audio.path] = value; else badParam(key);