From 744c5cfb385b2b332e35ce1d02bef0f9e273dd82 Mon Sep 17 00:00:00 2001 From: graysky Date: Tue, 23 Dec 2014 21:09:57 -0500 Subject: [PATCH] add 6 s delay to fix PA not init problems --- common/kodi-standalone2 | 3 +++ 1 file changed, 3 insertions(+) mode change 100755 => 100644 common/kodi-standalone2 diff --git a/common/kodi-standalone2 b/common/kodi-standalone2 old mode 100755 new mode 100644 index d80603e..eb63f9d --- a/common/kodi-standalone2 +++ b/common/kodi-standalone2 @@ -27,7 +27,10 @@ APP="${bindir}/${bin_name} --standalone $@" PULSE_START="$(which start-pulseaudio-x11)" if [ -n "$PULSE_START" ]; then + # delay needed to allow PA to initialize for xbmc + # to detect all audio sources $PULSE_START + sleep 6s else PULSE_SESSION="$(which pulse-session)" if [ -n "$PULSE_SESSION" ]; then