Go to the documentation of this file.
6 #ifndef IPTVCHANNELFETCHER_H
7 #define IPTVCHANNELFETCHER_H
12 #include <QCoreApplication>
34 const QString &data_url,
36 const QString &fec_type,
37 const QString &fec_url0,
39 const QString &fec_url1,
44 fec_type, fec_url0, fec_bitrate0, fec_url1, fec_bitrate1,
88 void run(
void)
override;
104 #endif // IPTVCHANNELFETCHER_H
fbox_chan_map_t m_channels
void SetNumChannelsInserted(uint val)
void SetMessage(const QString &status)
IPTVChannelInfo(QString name, QString xmltvid, const QString &data_url, uint data_bitrate, const QString &fec_type, const QString &fec_url0, uint fec_bitrate0, const QString &fec_url1, uint fec_bitrate1, uint programnumber)
void Scan(void)
Scans the given frequency list.
IPTVChannelFetcher(uint cardid, QString inputname, uint sourceid, bool is_mpts, ScanMonitor *monitor=nullptr)
void Stop(void)
Stops the scanning thread running.
Q_DECLARE_TR_FUNCTIONS(IPTVChannelFetcher)
ScanMonitor * m_scanMonitor
This is a wrapper around QThread that does several additional things.
~IPTVChannelFetcher() override
friend class TestIPTVRecorder
fbox_chan_map_t GetChannels(void)
static QString DownloadPlaylist(const QString &url)
QMap< QString, IPTVChannelInfo > fbox_chan_map_t
IPTVChannelInfo()=default
void SetTotalNumChannels(uint val)
void SetNumChannelsParsed(uint val)
static MTV_PUBLIC fbox_chan_map_t ParsePlaylist(const QString &rawdata, IPTVChannelFetcher *fetcher=nullptr)