X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/62416f14c03628e3ed3073a9ef38a4d97281d9e0..533272be9795de994b1bc3280315364f48a32dd1:/lib/configuration.c diff --git a/lib/configuration.c b/lib/configuration.c index 98d672b..a4f8b0c 100644 --- a/lib/configuration.c +++ b/lib/configuration.c @@ -1100,6 +1100,7 @@ static const struct conf conf[] = { { C(prefsync), &type_integer, validate_positive }, { C(queue_pad), &type_integer, validate_positive }, { C(refresh), &type_integer, validate_positive }, + { C(refresh_min), &type_integer, validate_non_negative }, { C(reminder_interval), &type_integer, validate_positive }, { C(remote_userman), &type_boolean, validate_any }, { C(replay_min), &type_integer, validate_non_negative }, @@ -1337,6 +1338,7 @@ static struct config *config_default(void) { logname = pw->pw_name; c->username = xstrdup(logname); c->refresh = 15; + c->refresh_min = 1; c->prefsync = 0; c->signal = SIGKILL; c->alias = xstrdup("{/artist}{/album}{/title}{ext}");