33#define CAPTURE_SERVICE QString("/Capture/")
34#define CAPTURE_HANDLE QString("Capture")
39 Q_CLASSINFO(
"Version",
"1.6")
40 Q_CLASSINFO(
"RemoveAllCaptureCards",
"methods=POST;name=bool")
41 Q_CLASSINFO(
"RemoveCaptureCard",
"methods=POST;name=bool")
42 Q_CLASSINFO(
"AddCaptureCard",
"methods=POST;name=int")
43 Q_CLASSINFO(
"UpdateCaptureCard",
"methods=POST;name=bool")
44 Q_CLASSINFO(
"RemoveCardInput",
"methods=POST;name=bool")
45 Q_CLASSINFO(
"AddCardInput",
"methods=POST;name=int")
46 Q_CLASSINFO(
"UpdateCardInput",
"methods=POST;name=bool")
47 Q_CLASSINFO(
"AddUserInputGroup",
"methods=POST;name=int")
48 Q_CLASSINFO(
"LinkInputGroup",
"methods=POST;name=bool")
49 Q_CLASSINFO(
"UnlinkInputGroup",
"methods=POST;name=bool")
50 Q_CLASSINFO(
"SetInputMaxRecordings",
"methods=POST;name=bool")
51 Q_CLASSINFO(
"AddDiseqcTree",
"methods=POST")
52 Q_CLASSINFO(
"UpdateDiseqcTree",
"methods=POST")
53 Q_CLASSINFO(
"RemoveDiseqcTree",
"methods=POST")
54 Q_CLASSINFO(
"AddDiseqcConfig",
"methods=POST")
55 Q_CLASSINFO(
"RemoveDiseqcConfig",
"methods=POST")
56 Q_CLASSINFO(
"AddRecProfile",
"methods=POST")
57 Q_CLASSINFO(
"DeleteRecProfile",
"methods=POST")
58 Q_CLASSINFO(
"UpdateRecProfile",
"methods=POST")
59 Q_CLASSINFO(
"UpdateRecProfileParam",
"methods=POST")
83 const QString &HostName,
86 bool DVBWaitForSeqStart,
105 const QString &Value );
114 const QString &ExternalCommand,
115 const QString &ChangerDevice,
116 const QString &ChangerModel,
117 const QString &HostName,
118 const QString &TuneChan,
119 const QString &StartChan,
120 const QString &DisplayName,
129 const QString &Value );
153 const QString& SubType,
154 const QString& Description,
158 const QString& RotorPositions,
173 const QString& SubType,
174 const QString& Description,
178 const QString& RotorPositions,
195 const QString& Value);
204 const QString& ProfileName,
205 const QString& VideoCodec,
206 const QString& AudioCodec );
211 const QString& VideoCodec,
212 const QString& AudioCodec );
216 const QString& Value);
static bool UpdateCardInput(int CardInputId, const QString &Setting, const QString &Value)
static int AddUserInputGroup(const QString &Name)
static bool LinkInputGroup(uint InputId, uint InputGroupId)
static bool UpdateCaptureCard(int CardId, const QString &Setting, const QString &Value)
static void RegisterCustomTypes()
static bool RemoveCaptureCard(int CardId)
static V2RecProfileGroupList * GetRecProfileGroupList(uint GroupId, uint ProfileId, bool OnlyInUse)
~V2Capture() override=default
static V2CaptureCardList * GetCaptureCardList(const QString &HostName, const QString &CardType)
static int AddCaptureCard(const QString &VideoDevice, const QString &AudioDevice, const QString &VBIDevice, const QString &CardType, uint AudioRateLimit, const QString &HostName, uint DVBSWFilter, uint DVBSatType, bool DVBWaitForSeqStart, bool SkipBTAudio, bool DVBOnDemand, uint DVBDiSEqCType, uint FirewireSpeed, const QString &FirewireModel, uint FirewireConnection, uint SignalTimeout, uint ChannelTimeout, uint DVBTuningDelay, uint Contrast, uint Brightness, uint Colour, uint Hue, uint DiSEqCId, bool DVBEITScan)
static V2CardSubType * GetCardSubType(int CardId)
static V2CardTypeList * GetCardTypeList(void)
static bool UpdateDiseqcTree(uint DiSEqCId, uint ParentId, uint Ordinal, const QString &Type, const QString &SubType, const QString &Description, uint SwitchPorts, float RotorHiSpeed, float RotorLoSpeed, const QString &RotorPositions, int LnbLofSwitch, int LnbLofHi, int LnbLofLo, int CmdRepeat, bool LnbPolInv, int Address, uint ScrUserband, uint ScrFrequency, int ScrPin)
static bool RemoveDiseqcConfig(uint CardId)
static int AddCardInput(uint CardId, uint SourceId, const QString &InputName, const QString &ExternalCommand, const QString &ChangerDevice, const QString &ChangerModel, const QString &HostName, const QString &TuneChan, const QString &StartChan, const QString &DisplayName, bool DishnetEIT, uint RecPriority, uint Quicktune, uint SchedOrder, uint LiveTVOrder)
static bool UnlinkInputGroup(uint InputId, uint InputGroupId)
static bool RemoveCardInput(int CardInputId)
static bool DeleteRecProfile(uint ProfileId)
static int AddDiseqcTree(uint ParentId, uint Ordinal, const QString &Type, const QString &SubType, const QString &Description, uint SwitchPorts, float RotorHiSpeed, float RotorLoSpeed, const QString &RotorPositions, int LnbLofSwitch, int LnbLofHi, int LnbLofLo, int CmdRepeat, bool LnbPolInv, int Address, uint ScrUserband, uint ScrFrequency, int ScrPin)
static V2CaptureDeviceList * GetCaptureDeviceList(const QString &CardType)
static V2CaptureCard * GetCaptureCard(int CardId)
static bool RemoveDiseqcTree(uint DiSEqCId)
static int AddRecProfile(uint GroupId, const QString &ProfileName, const QString &VideoCodec, const QString &AudioCodec)
static V2DiseqcConfigList * GetDiseqcConfigList(void)
static V2InputGroupList * GetUserInputGroupList(void)
static bool UpdateRecProfileParam(uint ProfileId, const QString &Name, const QString &Value)
static bool SetInputMaxRecordings(uint InputId, uint Max)
static bool RemoveAllCaptureCards(void)
static bool UpdateRecProfile(uint ProfileId, const QString &VideoCodec, const QString &AudioCodec)
static V2DiseqcTreeList * GetDiseqcTreeList(void)
static bool AddDiseqcConfig(uint CardId, uint DiSEqCId, const QString &Value)
QMap< QString, bool > Setting