From 1e04021c26ba9d4b7cd3acaed54d24cac3d83e22 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 25 May 2016 13:06:19 +0000 Subject: [PATCH] fix pulseaudio env variable, provide additional watch link svn path=/trunk/; revision=134 --- actions/watch.sh | 2 +- pages/list.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/watch.sh b/actions/watch.sh index 60d29db..48f465f 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -72,7 +72,7 @@ case "${_COOKIE[watch]}" in fi export DISPLAY=":0" - uid="$(id |sed -rn '1s;.*uid=([0-9]+)[^0-9].*;1;p')" + uid="$(id |sed -rn '1s;.*uid=([0-9]+)[^0-9].*;\1;p')" export XDG_RUNTIME_DIR="/run/user/$uid" # required for Pulseaudio nohup /usr/bin/mplayer -ao pulse \ diff --git a/pages/list.sh b/pages/list.sh index 7b68f29..337676e 100755 --- a/pages/list.sh +++ b/pages/list.sh @@ -81,7 +81,7 @@ _printVideo(){ -

${htmlinfo}

+

${htmlinfo}

${minutes}min -- 2.39.2