MythTV  master
Functions | Variables
v2serviceUtil.h File Reference
#include "libmythmetadata/musicmetadata.h"
#include "libmythmetadata/videometadatalistmanager.h"
#include "libmythtv/channelgroup.h"
#include "libmythtv/channelinfo.h"
#include "libmythtv/inputinfo.h"
#include "libmythtv/programdata.h"
#include "libmythtv/recordinginfo.h"
#include "libmythtv/recordingrule.h"
#include "v2channelGroup.h"
#include "v2cutList.h"
#include "v2input.h"
#include "v2musicMetadataInfoList.h"
#include "v2programList.h"
#include "v2recRule.h"
#include "v2videoMetadataInfo.h"
Include dependency graph for v2serviceUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
static void ADD_SQL (QString &settings_var, MSqlBindings &bindvar, const QString &col, const QString &api_param, const T &val)
 
void V2FillVideoMetadataInfo (V2VideoMetadataInfo *pVideoMetadataInfo, const VideoMetadataListManager::VideoMetadataPtr &pMetadata, bool bDetails)
 
void V2FillMusicMetadataInfo (V2MusicMetadataInfo *pVideoMetadataInfo, MusicMetadata *pMetadata, bool bDetails)
 
void V2FillGenreList (V2GenreList *pGenreList, int videoID)
 
void V2FillProgramInfo (V2Program *pProgram, ProgramInfo *pInfo, bool bIncChannel=true, bool bDetails=true, bool bIncCast=true, bool bIncArtWork=true, bool bIncRecording=true)
 
bool V2FillChannelInfo (V2ChannelInfo *pChannel, uint nChanID, bool bDetails=true)
 
bool V2FillChannelInfo (V2ChannelInfo *pChannel, const ChannelInfo &channelInfo, bool bDetails=true)
 
void V2FillChannelGroup (V2ChannelGroup *pGroup, const ChannelGroupItem &pGroupItem)
 
void V2FillRecRuleInfo (V2RecRule *pRecRule, RecordingRule *pRule)
 
void V2FillCastMemberList (V2CastMemberList *pCastMemberList, ProgramInfo *pInfo)
 
void V2FillArtworkInfoList (V2ArtworkInfoList *pArtworkInfoList, const QString &sInetref, uint nSeason)
 
DBCreditsV2jsonCastToCredits (const QJsonObject &cast)
 
void V2FillCutList (V2CutList *pCutList, RecordingInfo *rInfo, int marktype)
 
void V2FillCommBreak (V2CutList *pCutList, RecordingInfo *rInfo, int marktype)
 
void V2FillSeek (V2CutList *pCutList, RecordingInfo *rInfo, MarkTypes marktype)
 
void V2FillInputInfo (V2Input *input, const InputInfo &inputInfo)
 
int V2CreateRecordingGroup (const QString &groupName)
 
void FillEncoderList (QVariantList &list, QObject *parent)
 
int FillUpcomingList (QVariantList &list, QObject *parent, int &nStartIndex, int &nCount, bool bShowAll, int nRecordId, int nRecStatus)
 
void FillFrontendList (QVariantList &list, QObject *parent, bool OnLine)
 

Variables

const QStringList KnownServicesV2
 

Function Documentation

◆ ADD_SQL()

template<typename T >
static void ADD_SQL ( QString &  settings_var,
MSqlBindings bindvar,
const QString &  col,
const QString &  api_param,
const T &  val 
)
inlinestatic

Definition at line 25 of file v2serviceUtil.h.

◆ V2FillVideoMetadataInfo()

void V2FillVideoMetadataInfo ( V2VideoMetadataInfo pVideoMetadataInfo,
const VideoMetadataListManager::VideoMetadataPtr pMetadata,
bool  bDetails 
)

◆ V2FillMusicMetadataInfo()

void V2FillMusicMetadataInfo ( V2MusicMetadataInfo pVideoMetadataInfo,
MusicMetadata pMetadata,
bool  bDetails 
)

Definition at line 463 of file v2serviceUtil.cpp.

Referenced by V2Music::GetTrack(), and V2Music::GetTrackList().

◆ V2FillGenreList()

void V2FillGenreList ( V2GenreList pGenreList,
int  videoID 
)

Definition at line 337 of file v2serviceUtil.cpp.

Referenced by V2FillVideoMetadataInfo().

◆ V2FillProgramInfo()

void V2FillProgramInfo ( V2Program pProgram,
ProgramInfo pInfo,
bool  bIncChannel = true,
bool  bDetails = true,
bool  bIncCast = true,
bool  bIncArtWork = true,
bool  bIncRecording = true 
)

◆ V2FillChannelInfo() [1/2]

bool V2FillChannelInfo ( V2ChannelInfo pChannel,
uint  nChanID,
bool  bDetails = true 
)

◆ V2FillChannelInfo() [2/2]

bool V2FillChannelInfo ( V2ChannelInfo pChannel,
const ChannelInfo channelInfo,
bool  bDetails = true 
)

Definition at line 160 of file v2serviceUtil.cpp.

◆ V2FillChannelGroup()

void V2FillChannelGroup ( V2ChannelGroup pGroup,
const ChannelGroupItem pGroupItem 
)

Definition at line 223 of file v2serviceUtil.cpp.

Referenced by V2Guide::GetChannelGroupList().

◆ V2FillRecRuleInfo()

void V2FillRecRuleInfo ( V2RecRule pRecRule,
RecordingRule pRule 
)

Definition at line 237 of file v2serviceUtil.cpp.

Referenced by V2Dvr::GetRecordSchedule(), and V2Dvr::GetRecordScheduleList().

◆ V2FillCastMemberList()

void V2FillCastMemberList ( V2CastMemberList pCastMemberList,
ProgramInfo pInfo 
)

Definition at line 503 of file v2serviceUtil.cpp.

Referenced by V2FillProgramInfo().

◆ V2FillArtworkInfoList()

void V2FillArtworkInfoList ( V2ArtworkInfoList pArtworkInfoList,
const QString &  sInetref,
uint  nSeason 
)

Definition at line 294 of file v2serviceUtil.cpp.

Referenced by V2Content::GetProgramArtworkList(), and V2FillProgramInfo().

◆ V2jsonCastToCredits()

DBCredits* V2jsonCastToCredits ( const QJsonObject &  cast)

Definition at line 858 of file v2serviceUtil.cpp.

Referenced by V2Dvr::AddRecordedCredits(), and V2Dvr::AddRecordedProgram().

◆ V2FillCutList()

void V2FillCutList ( V2CutList pCutList,
RecordingInfo rInfo,
int  marktype 
)

Definition at line 577 of file v2serviceUtil.cpp.

Referenced by V2Dvr::GetRecordedCutList().

◆ V2FillCommBreak()

void V2FillCommBreak ( V2CutList pCutList,
RecordingInfo rInfo,
int  marktype 
)

Definition at line 619 of file v2serviceUtil.cpp.

Referenced by V2Dvr::GetRecordedCommBreak().

◆ V2FillSeek()

void V2FillSeek ( V2CutList pCutList,
RecordingInfo rInfo,
MarkTypes  marktype 
)

Definition at line 665 of file v2serviceUtil.cpp.

Referenced by V2Dvr::GetRecordedSeek().

◆ V2FillInputInfo()

void V2FillInputInfo ( V2Input input,
const InputInfo inputInfo 
)

Definition at line 488 of file v2serviceUtil.cpp.

Referenced by FillEncoderList(), and V2Dvr::GetInputList().

◆ V2CreateRecordingGroup()

int V2CreateRecordingGroup ( const QString &  groupName)

Definition at line 838 of file v2serviceUtil.cpp.

Referenced by V2Dvr::AddRecordSchedule(), and V2Dvr::UpdateRecordSchedule().

◆ FillEncoderList()

void FillEncoderList ( QVariantList &  list,
QObject *  parent 
)

Definition at line 683 of file v2serviceUtil.cpp.

Referenced by V2Status::GetBackendStatus(), and V2Dvr::GetEncoderList().

◆ FillUpcomingList()

int FillUpcomingList ( QVariantList &  list,
QObject *  parent,
int &  nStartIndex,
int &  nCount,
bool  bShowAll,
int  nRecordId,
int  nRecStatus 
)

◆ FillFrontendList()

void FillFrontendList ( QVariantList &  list,
QObject *  parent,
bool  OnLine 
)

Definition at line 816 of file v2serviceUtil.cpp.

Referenced by V2Status::GetBackendStatus(), and V2Myth::GetFrontends().

Variable Documentation

◆ KnownServicesV2

const QStringList KnownServicesV2
Initial value:
= { "Capture", "Channel", "Content",
"Dvr", "Guide", "Music",
"Myth", "Video", "Config" }

Definition at line 32 of file v2serviceUtil.h.

Referenced by V2Myth::ManageUrlProtection().