diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 82f6840d3..bbe465449 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1894,6 +1894,9 @@ TIMER_START(); /* create decoders, read channels */ bool zapit_init = CZapit::getInstance()->Start(&ZapStart_arg); + //get zapit config for writeChannelsNames + CZapit::getInstance()->GetConfig(zapitCfg); + // init audio settings audioDecoder->SetSRS(g_settings.srs_enable, g_settings.srs_nmgr_enable, g_settings.srs_algo, g_settings.srs_ref_volume); //audioDecoder->setVolume(g_settings.current_volume, g_settings.current_volume); diff --git a/src/zapit/src/channel.cpp b/src/zapit/src/channel.cpp index 588588d69..f1c23c461 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -351,26 +351,25 @@ void CZapitChannel::dumpServiceXml(FILE * fd, const char * action) void CZapitChannel::dumpBouquetXml(FILE * fd, bool bUser) { - // TODO : gui->manage configuration: write names (if nessessary or wanted) + // TODO : gui->manage configuration: writeChannelsNames (if nessessary or wanted) in zapit.conf // menu > installation > Servicesscan > under 'Bouquet' => "Write DVB-names in bouquets:" f.e. =>0=never 1=ubouquets 2=bouquets 3=both int write_names = zapitCfg.writeChannelsNames; fprintf(fd, "\t\t