Merge pull request #734 from fewtarius/dev

Make sure we delete the AudioDevice so defaults are honored.
This commit is contained in:
fewtarius 2022-11-13 16:29:28 -05:00 committed by GitHub
commit 4db3fdfd33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,7 +108,7 @@ function set_es_path() {
exit 0
fi
AUDIOTEST=$(grep "AudioDevice" ${ES_SETTINGS} 2>/dev/null)
sed -i '/<string name="AudioDevice".*$/d' ${ES_SETTINGS}
sed -i '/^.*<string name="AudioDevice".*$/d' ${ES_SETTINGS}
if [ -e "/storage/.config/profile.d/99-mixer" ]
then
rm "/storage/.config/profile.d/99-mixer"