From 5c059360b8f7346a7a5c9ebe6541b19dbfdd2021 Mon Sep 17 00:00:00 2001 From: Swen Gross <25036977+emphasize@users.noreply.github.com> Date: Wed, 8 Nov 2023 22:27:10 +0100 Subject: [PATCH] elevate sound media role (#201) --- ovos_utils/sound/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ovos_utils/sound/__init__.py b/ovos_utils/sound/__init__.py index 28cdc275..056b3ce0 100644 --- a/ovos_utils/sound/__init__.py +++ b/ovos_utils/sound/__init__.py @@ -17,12 +17,12 @@ def read_mycroft_config(): return dict() -# Create a custom environment to use that can be ducked by a phone role. -# This is kept separate from the normal os.environ to ensure that the TTS -# role isn't affected and that any thirdparty software launched through -# a mycroft process can select if they wish to honor this. +# Create a custom environment to use that can let duck a music role. +# This is kept separate from the normal os.environ to ensure that +# any thirdparty software launched through +# a ovos process can select if they wish to honor this. _ENVIRONMENT = deepcopy(os.environ) -_ENVIRONMENT['PULSE_PROP'] = 'media.role=music' +_ENVIRONMENT['PULSE_PROP'] = 'media.role=phone' def _get_pulse_environment(config):