#!/bin/bash

# failover starten
# mplayer starten im Vollbildmodus und playlist endlos abspielen
DISPLAY=:0.0 mplayer -fs -nosound -playlist ~/Videos/playlist -loop 0 & mplayer_pid=$!

# schreibt die PID von mplayer in untenstehendes File zur Verwendugn in Monit
echo $mplayer_pid > /tmp/mplayer.pid

exit 0
