diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-08-10 10:36:03 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-08-10 10:40:50 +0200 |
commit | 3a196f51581ffca2d2a902e83a9b69ac4702316c (patch) | |
tree | e19c3474e46ab4da4c9f08a24f0082cc3290c7e8 /src/ui_dispatch.h | |
parent | bf814cabd1e9913d6153b65f97ad851be3da9b29 (diff) | |
download | pianobar-3a196f51581ffca2d2a902e83a9b69ac4702316c.tar.gz pianobar-3a196f51581ffca2d2a902e83a9b69ac4702316c.tar.bz2 pianobar-3a196f51581ffca2d2a902e83a9b69ac4702316c.zip |
Add feature to change Pandora settings
Currently exposed settings: Username, password and explicit content
filter. New key for settings is ‘!’, changeable with “act_settings”.
Fixes issues #524 and #506.
Diffstat (limited to 'src/ui_dispatch.h')
-rw-r--r-- | src/ui_dispatch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h index df64997..24b68bb 100644 --- a/src/ui_dispatch.h +++ b/src/ui_dispatch.h @@ -103,6 +103,8 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = { "act_songpause"}, {'^', BAR_DC_GLOBAL, BarUiActVolReset, "reset volume", "act_volreset"}, + {'!', BAR_DC_GLOBAL, BarUiActSettings, "change settings", + "act_settings"}, }; #include <piano.h> |