From a035648dd928453ea0efbb7d1dc3482003993d5d Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Mon, 30 Dec 2013 12:14:49 +0000 Subject: [PATCH] Increase max-per-add to 10000 --- README | 2 +- gui/settings.cpp | 2 +- mpd/mpdconnection.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 78d4330c1..6f74484bd 100644 --- a/README +++ b/README @@ -359,7 +359,7 @@ mpdPoll= mpdListSize= This config controls the maximum number of files sent in 1 chunk of an "add" command when adding files to the playqueue. - Default is 2000. (Values 100..65535 are acceptable) + Default is 10000. (Values 100..65535 are acceptable) e.g. [General] diff --git a/gui/settings.cpp b/gui/settings.cpp index f1a8f797a..ade280aeb 100644 --- a/gui/settings.cpp +++ b/gui/settings.cpp @@ -847,7 +847,7 @@ bool Settings::mpdPoll() int Settings::mpdListSize() { - int v=GET_INT("mpdListSize", 2000); + int v=GET_INT("mpdListSize", 10000); return RESTRICT(v, 100, 65535); } diff --git a/mpd/mpdconnection.cpp b/mpd/mpdconnection.cpp index 2b4e3255c..313d5bafc 100644 --- a/mpd/mpdconnection.cpp +++ b/mpd/mpdconnection.cpp @@ -52,7 +52,7 @@ void MPDConnection::enableDebug() static const int constSocketCommsTimeout=2000; static const int constMaxReadAttempts=4; -static int maxFilesPerAddCommand=2000; +static int maxFilesPerAddCommand=10000; #ifdef ENABLE_KDE_SUPPORT K_GLOBAL_STATIC(MPDConnection, conn)