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