Increase max-per-add to 10000
This commit is contained in:
2
README
2
README
@@ -359,7 +359,7 @@ mpdPoll=<Boolean>
|
||||
mpdListSize=<Integer>
|
||||
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]
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user