From 1198af221ec2d804d9ff840a9dcd5e770fb3d13a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 21:35:06 +0200 Subject: screen_browser: added hotkey for adding song CMD_ADD ('a') appends a song to the playlist, no matter if it is already there, i.e. unlike CMD_SELECT, it does not toggle the song. --- src/screen_browser.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/screen_browser.h') diff --git a/src/screen_browser.h b/src/screen_browser.h index 1b7c70608..5441f41c7 100644 --- a/src/screen_browser.h +++ b/src/screen_browser.h @@ -48,6 +48,9 @@ const char *browser_lw_callback(unsigned index, int *highlight, void *filelist); int browser_handle_select(struct screen_browser *browser, mpdclient_t *c); +int +browser_handle_add(struct screen_browser *browser, mpdclient_t *c); + void browser_handle_select_all(struct screen_browser *browser, mpdclient_t *c); -- cgit v1.2.3