Usage tips
Coexisting with another video player
This is a handy bash function which may be used to pause currently playing music while watching a video.
mplayer() {
perhaps_playing=$(djc status | awk '/^state/ {print $3}')
[ "$perhaps_playing" == "play" ] && djc playtoggle
/usr/bin/mplayer $*
[ "$perhaps_playing" == "play" ] && djc volume 25 && djc playtoggle
}
Lauching the X server
Having deejayd be both launched at boot and communicate with the X server can be tricky. Setting up a standalone X display server may be an option. This setup may hopefully be available more easily in the deejayd distro packaging, and is pending integration in the Debian distribution.
