fix: cookie error (#127) (#210)

* Add support for custom PulseAudio cookie configuration
This commit is contained in:
Florian Asche authored and GitHub committed 2026-03-07 17:33:48 +01:00
1 parent efbad18275
commit b53678e0f3
6 files changed
+25 -2

No files matched your search

+8
View File
@@ -81,6 +81,14 @@ if [ -n "${UNMUTE_SOUND}" ]; then
fi
# Add cookie file for pulseaudio to prevent errors
if [ ! -f "$PULSE_COOKIE" ]; then
echo "Creating PulseAudio cookie file"
touch "$PULSE_COOKIE"
chmod 600 "$PULSE_COOKIE"
fi
### Wait for PulseAudio
# Wait for PulseAudio to be available before starting the application
CP_MAX_RETRIES=30