|
a/src/mediaserver/contentdirectory.cxx |
|
b/src/mediaserver/contentdirectory.cxx |
|
... |
|
... |
256 |
// If enabled is not set, no service is locally enabled, we are
|
256 |
// If enabled is not set, no service is locally enabled, we are
|
257 |
// working for ohcredentials. Explicitely start the microhttpd
|
257 |
// working for ohcredentials. Explicitely start the microhttpd
|
258 |
// daemon in this case, as we'll need it before any plugin is
|
258 |
// daemon in this case, as we'll need it before any plugin is
|
259 |
// created.
|
259 |
// created.
|
260 |
if (!enabled) {
|
260 |
if (!enabled) {
|
261 |
PlgWithSlave::maybeStartMHD(this->service);
|
261 |
PlgWithSlave::maybeStartProxy(this->service);
|
262 |
}
|
262 |
}
|
263 |
for (auto& entry : rootdir) {
|
263 |
for (auto& entry : rootdir) {
|
264 |
string app = appForId(entry.id);
|
264 |
string app = appForId(entry.id);
|
265 |
string sas;
|
265 |
string sas;
|
266 |
if (g_config->get(app + "autostart", sas) && stringToBool(sas)) {
|
266 |
if (g_config->get(app + "autostart", sas) && stringToBool(sas)) {
|