MythTV
master
|
#include <libmythtv/channelscan/iptvchannelfetcher.h>
Public Member Functions | |
IPTVChannelFetcher (uint cardid, QString inputname, uint sourceid, bool is_mpts, ScanMonitor *monitor=nullptr) | |
~IPTVChannelFetcher () override | |
void | Scan (void) |
Scans the given frequency list. More... | |
void | Stop (void) |
Stops the scanning thread running. More... | |
fbox_chan_map_t | GetChannels (void) |
Static Public Member Functions | |
static QString | DownloadPlaylist (const QString &url) |
static MTV_PUBLIC fbox_chan_map_t | ParsePlaylist (const QString &rawdata, IPTVChannelFetcher *fetcher=nullptr) |
Protected Member Functions | |
void | run (void) override |
Private Member Functions | |
Q_DECLARE_TR_FUNCTIONS (IPTVChannelFetcher) | |
void | SetTotalNumChannels (uint val) |
void | SetNumChannelsParsed (uint val) |
void | SetNumChannelsInserted (uint val) |
void | SetMessage (const QString &status) |
Private Attributes | |
ScanMonitor * | m_scanMonitor {nullptr} |
uint | m_cardId |
QString | m_inputName |
uint | m_sourceId |
bool | m_isMpts |
fbox_chan_map_t | m_channels |
uint | m_chanCnt {1} |
bool | m_threadRunning {false} |
bool | m_stopNow {false} |
MThread * | m_thread {nullptr} |
QMutex | m_lock |
Definition at line 64 of file iptvchannelfetcher.h.
IPTVChannelFetcher::IPTVChannelFetcher | ( | uint | cardid, |
QString | inputname, | ||
uint | sourceid, | ||
bool | is_mpts, | ||
ScanMonitor * | monitor = nullptr |
||
) |
Definition at line 36 of file iptvchannelfetcher.cpp.
|
override |
Definition at line 48 of file iptvchannelfetcher.cpp.
|
private |
void IPTVChannelFetcher::Scan | ( | void | ) |
Scans the given frequency list.
Definition at line 86 of file iptvchannelfetcher.cpp.
Referenced by ChannelScanner::ImportM3U().
void IPTVChannelFetcher::Stop | ( | void | ) |
Stops the scanning thread running.
Definition at line 58 of file iptvchannelfetcher.cpp.
Referenced by Scan(), ChannelScanner::Teardown(), and ~IPTVChannelFetcher().
fbox_chan_map_t IPTVChannelFetcher::GetChannels | ( | void | ) |
Definition at line 75 of file iptvchannelfetcher.cpp.
Referenced by ChannelScanner::ImportM3U().
|
static |
Definition at line 240 of file iptvchannelfetcher.cpp.
Referenced by run().
|
static |
Definition at line 296 of file iptvchannelfetcher.cpp.
Referenced by run().
|
inlineprivate |
Definition at line 82 of file iptvchannelfetcher.h.
Referenced by ParsePlaylist(), and run().
|
private |
Definition at line 215 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
|
private |
Definition at line 224 of file iptvchannelfetcher.cpp.
Referenced by run().
|
private |
Definition at line 233 of file iptvchannelfetcher.cpp.
Referenced by ParsePlaylist().
|
overrideprotected |
Definition at line 93 of file iptvchannelfetcher.cpp.
|
private |
Definition at line 91 of file iptvchannelfetcher.h.
Referenced by run(), SetMessage(), SetNumChannelsInserted(), and SetNumChannelsParsed().
|
private |
Definition at line 92 of file iptvchannelfetcher.h.
Referenced by run().
|
private |
Definition at line 93 of file iptvchannelfetcher.h.
|
private |
Definition at line 94 of file iptvchannelfetcher.h.
Referenced by ParsePlaylist(), and run().
|
private |
Definition at line 95 of file iptvchannelfetcher.h.
Referenced by run().
|
private |
Definition at line 96 of file iptvchannelfetcher.h.
Referenced by GetChannels(), and run().
|
private |
Definition at line 97 of file iptvchannelfetcher.h.
Referenced by SetNumChannelsInserted(), SetNumChannelsParsed(), and SetTotalNumChannels().
Definition at line 98 of file iptvchannelfetcher.h.
Definition at line 99 of file iptvchannelfetcher.h.
|
private |
Definition at line 100 of file iptvchannelfetcher.h.
Referenced by GetChannels(), Scan(), Stop(), and ~IPTVChannelFetcher().
|
private |
Definition at line 101 of file iptvchannelfetcher.h.