Go to the documentation of this file. 1 #ifndef V2SERVICEUTIL_H
2 #define V2SERVICEUTIL_H
26 const QString& col,
const QString& api_param,
const T& val)
28 settings_var += QString(
"%1=:%2, ").arg(col, api_param);
29 bindvar[QString(
":").append(api_param)] = val;
33 "Dvr",
"Guide",
"Music", \
34 "Myth",
"Video",
"Config" };
47 bool bIncChannel =
true,
50 bool bIncArtWork =
true,
51 bool bIncRecording =
true);
55 bool bDetails =
true );
59 bool bDetails =
true );
70 const QString &sInetref,
96 #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)
int FillUpcomingList(QVariantList &list, QObject *parent, int &nStartIndex, int &nCount, bool bShowAll, int nRecordId, int nRecStatus)
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.
void FillFrontendList(QVariantList &list, QObject *parent, bool OnLine)
void V2FillCutList(V2CutList *pCutList, ProgramInfo *rInfo, int marktype)
std::vector< DBPerson > DBCredits
void V2FillArtworkInfoList(V2ArtworkInfoList *pArtworkInfoList, const QString &sInetref, uint nSeason)
void V2FillMusicMetadataInfo(V2MusicMetadataInfo *pVideoMetadataInfo, MusicMetadata *pMetadata, bool bDetails)
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)