From 44620c6c72bb91c0026ab768c36d4bedb7976df2 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 19 Jun 2008 20:42:30 +0200 Subject: client: Improve key-binding help --- src/main.c | 10 +++++++++- src/pianobar.1 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3