Hi
ich habe mir das "plexhometheater" mit eingebunden:
sudo add-apt-repository ppa:plexapp/plexht
sudo apt-get install plexmediacenter
Dazu habe ich mir das Menü angepasst - und in /etc/init/plex.conf erstellt (angelehnt an XMBC.conf:
Code
description "PLEX Daemon"
author "xyz"
env DISPLAY=:1
export DISPLAY
env HOME=/var/lib/vdr
export HOME
setuid vdr
setgid audio
pre-start script
vdr-dbus-send /Remote remote.Disable ||:
if [ ! -z $STANDALONE ] ; then
touch /tmp/.standalone
fi
end script
post-stop script
/bin/rm -f /tmp/.standalone
vdr-dbus-send /Remote remote.Enable ||:
/sbin/initctl emit --no-wait vdr-frontend-restart
end script
exec /usr/bin/plexhometheater.sh
Alles anzeigen
in /usr/bin/plexhometheater.sh habe ich die LIRC-Variable noch mit übergeben:
Bash
#!/bin/sh
export XBMC_HOME=/opt/plexhometheater/share/XBMC
/opt/plexhometheater/bin/plexhometheater --lircdev /var/run/lirc/lircd
Soweit läuft auch alles - nur beim beenden (oder einem Absturz von plexhometheater) wird nicht der vdr-frontend automatisch gestartet...
Irgendeine idee wo mein Fehler liegt?
Gruß
Thorsten