Add onstart/onstop config option

The onstart and onstop options can be set in the configuration file to run a
command when the audio playback is about to begin or has ended.

The full path for the command has to be specified, e.g. '/usr/bin/logger'.

Executable scripts must begin with a shebang, e.g. '#!/bin/sh'.

Signed-off-by: Jörg Krause joerg.krause@embedded.rocks

Jörg Krause Jörg Krause 2015-05-19

changed src/mpdcli.cxx
changed src/mpdcli.hxx
changed src/upmpd.cxx
changed src/upmpdcli.conf
src/mpdcli.cxx Diff Switch to side-by-side view
Loading...
src/mpdcli.hxx Diff Switch to side-by-side view
Loading...
src/upmpd.cxx Diff Switch to side-by-side view
Loading...
src/upmpdcli.conf Diff Switch to side-by-side view
Loading...