summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-19 20:42:30 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-06-19 20:42:30 +0200
commit44620c6c72bb91c0026ab768c36d4bedb7976df2 (patch)
tree2a3fb7e4be99fee9510e37fabc844639030fd668 /src
parentf6e8245458cb0d32609b64c37e1d0e3ab7d8b741 (diff)
downloadpianobar-44620c6c72bb91c0026ab768c36d4bedb7976df2.tar.gz
pianobar-44620c6c72bb91c0026ab768c36d4bedb7976df2.tar.bz2
pianobar-44620c6c72bb91c0026ab768c36d4bedb7976df2.zip
client: Improve key-binding help
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
-rw-r--r--src/pianobar.145
2 files changed, 54 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c70a6e7..3086049 100644
--- a/src/main.c
+++ b/src/main.c
@@ -383,7 +383,15 @@ int main (int argc, char **argv) {
read (fileno (stdin), &buf, sizeof (buf));
switch (buf) {
case '?':
- printf ("n\tnext track\nq\tquit\ns\tchange station\n");
+ printf ("a\tadd music to current station\n"
+ "b\tban current song\n"
+ "c\tcreate new station\n"
+ "d\tdelete current station\n"
+ "l\tlove current song\n"
+ "n\tnext song\n"
+ "q\tquit\n"
+ "r\trename current station\n"
+ "s\tchange station\n");
break;
case 'a':
diff --git a/src/pianobar.1 b/src/pianobar.1
index 0b1d4f5..b3cb227 100644
--- a/src/pianobar.1
+++ b/src/pianobar.1
@@ -13,6 +13,51 @@ pandora.com. Currently
.B pianobar
is alpha stage software and neither stable nor complete.
+.SH USAGE
+Press one of those keys while running
+.B pianobar.
+
+.TP
+.B a
+Add more music to current station. You will be asked for a search string. Just
+follow the instructions.
+
+.TP
+.B b
+Ban current track. It will not be played again and can only removed using the
+pandora.com web interface.
+
+.TP
+.B c
+Create new station. You have to enter a search string and select the song or
+artist of your choice.
+
+.TP
+.B d
+Delete current station.
+
+.TP
+.B l
+Love currently played song.
+
+.TP
+.B n
+Skip current song. Please be patient.
+
+.TP
+.B q
+Quit
+.B pianobar.
+Be patient and wait a few seconds.
+
+.TP
+.B r
+Rename currently played station.
+
+.TP
+.B s
+Play another station.
+
.SH FILES
.I $XDG_CONFIG_HOME/pianobar/config
or