OpenVoiceOS / ovos-installer

Open Voice OS and/or HiveMind installer using Ansible with an intuitive and easy Text-based User Interface

Home Page:https://www.openvoiceos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PipeWire and PulseAudio both installed

goldyfruit opened this issue · comments

Installer fails to detect sound system because both PipeWire and PulseAudio are installed on the system.

[done]
+ detect_sound
+ echo -ne '➤ Detecting sound server... '
➤ Detecting sound server... ++ pgrep -a -f pulse
++ awk -F/ '{ print $NF }'
+ [[ pipewire-pulse
pulseaudio =~ pulse ]]
+ '[' -S /run/user/1000/pulse/native ']'
+ '[' '!' -S /mnt/wslg/PulseServer ']'
+ export PULSE_SERVER=/run/user/1000/pulse/native
+ PULSE_SERVER=/run/user/1000/pulse/native
+ command -v pactl
++ awk -F: '$1 ~ /Server Name/ { print $2 }'
++ pactl info
++ sed 's/^ *//'
Connection failure: Access denied
+ SOUND_SERVER=
+ export SOUND_SERVER
+ echo -e '[\e[32mdone\e[0m]'
[done]

Processes:

pi           626  0.0  0.1  27956  7952 ?        S<sl Jan17   0:00  \_ /usr/bin/pipewire-pulse
pi           628  2.4  0.3 349052 24076 ?        S<sl Jan17 105:38  \_ /usr/bin/pulseaudio

The installer must stop with a clear message when this edge situation is detected.

Fixed by 0ed0551 and PipeWire will be the default.