################################################################################# # # # The following configuration file is generated automatically by the yaVDR # # system. Don't change this file as every update of yaVDR will overwrite # # the local changes. Instead put your required customizations # # into /etc/yavdr/templates_custom/ based on the original templates # # under /usr/share/yavdr/templates. # # # # http://www.yavdr.org/developer-zone/template-overview/ # # # # # ################################################################################# # yavdr-frontend - Starts vdr frontend # description "yavdr-frontend" author "Steffen Barszus " env HOME=/var/lib/vdr export HOME respawn start on started vdr or stopped openbox-tools or started sound-device \ or vdr-frontend-restart stop on stopping vdr or stopping openbox pre-start script # wait for vdr, Xorg (after wm is running) and the sound devices to be loaded start wait-for-job-state WAIT_FOR=vdr TARGET_GOAL=start WAIT_STATE=running WAITER=vdr-frontend WAIT_FOREVER=1 ||: start wait-for-job-state WAIT_FOR=sound-device TARGET_GOAL=start WAIT_STATE=running WAITER=vdr-frontend WAIT_FOREVER=1 ||: start wait-for-job-state WAIT_FOR=openbox-tools TARGET_GOAL=stop WAIT_STATE=waiting WAITER=vdr-frontend WAIT_FOREVER=1 ||: # dont start if some other application is running if [ -e /tmp/.standalone ]; then vdr-dbus-send /Remote remote.Disable ||: exit 1 fi end script nice -10 setuid vdr setgid vdr #env XINE_BUFFER_LOG=1 env USE_AUTOCROP=0 export USE_AUTOCROP script export DISPLAY=:1`dbget vdr.tempdisplay` export __GL_SYNC_TO_VBLANK=1 export __GL_SYNC_DISPLAY_DEVICE=`/usr/bin/dbget system.x11.display.0.device` HUDOPTS="" #XINELIBOUTPUTOPTS="--post tvtime:method=use_vo_driver --reconnect --audio=alsa --syslog --silent --tcp" XINELIBOUTPUTOPTS="--video xv --post tvtime:method=Linear,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1 --reconnect --audio=alsa --syslog --silent --tcp" CONFIG="--config /etc/vdr-sxfe/config_xineliboutput" exec /usr/bin/vdr-sxfe $HUDOPTS $XINELIBOUTPUTOPTS $CONFIG xvdr://127.0.0.1:37890 end script