diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-15 13:10:54 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-15 13:10:54 +0000 |
commit | a8baf3be0cbdb33d48df4e704ca2f1cb0b77f93b (patch) | |
tree | 4453a83e1015fd6ff431f7ec6903e8ff7517415c /src/ncmpc.h | |
parent | 4800010b0422f05c31db877011a0f62d992740e2 (diff) | |
download | mpd-a8baf3be0cbdb33d48df4e704ca2f1cb0b77f93b.tar.gz mpd-a8baf3be0cbdb33d48df4e704ca2f1cb0b77f93b.tar.xz mpd-a8baf3be0cbdb33d48df4e704ca2f1cb0b77f93b.zip |
Added list-format and status-format conf options
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1496 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/ncmpc.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ncmpc.h b/src/ncmpc.h index 6bbb745fb..64160531f 100644 --- a/src/ncmpc.h +++ b/src/ncmpc.h @@ -23,6 +23,9 @@ #define N_(x) x #endif +#define YES _("y") +#define NO _("n") + /* welcome message time [s] */ #define SCREEN_WELCOME_TIME 10 @@ -33,12 +36,14 @@ #define MPD_UPDATE_TIME 0.5 /* time in milliseconds before trying to reconnect (int) */ -#define MPD_RECONNECT_TIME 1000 +#define MPD_RECONNECT_TIME 1500 /* song format - list window */ -#define LIST_FORMAT "%name%|[%artist% - ]%title%|%file%" +#define DEFAULT_LIST_FORMAT "%name%|[%artist% - ]%title%|%file%" +#define LIST_FORMAT (options.list_format ? options.list_format : DEFAULT_LIST_FORMAT) /* song format - status window */ -#define STATUS_FORMAT "[%artist% - ]%title%|%basename%" +#define DEFAULT_STATUS_FORMAT "[%artist% - ]%title%|%basename%" +#define STATUS_FORMAT (options.status_format ? options.status_format : DEFAULT_STATUS_FORMAT) #endif /* NCMPC_H */ |