summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-03-01 12:07:57 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-03-01 12:07:57 +0100
commit859d2c1cb12f8752fb416eb275ef8282cff10ea4 (patch)
treef9b09b58ef7a68bbf58e84f50353f9596f5d9824
parent6805c071a9a658d7c4731e414c27610af4084e55 (diff)
downloadpianobar-859d2c1cb12f8752fb416eb275ef8282cff10ea4.tar.gz
pianobar-859d2c1cb12f8752fb416eb275ef8282cff10ea4.tar.bz2
pianobar-859d2c1cb12f8752fb416eb275ef8282cff10ea4.zip
manpage: Add section eventcmd
-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>