mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
Merge branch 'uncool/dvbsi++' commit 'dc95ffa37c6'
...needs buildfixing... Conflicts: data/icons/shutdown.jpg data/icons/start.jpg lib/libtuxtxt/tuxtxt.h src/driver/Makefile.am src/driver/audiodec/Makefile.am src/driver/framebuffer.cpp src/driver/record.cpp src/driver/volume.cpp src/gui/audio_setup.cpp src/gui/audioplayer.cpp src/gui/epgview.cpp src/gui/eventlist.cpp src/gui/filebrowser.cpp src/gui/infoviewer.cpp src/gui/keybind_setup.cpp src/gui/miscsettings_menu.cpp src/gui/movieplayer.cpp src/gui/osd_setup.cpp src/gui/scan.cpp src/gui/scan_setup.cpp src/gui/streaminfo2.cpp src/gui/update.cpp src/gui/videosettings.cpp src/gui/widget/menue.cpp src/neutrino.cpp src/neutrino_menue.cpp src/system/Makefile.am src/system/configure_network.cpp src/system/httptool.cpp src/system/setting_helpers.cpp src/timerd/timermanager.cpp src/zapit/include/zapit/frontend_c.h src/zapit/src/Makefile.am src/zapit/src/capmt.cpp src/zapit/src/frontend.cpp src/zapit/src/zapit.cpp
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <gui/scan.h>
|
||||
#include "gui/scan_setup.h"
|
||||
#include <gui/scan_setup.h>
|
||||
|
||||
#include <driver/rcinput.h>
|
||||
#include <driver/screen_max.h>
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <gui/widget/progressbar.h>
|
||||
|
||||
#include <system/settings.h>
|
||||
#include <system/safe_system.h>
|
||||
#include <system/helpers.h>
|
||||
|
||||
#include <global.h>
|
||||
#include <neutrino.h>
|
||||
@@ -167,6 +167,8 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
scan_flags |= CServiceScan::SCAN_RESET_NUMBERS;
|
||||
if(scansettings.scan_logical_numbers)
|
||||
scan_flags |= CServiceScan::SCAN_LOGICAL_NUMBERS;
|
||||
if(scansettings.scan_logical_hd)
|
||||
scan_flags |= CServiceScan::SCAN_LOGICAL_HD;
|
||||
|
||||
/* channel types to scan, TV/RADIO/ALL */
|
||||
scan_flags |= scansettings.scanType;
|
||||
@@ -253,14 +255,14 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
}
|
||||
else if(manual || !scan_all) {
|
||||
sat.position = CServiceManager::getInstance()->GetSatellitePosition(scansettings.satNameNoDiseqc);
|
||||
strncpy(sat.satName, scansettings.satNameNoDiseqc, 50);
|
||||
strncpy(sat.satName, scansettings.satNameNoDiseqc, 49);
|
||||
satList.push_back(sat);
|
||||
} else {
|
||||
satellite_map_t & satmap = CServiceManager::getInstance()->SatelliteList();
|
||||
for(sit = satmap.begin(); sit != satmap.end(); ++sit) {
|
||||
if(sit->second.use_in_scan) {
|
||||
sat.position = sit->first;
|
||||
strncpy(sat.satName, sit->second.name.c_str(), 50);
|
||||
strncpy(sat.satName, sit->second.name.c_str(), 49);
|
||||
satList.push_back(sat);
|
||||
}
|
||||
}
|
||||
@@ -269,7 +271,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
|
||||
if(!manual) {
|
||||
g_RCInput->close_click();
|
||||
if (safe_system(NEUTRINO_SCAN_START_SCRIPT) != 0)
|
||||
if (my_system(NEUTRINO_SCAN_START_SCRIPT) != 0)
|
||||
perror(NEUTRINO_SCAN_START_SCRIPT " failed");
|
||||
}
|
||||
|
||||
@@ -334,7 +336,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
|
||||
g_Zapit->stopScan();
|
||||
|
||||
if(!manual) {
|
||||
if (safe_system(NEUTRINO_SCAN_STOP_SCRIPT) != 0)
|
||||
if (my_system(NEUTRINO_SCAN_STOP_SCRIPT) != 0)
|
||||
perror(NEUTRINO_SCAN_STOP_SCRIPT " failed");
|
||||
g_RCInput->open_click();
|
||||
}
|
||||
|
Reference in New Issue
Block a user