From 5974b43ac7c06fa143d31f3ccd28ccb1aa87346e Mon Sep 17 00:00:00 2001 From: emphasize Date: Tue, 7 Nov 2023 18:55:55 +0100 Subject: [PATCH] elevate sound media role --- 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):