MythTV
master
|
#include <libmythtv/channelscan/channelscanner.h>
Public Member Functions | |
ChannelScanner ()=default | |
virtual | ~ChannelScanner () |
void | Scan (int scantype, uint cardid, const QString &inputname, uint sourceid, bool do_ignore_signal_timeout, bool do_follow_nit, bool do_test_decryption, bool do_fta_only, bool do_lcn_only, bool do_complete_only, bool do_full_channel_search, bool do_remove_duplicates, bool do_add_full_ts, ServiceRequirements service_requirements, uint mplexid, const QMap< QString, QString > &startChan, const QString &freq_std, const QString &mod, const QString &tbl, const QString &tbl_start=QString(), const QString &tbl_end=QString()) |
virtual DTVConfParser::return_t | ImportDVBUtils (uint sourceid, CardUtil::INPUT_TYPES cardtype, const QString &file) |
virtual bool | ImportM3U (uint cardid, const QString &inputname, uint sourceid, bool is_mpts) |
virtual bool | ImportVBox (uint cardid, const QString &inputname, uint sourceid, bool ftaOnly, ServiceRequirements serviceType) |
virtual bool | ImportExternRecorder (uint cardid, const QString &inputname, uint sourceid) |
virtual bool | ImportHDHR (uint cardid, const QString &inputname, uint sourceid, ServiceRequirements serviceType) |
Protected Member Functions | |
virtual void | Teardown (void) |
virtual void | PreScanCommon (int scantype, uint cardid, const QString &inputname, uint sourceid, bool do_ignore_signal_timeout, bool do_test_decryption) |
virtual void | MonitorProgress (bool, bool, bool, bool) |
virtual void | HandleEvent (const ScannerEvent *)=0 |
virtual void | InformUser (const QString &)=0 |
Protected Attributes | |
ScanMonitor * | m_scanMonitor {nullptr} |
ChannelBase * | m_channel {nullptr} |
ChannelScanSM * | m_sigmonScanner {nullptr} |
IPTVChannelFetcher * | m_iptvScanner {nullptr} |
DTVChannelList | m_channels |
imported channels More... | |
fbox_chan_map_t | m_iptvChannels |
HDHRChannelFetcher * | m_hdhrScanner {nullptr} |
bool | m_freeToAirOnly {false} |
Only fta channels desired post scan? More... | |
bool | m_channelNumbersOnly {false} |
Only channels with logical channel numbers desired post scan? More... | |
bool | m_completeOnly {false} |
Only complete channels desired post scan? More... | |
bool | m_fullSearch {false} |
Extended search for old channels post scan? More... | |
bool | m_removeDuplicates {false} |
Remove duplicate transports and channels? More... | |
bool | m_addFullTS {false} |
Add MPTS "full transport stream" channels. More... | |
int | m_sourceid {-1} |
ServiceRequirements | m_serviceRequirements {kRequireAV} |
Services desired post scan. More... | |
Friends | |
class | ScanMonitor |
Definition at line 67 of file channelscanner.h.
|
default |
|
virtual |
Definition at line 54 of file channelscanner.cpp.
void ChannelScanner::Scan | ( | int | scantype, |
uint | cardid, | ||
const QString & | inputname, | ||
uint | sourceid, | ||
bool | do_ignore_signal_timeout, | ||
bool | do_follow_nit, | ||
bool | do_test_decryption, | ||
bool | do_fta_only, | ||
bool | do_lcn_only, | ||
bool | do_complete_only, | ||
bool | do_full_channel_search, | ||
bool | do_remove_duplicates, | ||
bool | do_add_full_ts, | ||
ServiceRequirements | service_requirements, | ||
uint | mplexid, | ||
const QMap< QString, QString > & | startChan, | ||
const QString & | freq_std, | ||
const QString & | mod, | ||
const QString & | tbl, | ||
const QString & | tbl_start = QString() , |
||
const QString & | tbl_end = QString() |
||
) |
Definition at line 111 of file channelscanner.cpp.
Referenced by main(), ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 295 of file channelscanner.cpp.
Referenced by ScanWizard::Scan().
|
virtual |
Definition at line 353 of file channelscanner.cpp.
Referenced by main(), ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 377 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 401 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 426 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
protectedvirtual |
Definition at line 65 of file channelscanner.cpp.
Referenced by ChannelScannerGUI::deleteLater(), ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), Scan(), ~ChannelScanner(), and ChannelScannerGUI::~ChannelScannerGUI().
|
protectedvirtual |
Definition at line 449 of file channelscanner.cpp.
Referenced by Scan().
Reimplemented in ChannelScannerWeb, ChannelScannerGUI, and ChannelScannerCLI.
Definition at line 121 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), and PreScanCommon().
|
protectedpure virtual |
Implemented in ChannelScannerGUI, ChannelScannerWeb, and ChannelScannerCLI.
Referenced by ScanMonitor::customEvent().
|
protectedpure virtual |
Implemented in ChannelScannerWeb, ChannelScannerGUI, and ChannelScannerCLI.
Referenced by ImportDVBUtils(), PreScanCommon(), and Scan().
|
friend |
Definition at line 71 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), PreScanCommon(), and ChannelScannerWeb::setupScan().
|
protected |
Definition at line 128 of file channelscanner.h.
Referenced by ChannelScannerGUI::HandleEvent(), ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), ChannelScannerCLI::InformUser(), PreScanCommon(), ChannelScannerGUI::quitScanning(), Scan(), ChannelScannerWeb::setupScan(), ChannelScannerWeb::StartScan(), ChannelScannerWeb::stopMon(), ChannelScannerWeb::stopScan(), Teardown(), ~ChannelScanner(), and ChannelScannerGUI::~ChannelScannerGUI().
|
protected |
Definition at line 129 of file channelscanner.h.
Referenced by PreScanCommon(), and Teardown().
|
protected |
Definition at line 132 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), PreScanCommon(), Scan(), and Teardown().
|
protected |
Definition at line 133 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), ImportM3U(), and Teardown().
|
protected |
imported channels
Definition at line 136 of file channelscanner.h.
Referenced by ImportDVBUtils(), and Scan().
|
protected |
Definition at line 137 of file channelscanner.h.
Referenced by ImportM3U(), and Scan().
|
protected |
Definition at line 148 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), and ImportHDHR().
Only fta channels desired post scan?
Definition at line 152 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Only channels with logical channel numbers desired post scan?
Definition at line 155 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Only complete channels desired post scan?
Definition at line 158 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Extended search for old channels post scan?
Definition at line 161 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Remove duplicate transports and channels?
Definition at line 164 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Add MPTS "full transport stream" channels.
Definition at line 167 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Definition at line 169 of file channelscanner.h.
Referenced by ImportDVBUtils(), ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Services desired post scan.
Definition at line 172 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().