Always use lsinfo
This commit is contained in:
committed by
Craig Drummond
parent
5b794ad02b
commit
87cbabe13e
10
README
10
README
@@ -463,15 +463,6 @@ alwaysUseHttp=<Boolean>
|
||||
MPD version is <0.19 or not connected to 127.0.0.1).
|
||||
Default is false.
|
||||
|
||||
alwaysUseLsInfo=<Boolean>
|
||||
Versions of Cantata before 1.6 defaulted to using MPD's listallinfo
|
||||
command to retrieve the whole music collection. This can fail (especially
|
||||
with MPD 0.18.x which needs more memory), and if it does Cantata will
|
||||
fallback to calling "lsinfo <dir>" for each directory. This fallback is now
|
||||
the default from Cantata 1.6. To revert to first attempting listallinfo,
|
||||
set this config item to false.
|
||||
Default is true.
|
||||
|
||||
menu=<Integer>
|
||||
Controls usage of menubar and menu button. If set to 1 then a menubar is
|
||||
used. If set to 2 then a menu button is used. If set to 3 then both the
|
||||
@@ -509,7 +500,6 @@ volumeStep=2
|
||||
undoSteps=20
|
||||
mpdPoll=true
|
||||
mpdListSize=5000
|
||||
alwaysUseHttp=true
|
||||
alwaysUseLsInfo=false
|
||||
menu=3
|
||||
stopHttpStreamOnPause=true
|
||||
|
||||
@@ -66,7 +66,6 @@ void MPDConnection::enableDebug()
|
||||
static const int constSocketCommsTimeout=2000;
|
||||
static const int constMaxReadAttempts=4;
|
||||
static int maxFilesPerAddCommand=10000;
|
||||
static bool alwaysUseLsInfo=true;
|
||||
static int seekStep=5;
|
||||
|
||||
static const QByteArray constOkValue("OK");
|
||||
@@ -270,7 +269,6 @@ MPDConnection::MPDConnection()
|
||||
#if !defined ENABLE_UBUNTU && !defined CANTATA_WEB
|
||||
Configuration cfg;
|
||||
maxFilesPerAddCommand=cfg.get("mpdListSize", 10000, 100, 65535);
|
||||
alwaysUseLsInfo=cfg.get("alwaysUseLsInfo", true);
|
||||
seekStep=cfg.get("seekStep", 5, 2, 60);
|
||||
MPDParseUtils::setSingleTracksFolder(cfg.get("singleTracksFolder", QString()));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user