#!/bin/sh -e

DAEMON=/usr/bin/nowplayingd
DSMETOOL=/usr/sbin/dsmetool
DSMETOOL_PARAMETERS="-t"

if [ -x $DAEMON ]; then
	echo "Starting nowplayingd..."
	$DSMETOOL $DSMETOOL_PARAMETERS $DAEMON
fi
