#Thanks to Dennis "dweazle" Krul for the bash-magic
if [[ $(pidof -s totem) -gt 0 ]]
then
	totem --print-playing
else
	echo 0
fi

exit 0
