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 |
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 69 of file channelscanner.h.
|
default |
|
virtual |
Definition at line 55 of file channelscanner.cpp.
|
protectedpure virtual |
Implemented in ChannelScannerGUI, ChannelScannerWeb, and ChannelScannerCLI.
Referenced by ScanMonitor::customEvent().
|
virtual |
Definition at line 296 of file channelscanner.cpp.
Referenced by ScanWizard::Scan().
|
virtual |
Definition at line 402 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 427 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 354 of file channelscanner.cpp.
Referenced by main(), ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
virtual |
Definition at line 378 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
protectedpure virtual |
Implemented in ChannelScannerWeb, ChannelScannerGUI, and ChannelScannerCLI.
Referenced by ImportDVBUtils(), PreScanCommon(), and Scan().
Reimplemented in ChannelScannerWeb, ChannelScannerGUI, and ChannelScannerCLI.
Definition at line 123 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), and PreScanCommon().
|
protectedvirtual |
Definition at line 450 of file channelscanner.cpp.
Referenced by Scan().
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 112 of file channelscanner.cpp.
Referenced by main(), ScanWizard::Scan(), and ChannelScannerWeb::StartScan().
|
protectedvirtual |
Definition at line 66 of file channelscanner.cpp.
Referenced by ChannelScannerGUI::deleteLater(), ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), Scan(), ~ChannelScanner(), and ChannelScannerGUI::~ChannelScannerGUI().
|
friend |
Definition at line 73 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), PreScanCommon(), and ChannelScannerWeb::setupScan().
Add MPTS "full transport stream" channels.
Definition at line 169 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Definition at line 131 of file channelscanner.h.
Referenced by PreScanCommon(), and Teardown().
Only channels with logical channel numbers desired post scan?
Definition at line 157 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
imported channels
Definition at line 138 of file channelscanner.h.
Referenced by ImportDVBUtils(), and Scan().
Only complete channels desired post scan?
Definition at line 160 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
Only fta channels desired post scan?
Definition at line 154 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 163 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Definition at line 139 of file channelscanner.h.
Referenced by ImportM3U(), and Scan().
|
protected |
Definition at line 135 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), ImportM3U(), and Teardown().
Remove duplicate transports and channels?
Definition at line 166 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Definition at line 130 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 |
Services desired post scan.
Definition at line 174 of file channelscanner.h.
Referenced by ChannelScannerWeb::HandleEvent(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().
|
protected |
Definition at line 134 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerWeb::HandleEvent(), ChannelScannerGUI::HandleEvent(), PreScanCommon(), Scan(), and Teardown().
|
protected |
Definition at line 171 of file channelscanner.h.
Referenced by ImportDVBUtils(), ImportExternRecorder(), ImportHDHR(), ImportM3U(), ImportVBox(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), ChannelScannerWeb::Process(), Scan(), and ChannelScannerWeb::StartScan().