aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--mpd-notification.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index b2ca73b..3cdd266 100644
--- a/README.md
+++ b/README.md
@@ -81,6 +81,7 @@ look like this:
host = localhost
port = 6600
music-dir = /srv/media/music/
+ oneline = true
scale = 200
timeout = 20
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);
}