MythTV
master
|
#include <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, int 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) |
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 62 of file channelscanner.h.
|
default |
|
virtual |
Definition at line 52 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 109 of file channelscanner.cpp.
Referenced by main(), and ScanWizard::Scan().
|
virtual |
Definition at line 292 of file channelscanner.cpp.
Referenced by ScanWizard::Scan().
|
virtual |
Definition at line 333 of file channelscanner.cpp.
Referenced by main(), and ScanWizard::Scan().
|
virtual |
Definition at line 357 of file channelscanner.cpp.
Referenced by ScanWizard::Scan().
|
virtual |
Definition at line 380 of file channelscanner.cpp.
Referenced by ScanWizard::Scan(), and Scan().
|
protectedvirtual |
Definition at line 63 of file channelscanner.cpp.
Referenced by ChannelScannerGUI::deleteLater(), ChannelScannerCLI::HandleEvent(), ChannelScannerGUI::HandleEvent(), Scan(), ~ChannelScanner(), and ChannelScannerGUI::~ChannelScannerGUI().
|
protectedvirtual |
Definition at line 407 of file channelscanner.cpp.
Referenced by Scan().
Reimplemented in ChannelScannerGUI, and ChannelScannerCLI.
Definition at line 114 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportM3U(), ImportVBox(), and PreScanCommon().
|
protectedpure virtual |
Implemented in ChannelScannerGUI, and ChannelScannerCLI.
Referenced by ScanMonitor::customEvent().
|
protectedpure virtual |
Implemented in ChannelScannerGUI, and ChannelScannerCLI.
Referenced by ImportDVBUtils(), PreScanCommon(), and Scan().
|
friend |
Definition at line 66 of file channelscanner.h.
Referenced by ImportExternRecorder(), ImportM3U(), ImportVBox(), and PreScanCommon().
|
protected |
Definition at line 121 of file channelscanner.h.
Referenced by ChannelScannerGUI::HandleEvent(), ImportExternRecorder(), ImportM3U(), ImportVBox(), ChannelScannerCLI::InformUser(), PreScanCommon(), ChannelScannerGUI::quitScanning(), Scan(), Teardown(), ~ChannelScanner(), and ChannelScannerGUI::~ChannelScannerGUI().
|
protected |
Definition at line 122 of file channelscanner.h.
Referenced by PreScanCommon(), and Teardown().
|
protected |
Definition at line 125 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerGUI::HandleEvent(), PreScanCommon(), Scan(), and Teardown().
|
protected |
Definition at line 126 of file channelscanner.h.
Referenced by ChannelScannerGUI::HandleEvent(), ImportM3U(), and Teardown().
|
protected |
imported channels
Definition at line 129 of file channelscanner.h.
Referenced by ImportDVBUtils(), and Scan().
|
protected |
Definition at line 130 of file channelscanner.h.
Referenced by ImportM3U(), and Scan().
Only fta channels desired post scan?
Definition at line 141 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
Only channels with logical channel numbers desired post scan?
Definition at line 144 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
Only complete channels desired post scan?
Definition at line 147 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
Extended search for old channels post scan?
Definition at line 150 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
Remove duplicate transports and channels?
Definition at line 153 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
Add MPTS "full transport stream" channels.
Definition at line 156 of file channelscanner.h.
Referenced by ChannelScannerCLI::HandleEvent(), ChannelScannerGUI::HandleEvent(), and Scan().
|
protected |
Definition at line 158 of file channelscanner.h.
Referenced by ImportDVBUtils(), ImportExternRecorder(), ImportM3U(), ImportVBox(), ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().
|
protected |
Services desired post scan.
Definition at line 161 of file channelscanner.h.
Referenced by ChannelScannerCLI::Process(), ChannelScannerGUI::Process(), and Scan().