aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-notification.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-10-07 14:50:32 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-10-07 14:56:31 +0200
commitc5cb165178d4d3dd5e59d43bb903e2cc48a55ca6 (patch)
treee2cd124aa95ee98fe545c880048a62c965652e5b /mpd-notification.c
parent1d81f87dd158974354f0e29f9c84e088d311c2af (diff)
downloadmpd-notification-c5cb165178d4d3dd5e59d43bb903e2cc48a55ca6.tar.gz
mpd-notification-c5cb165178d4d3dd5e59d43bb903e2cc48a55ca6.tar.zst
allow option 'oneline' in config file
Diffstat (limited to 'mpd-notification.c')
-rw-r--r--mpd-notification.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mpd-notification.c b/mpd-notification.c
index 3022d7c..b35396a 100644
--- a/mpd-notification.c
+++ b/mpd-notification.c
@@ -227,8 +227,9 @@ int main(int argc, char ** argv) {
file_workaround = iniparser_getboolean(ini, ":notification-file-workaround", file_workaround);
mpd_host = iniparser_getstring(ini, ":host", mpd_host);
mpd_port = iniparser_getint(ini, ":port", mpd_port);
- notification_timeout = iniparser_getint(ini, ":timeout", notification_timeout);
music_dir = iniparser_getstring(ini, ":music-dir", music_dir);
+ notification_timeout = iniparser_getint(ini, ":timeout", notification_timeout);
+ oneline = iniparser_getboolean(ini, ":oneline", oneline);
scale = iniparser_getint(ini, ":scale", scale);
}