--- a/src/upmpdcli.conf
+++ b/src/upmpdcli.conf
@@ -46,6 +46,16 @@
 # started as root
 # cachedir = /var/lib/upmpdcli
 
+# Run a command when playback is about to begin. Specify the full path to the
+# program, e.g. /usr/bin/logger. Executable scripts work, but must have a
+# #!/bin/sh (or whatever) in the headline.
+# onstart =
+
+# Run a command when playback is about to end. Specify the full path to the
+# program, e.g. /usr/bin/logger. Executable scripts work, but must have a
+# #!/bin/sh (or whatever) in the headline.
+# onstop =
+
 # Mimimum interval (Seconds) between 2 saves of the cache. Setting this may
 # improve playlist load speed on a slow device. The default is to start a
 # new save as soon as the previous one is done (if the list changed again