MythTV  master
Public Slots | Public Member Functions | Static Public Member Functions | List of all members
V2Channel Class Reference

#include <mythbackend/servicesv2/v2channel.h>

Inheritance diagram for V2Channel:
[legend]
Collaboration diagram for V2Channel:
[legend]

Public Slots

static V2ChannelInfoListGetChannelInfoList (uint SourceID, uint ChannelGroupID, uint StartIndex, uint Count, bool OnlyVisible, bool Details, bool OrderByName, bool GroupByCallsign, bool OnlyTunable)
 
static V2ChannelInfoGetChannelInfo (uint ChanID)
 
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)
 
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 RemoveDBChannel (uint ChannelID)
 
static uint GetAvailableChanid (void)
 
static V2CommMethodListGetCommMethodList (void)
 
static V2VideoSourceListGetVideoSourceList (void)
 
static V2VideoSourceGetVideoSource (uint SourceID)
 
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 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 bool RemoveAllVideoSources (void)
 
static bool RemoveVideoSource (uint SourceID)
 
static V2LineupListGetDDLineupList (const QString &Source, const QString &UserId, const QString &Password)
 
static int FetchChannelsFromSource (uint SourceId, uint CardId, bool WaitForFinish)
 
static V2VideoMultiplexListGetVideoMultiplexList (uint SourceID, uint StartIndex, uint Count)
 
static V2VideoMultiplexGetVideoMultiplex (uint MplexID)
 
static QStringList GetXMLTVIdList (uint SourceID)
 
static V2GrabberListGetGrabberList ()
 
static QStringList GetFreqTableList ()
 
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 V2ScanStatusGetScanStatus ()
 
static bool StopScan (uint Cardid)
 
static V2ScanListGetScanList (uint SourceId)
 
static bool SendScanDialogResponse (uint Cardid, const QString &DialogString, int DialogButton)
 
static V2ChannelRestoreGetRestoreData (uint SourceId, bool XmltvId, bool Icon, bool Visible)
 
static bool SaveRestoreData (uint SourceId)
 
static bool CopyIconToBackend (const QString &Url, const QString &ChanId)
 

Public Member Functions

 V2Channel ()
 
 ~V2Channel () override=default
 
- Public Member Functions inherited from MythHTTPService
 MythHTTPService (MythHTTPMetaService *MetaService)
 
 ~MythHTTPService () override=default
 
virtual HTTPResponse HTTPRequest (const HTTPRequest2 &Request)
 Respond to a valid HTTPRequest. More...
 
QString & Name ()
 

Static Public Member Functions

static void RegisterCustomTypes ()
 
- Static Public Member Functions inherited from MythHTTPService
template<class T >
static HTTPServicePtr Create ()
 

Additional Inherited Members

- Protected Member Functions inherited from MythHTTPService
bool HAS_PARAMv2 (const QString &p)
 
- Protected Attributes inherited from MythHTTPService
QString m_name
 
MythHTTPMetaServicem_staticMetaService { nullptr }
 
HTTPRequest2 m_request {nullptr}
 

Detailed Description

Definition at line 43 of file v2channel.h.

Constructor & Destructor Documentation

◆ V2Channel()

V2Channel::V2Channel ( )

Definition at line 102 of file v2channel.cpp.

◆ ~V2Channel()

V2Channel::~V2Channel ( )
overridedefault

Member Function Documentation

◆ RegisterCustomTypes()

static void V2Channel::RegisterCustomTypes ( )
static

◆ GetChannelInfoList

V2ChannelInfoList * V2Channel::GetChannelInfoList ( uint  SourceID,
uint  ChannelGroupID,
uint  StartIndex,
uint  Count,
bool  OnlyVisible,
bool  Details,
bool  OrderByName,
bool  GroupByCallsign,
bool  OnlyTunable 
)
staticslot

Definition at line 108 of file v2channel.cpp.

◆ GetChannelInfo

V2ChannelInfo * V2Channel::GetChannelInfo ( uint  ChanID)
staticslot

Definition at line 186 of file v2channel.cpp.

◆ UpdateDBChannel

bool V2Channel::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 
)
slot

Definition at line 203 of file v2channel.cpp.

◆ AddDBChannel

bool V2Channel::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 
)
slot

Definition at line 320 of file v2channel.cpp.

◆ RemoveDBChannel

bool V2Channel::RemoveDBChannel ( uint  ChannelID)
staticslot

Definition at line 358 of file v2channel.cpp.

◆ GetAvailableChanid

uint V2Channel::GetAvailableChanid ( void  )
staticslot

Definition at line 304 of file v2channel.cpp.

◆ GetCommMethodList

V2CommMethodList * V2Channel::GetCommMethodList ( void  )
staticslot

Definition at line 366 of file v2channel.cpp.

◆ GetVideoSourceList

V2VideoSourceList * V2Channel::GetVideoSourceList ( void  )
staticslot

Definition at line 388 of file v2channel.cpp.

◆ GetVideoSource

V2VideoSource * V2Channel::GetVideoSource ( uint  SourceID)
staticslot

Definition at line 447 of file v2channel.cpp.

◆ UpdateVideoSource

bool V2Channel::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 
)
slot

Definition at line 501 of file v2channel.cpp.

◆ AddVideoSource

int V2Channel::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 
)
staticslot

Definition at line 616 of file v2channel.cpp.

◆ RemoveAllVideoSources

bool V2Channel::RemoveAllVideoSources ( void  )
staticslot

Definition at line 642 of file v2channel.cpp.

◆ RemoveVideoSource

bool V2Channel::RemoveVideoSource ( uint  SourceID)
staticslot

Definition at line 649 of file v2channel.cpp.

◆ GetDDLineupList

V2LineupList * V2Channel::GetDDLineupList ( const QString &  Source,
const QString &  UserId,
const QString &  Password 
)
staticslot

Definition at line 660 of file v2channel.cpp.

◆ FetchChannelsFromSource

int V2Channel::FetchChannelsFromSource ( uint  SourceId,
uint  CardId,
bool  WaitForFinish 
)
staticslot

Definition at line 672 of file v2channel.cpp.

◆ GetVideoMultiplexList

V2VideoMultiplexList * V2Channel::GetVideoMultiplexList ( uint  SourceID,
uint  StartIndex,
uint  Count 
)
staticslot

Definition at line 703 of file v2channel.cpp.

◆ GetVideoMultiplex

V2VideoMultiplex * V2Channel::GetVideoMultiplex ( uint  MplexID)
staticslot

Definition at line 835 of file v2channel.cpp.

◆ GetXMLTVIdList

QStringList V2Channel::GetXMLTVIdList ( uint  SourceID)
staticslot

Definition at line 897 of file v2channel.cpp.

◆ GetGrabberList

V2GrabberList * V2Channel::GetGrabberList ( )
staticslot

Definition at line 953 of file v2channel.cpp.

◆ GetFreqTableList

QStringList V2Channel::GetFreqTableList ( )
staticslot

Definition at line 1011 of file v2channel.cpp.

◆ StartScan

bool V2Channel::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 
)
staticslot

Definition at line 1024 of file v2channel.cpp.

◆ GetScanStatus

V2ScanStatus * V2Channel::GetScanStatus ( )
staticslot

Definition at line 1096 of file v2channel.cpp.

◆ StopScan

bool V2Channel::StopScan ( uint  Cardid)
staticslot

Definition at line 1117 of file v2channel.cpp.

◆ GetScanList

V2ScanList * V2Channel::GetScanList ( uint  SourceId)
staticslot

Definition at line 1126 of file v2channel.cpp.

◆ SendScanDialogResponse

bool V2Channel::SendScanDialogResponse ( uint  Cardid,
const QString &  DialogString,
int  DialogButton 
)
staticslot

Definition at line 1142 of file v2channel.cpp.

◆ GetRestoreData

V2ChannelRestore * V2Channel::GetRestoreData ( uint  SourceId,
bool  XmltvId,
bool  Icon,
bool  Visible 
)
staticslot

Definition at line 1160 of file v2channel.cpp.

◆ SaveRestoreData

bool V2Channel::SaveRestoreData ( uint  SourceId)
staticslot

Definition at line 1177 of file v2channel.cpp.

◆ CopyIconToBackend

bool V2Channel::CopyIconToBackend ( const QString &  Url,
const QString &  ChanId 
)
staticslot

Definition at line 1186 of file v2channel.cpp.


The documentation for this class was generated from the following files: