summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pianobar.122
1 files changed, 20 insertions, 2 deletions
diff --git a/src/pianobar.1 b/src/pianobar.1
index 6112bce..ffd6d1c 100644
--- a/src/pianobar.1
+++ b/src/pianobar.1
@@ -137,8 +137,8 @@ will use this proxy. The music is streamed directly.
.TP
.B event_command = path
-File that is executed when event occurs. The file is called with the event type
-as it's first argument. More information is supplied through stdin.
+File that is executed when event occurs. See section
+.B EVENTCMD
.TP
.B history = 5
@@ -191,5 +191,23 @@ Another example:
echo -ne 'n\\x1a' | nc -q 0 127.0.0.1 12345
+.SH EVENTCMD
+
+.B pianobar
+can report certain "events" to an external application (see
+.B CONFIGURATION
+). This application is started with the event name as it's first argument. More
+information (artist, title, album, stationName, error code, error description)
+is supplied through stdin.
+
+Currently supported events are: artistbookmark, songban, songbookmark,
+songexplain, songlove, songmove, songshelf, songstart, stationaddmusic,
+stationaddshared, stationcreate, stationdelete, stationfetchplaylist,
+stationquickmixtoggle, stationrename
+
+An example script can be found in the contrib/ directory of
+.B pianobar's
+source distribution.
+
.SH AUTHOR
Lars-Dominik Braun <PromyLOPh@lavabit.com>