|
a/src/upmpdutils.cxx |
|
b/src/upmpdutils.cxx |
|
... |
|
... |
51 |
#include "libupnpp/upnpavutils.hxx"
|
51 |
#include "libupnpp/upnpavutils.hxx"
|
52 |
#include "libupnpp/control/cdircontent.hxx"
|
52 |
#include "libupnpp/control/cdircontent.hxx"
|
53 |
|
53 |
|
54 |
#include "mpdcli.hxx"
|
54 |
#include "mpdcli.hxx"
|
55 |
#include "smallut.h"
|
55 |
#include "smallut.h"
|
56 |
|
56 |
#include "conftree.h"
|
57 |
|
57 |
|
58 |
using namespace std;
|
58 |
using namespace std;
|
59 |
using namespace UPnPP;
|
59 |
using namespace UPnPP;
|
60 |
using namespace UPnPClient;
|
60 |
using namespace UPnPClient;
|
61 |
|
61 |
|
|
... |
|
... |
393 |
return false;
|
393 |
return false;
|
394 |
}
|
394 |
}
|
395 |
}
|
395 |
}
|
396 |
return true;
|
396 |
return true;
|
397 |
}
|
397 |
}
|
|
|
398 |
|
|
|
399 |
bool configBool(ConfSimple *conf, const std::string& nm)
|
|
|
400 |
{
|
|
|
401 |
string val;
|
|
|
402 |
if (conf && conf->get(nm, val)) {
|
|
|
403 |
return stringToBool(val);
|
|
|
404 |
}
|
|
|
405 |
return false;
|
|
|
406 |
}
|