|
a/src/main.cxx |
|
b/src/main.cxx |
|
... |
|
... |
351 |
if (g_config->get("schttpport", value))
|
351 |
if (g_config->get("schttpport", value))
|
352 |
opts.schttpport = atoi(value.c_str());
|
352 |
opts.schttpport = atoi(value.c_str());
|
353 |
g_config->get("scplaymethod", opts.scplaymethod);
|
353 |
g_config->get("scplaymethod", opts.scplaymethod);
|
354 |
g_config->get("sc2mpd", sc2mpdpath);
|
354 |
g_config->get("sc2mpd", sc2mpdpath);
|
355 |
g_config->get("screceiverstatefile", screceiverstatefile);
|
355 |
g_config->get("screceiverstatefile", screceiverstatefile);
|
|
|
356 |
if (g_config->get("scnosongcastsource", value)) {
|
|
|
357 |
// If option is specified and 1, set nocheck flag
|
|
|
358 |
if (atoi(value.c_str()) == 1) {
|
|
|
359 |
opts.options |= UpMpd::upmpdNoSongcastSource;
|
|
|
360 |
}
|
|
|
361 |
}
|
356 |
if (g_config->get("ohmetasleep", value))
|
362 |
if (g_config->get("ohmetasleep", value))
|
357 |
opts.ohmetasleep = atoi(value.c_str());
|
363 |
opts.ohmetasleep = atoi(value.c_str());
|
358 |
g_config->get("ohmanufacturername", ohProductDesc.manufacturer.name);
|
364 |
g_config->get("ohmanufacturername", ohProductDesc.manufacturer.name);
|
359 |
g_config->get("ohmanufacturerinfo", ohProductDesc.manufacturer.info);
|
365 |
g_config->get("ohmanufacturerinfo", ohProductDesc.manufacturer.info);
|
360 |
g_config->get("ohmanufacturerurl", ohProductDesc.manufacturer.url);
|
366 |
g_config->get("ohmanufacturerurl", ohProductDesc.manufacturer.url);
|