Go to the documentation of this file.
38 #define CHANNEL_SERVICE QString("/Channel/")
39 #define CHANNEL_HANDLE QString("Channel")
45 Q_CLASSINFO(
"Version",
"1.12")
46 Q_CLASSINFO(
"UpdateDBChannel",
"methods=POST;name=bool")
47 Q_CLASSINFO(
"AddDBChannel",
"methods=POST;name=bool")
48 Q_CLASSINFO(
"RemoveDBChannel",
"methods=POST;name=bool")
49 Q_CLASSINFO(
"UpdateVideoSource",
"methods=POST;name=bool")
50 Q_CLASSINFO(
"AddVideoSource",
"methods=POST;name=int")
51 Q_CLASSINFO(
"RemoveAllVideoSources",
"methods=POST;name=bool")
52 Q_CLASSINFO(
"RemoveVideoSource",
"methods=POST;name=bool")
53 Q_CLASSINFO(
"FetchChannelsFromSource",
"methods=GET,POST;name=int")
54 Q_CLASSINFO(
"GetAvailableChanid",
"methods=GET,POST;name=int")
55 Q_CLASSINFO(
"GetXMLTVIdList",
"methods=GET,POST,HEAD;name=StringList")
56 Q_CLASSINFO(
"StartScan",
"methods=POST;name=bool")
57 Q_CLASSINFO(
"StopScan",
"methods=POST;name=bool")
58 Q_CLASSINFO(
"SendScanDialogResponse",
"methods=POST;name=bool")
84 const QString &CallSign,
85 const QString &ChannelName,
86 const QString &ChannelNumber,
88 uint ATSCMajorChannel,
89 uint ATSCMinorChannel,
92 const QString &ExtendedVisible,
93 const QString &FrequencyID,
96 const QString &XMLTVID,
97 const QString &DefaultAuthority,
106 const QString &CallSign,
107 const QString &ChannelName,
108 const QString &ChannelNumber,
110 uint ATSCMajorChannel,
111 uint ATSCMinorChannel,
114 const QString &ExtendedVisible,
115 const QString &FrequencyID,
118 const QString &XMLTVID,
119 const QString &DefaultAuthority,
138 const QString &SourceName,
139 const QString &Grabber,
140 const QString &UserId,
142 const QString &LineupId,
145 const QString &ConfigPath,
153 const QString &Grabber,
154 const QString &UserId,
156 const QString &LineupId,
159 const QString &ConfigPath,
170 const QString &UserId,
175 bool WaitForFinish );
199 bool TestDecryptable,
200 const QString &ScanType,
203 const QString &FirstChan,
204 const QString &LastChan,
210 const QString &Bandwidth,
211 const QString &Polarity,
212 const QString &SymbolRate,
213 const QString &Inversion,
214 const QString &Constellation,
215 const QString &ModSys,
216 const QString &CodeRateLP,
217 const QString &CodeRateHP,
219 const QString &TransmissionMode,
220 const QString &GuardInterval,
221 const QString &Hierarchy,
231 const QString &DialogString,
static StandardSetting * Password(bool enabled)
Setting for changing password.
static bool RemoveDBChannel(uint ChannelID)
bool UpdateDBChannel(uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool Visible, const QString &ExtendedVisible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType, int RecPriority, int TimeOffset, int CommMethod)
static bool RemoveVideoSource(uint SourceID)
static bool StopScan(uint Cardid)
static V2ScanList * GetScanList(uint SourceId)
static bool StartScan(uint CardId, const QString &DesiredServices, bool FreeToAirOnly, bool ChannelNumbersOnly, bool CompleteChannelsOnly, bool FullChannelSearch, bool RemoveDuplicates, bool AddFullTS, bool TestDecryptable, const QString &ScanType, const QString &FreqTable, const QString &Modulation, const QString &FirstChan, const QString &LastChan, uint ScanId, bool IgnoreSignalTimeout, bool FollowNITSetting, uint MplexId, const QString &Frequency, const QString &Bandwidth, const QString &Polarity, const QString &SymbolRate, const QString &Inversion, const QString &Constellation, const QString &ModSys, const QString &CodeRateLP, const QString &CodeRateHP, const QString &FEC, const QString &TransmissionMode, const QString &GuardInterval, const QString &Hierarchy, const QString &RollOff)
static void RegisterCustomTypes()
static V2ChannelInfoList * GetChannelInfoList(uint SourceID, uint ChannelGroupID, uint StartIndex, uint Count, bool OnlyVisible, bool Details, bool OrderByName, bool GroupByCallsign, bool OnlyTunable)
static V2ScanStatus * GetScanStatus()
static V2GrabberList * GetGrabberList()
static V2VideoMultiplex * GetVideoMultiplex(uint MplexID)
static QStringList GetXMLTVIdList(uint SourceID)
static int AddVideoSource(const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId, uint ScanFrequency, uint LCNOffset)
static uint GetAvailableChanid(void)
static GlobalComboBoxSetting * FreqTable()
bool UpdateVideoSource(uint SourceID, const QString &SourceName, const QString &Grabber, const QString &UserId, const QString &FreqTable, const QString &LineupId, const QString &Password, bool UseEIT, const QString &ConfigPath, int NITId, uint BouquetId, uint RegionId, uint ScanFrequency, uint LCNOffset)
static V2ChannelInfo * GetChannelInfo(uint ChanID)
static V2VideoSource * GetVideoSource(uint SourceID)
static bool SendScanDialogResponse(uint Cardid, const QString &DialogString, int DialogButton)
bool AddDBChannel(uint MplexID, uint SourceID, uint ChannelID, const QString &CallSign, const QString &ChannelName, const QString &ChannelNumber, uint ServiceID, uint ATSCMajorChannel, uint ATSCMinorChannel, bool UseEIT, bool Visible, const QString &ExtendedVisible, const QString &FrequencyID, const QString &Icon, const QString &Format, const QString &XMLTVID, const QString &DefaultAuthority, uint ServiceType, int RecPriority, int TimeOffset, int CommMethod)
static bool RemoveAllVideoSources(void)
static V2LineupList * GetDDLineupList(const QString &Source, const QString &UserId, const QString &Password)
static int FetchChannelsFromSource(uint SourceId, uint CardId, bool WaitForFinish)
static V2VideoSourceList * GetVideoSourceList(void)
static QStringList GetFreqTableList()
static V2VideoMultiplexList * GetVideoMultiplexList(uint SourceID, uint StartIndex, uint Count)
~V2Channel() override=default
static V2CommMethodList * GetCommMethodList(void)