Go to the documentation of this file. 1 #ifndef V2SERVICEUTIL_H
2 #define V2SERVICEUTIL_H
30 const QString& col,
const QString& api_param,
const T& val)
32 settings_var += QString(
"%1=:%2, ").arg(col, api_param);
33 bindvar[QString(
":").append(api_param)] = val;
37 "Dvr",
"Guide",
"Music", \
38 "Myth",
"Video",
"Config" };
51 bool bIncChannel =
true,
54 bool bIncArtWork =
true,
55 bool bIncRecording =
true);
59 bool bDetails =
true );
63 bool bDetails =
true );
74 const QString &sInetref,
97 const QString &Sort = QString());
105 const QString& card,
const QRegularExpression& driver,
107 const QString & cardType);
111 #endif //V2SERVICEUTIL_H
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
void V2FillVideoMetadataInfo(V2VideoMetadataInfo *pVideoMetadataInfo, const VideoMetadataListManager::VideoMetadataPtr &pMetadata, bool bDetails)
void FillEncoderList(QVariantList &list, QObject *parent)
bool V2FillChannelInfo(V2ChannelInfo *pChannel, uint nChanID, bool bDetails=true)
static void ADD_SQLv2(QString &settings_var, MSqlBindings &bindvar, const QString &col, const QString &api_param, const T &val)
void V2FillProgramInfo(V2Program *pProgram, ProgramInfo *pInfo, bool bIncChannel=true, bool bDetails=true, bool bIncCast=true, bool bIncArtWork=true, bool bIncRecording=true)
void V2FillChannelGroup(V2ChannelGroup *pGroup, const ChannelGroupItem &pGroupItem)
void V2FillInputInfo(V2Input *input, const InputInfo &inputInfo)
Holds information on a TV Program one might wish to record.
Internal representation of a recording rule, mirrors the record table.
uint fillSelectionsFromDir(const QDir &dir, uint minor_min, uint minor_max, const QString &card, const QRegularExpression &driver, bool allow_duplicates, V2CaptureDeviceList *pList, const QString &cardType)
void FillFrontendList(QVariantList &list, QObject *parent, bool OnLine)
void V2FillCutList(V2CutList *pCutList, ProgramInfo *rInfo, int marktype)
std::vector< DBPerson > DBCredits
V2CaptureDeviceList * getV4l2List(const QRegularExpression &driver, const QString &cardType)
void V2FillArtworkInfoList(V2ArtworkInfoList *pArtworkInfoList, const QString &sInetref, uint nSeason)
int FillUpcomingList(QVariantList &list, QObject *parent, int &nStartIndex, int &nCount, bool bShowAll, int nRecordId, int nRecStatus, const QString &Sort=QString())
void V2FillMusicMetadataInfo(V2MusicMetadataInfo *pVideoMetadataInfo, MusicMetadata *pMetadata, bool bDetails)
V2CaptureDeviceList * getFirewireList(const QString &cardType)
DBCredits * V2jsonCastToCredits(const QJsonObject &cast)
const QStringList KnownServicesV2
void V2FillCastMemberList(V2CastMemberList *pCastMemberList, ProgramInfo *pInfo)
Holds information on recordings and videos.
void V2FillSeek(V2CutList *pCutList, RecordingInfo *rInfo, MarkTypes marktype)
void V2FillCommBreak(V2CutList *pCutList, ProgramInfo *rInfo, int marktype)
void V2FillGenreList(V2GenreList *pGenreList, int videoID)
int V2CreateRecordingGroup(const QString &groupName)
void V2FillRecRuleInfo(V2RecRule *pRecRule, RecordingRule *pRule)