6#ifndef IPTVCHANNELFETCHER_H
7#define IPTVCHANNELFETCHER_H
12#include <QCoreApplication>
35 const QString &data_url,
37 const QString &fec_type,
38 const QString &fec_url0,
40 const QString &fec_url1,
46 fec_type, fec_url0, fec_bitrate0, fec_url1, fec_bitrate1,
91 void run(
void)
override;
Q_DECLARE_TR_FUNCTIONS(IPTVChannelFetcher)
void SetMessage(const QString &status)
static QString DownloadPlaylist(const QString &url)
~IPTVChannelFetcher() override
void SetNumChannelsInserted(uint val)
void Stop(void)
Stops the scanning thread running.
fbox_chan_map_t m_channels
fbox_chan_map_t GetChannels(void)
void SetTotalNumChannels(uint val)
static MTV_PUBLIC fbox_chan_map_t ParsePlaylist(const QString &rawdata, IPTVChannelFetcher *fetcher=nullptr)
ScanMonitor * m_scanMonitor
IPTVChannelFetcher(uint cardid, QString inputname, uint sourceid, bool is_mpts, ScanMonitor *monitor=nullptr)
void SetNumChannelsParsed(uint val)
void Scan(void)
Scans the given frequency list.
IPTVChannelInfo(QString name, QString xmltvid, QString logo, 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)
IPTVChannelInfo()=default
friend class TestIPTVRecorder
This is a wrapper around QThread that does several additional things.
QMap< QString, IPTVChannelInfo > fbox_chan_map_t