MythTV  master
Functions
v2serviceUtil.cpp File Reference
#include "libmyth/programinfo.h"
#include "libmyth/recordingtypes.h"
#include "libmythbase/mythscheduler.h"
#include "libmythmetadata/videoutils.h"
#include "libmythtv/cardutil.h"
#include "libmythtv/channelgroup.h"
#include "libmythtv/channelinfo.h"
#include "libmythtv/channelutil.h"
#include "libmythtv/recordinginfo.h"
#include "libmythtv/tv_rec.h"
#include "backendcontext.h"
#include "encoderlink.h"
#include "scheduler.h"
#include "v2encoder.h"
#include "v2frontend.h"
#include "v2serviceUtil.h"
Include dependency graph for v2serviceUtil.cpp:

Go to the source code of this file.

Functions

void V2FillProgramInfo (V2Program *pProgram, ProgramInfo *pInfo, bool bIncChannel, bool bDetails, bool bIncCast, bool bIncArtwork, bool bIncRecording)
 
bool V2FillChannelInfo (V2ChannelInfo *pChannel, uint nChanID, bool bDetails)
 
bool V2FillChannelInfo (V2ChannelInfo *pChannel, const ChannelInfo &channelInfo, bool bDetails)
 
void V2FillChannelGroup (V2ChannelGroup *pGroup, const ChannelGroupItem &pGroupItem)
 
void V2FillRecRuleInfo (V2RecRule *pRecRule, RecordingRule *pRule)
 
void V2FillArtworkInfoList (V2ArtworkInfoList *pArtworkInfoList, const QString &sInetref, uint nSeason)
 
void V2FillGenreList (V2GenreList *pGenreList, int videoID)
 
void V2FillVideoMetadataInfo (V2VideoMetadataInfo *pVideoMetadataInfo, const VideoMetadataListManager::VideoMetadataPtr &pMetadata, bool bDetails)
 
void V2FillMusicMetadataInfo (V2MusicMetadataInfo *pVideoMetadataInfo, MusicMetadata *pMetadata, bool bDetails)
 
void V2FillInputInfo (V2Input *input, const InputInfo &inputInfo)
 
void V2FillCastMemberList (V2CastMemberList *pCastMemberList, ProgramInfo *pInfo)
 
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 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)
 
int V2CreateRecordingGroup (const QString &groupName)
 
DBCreditsV2jsonCastToCredits (const QJsonObject &cast)
 

Function Documentation

◆ V2FillProgramInfo()

void V2FillProgramInfo ( V2Program pProgram,
ProgramInfo pInfo,
bool  bIncChannel,
bool  bDetails,
bool  bIncCast,
bool  bIncArtwork,
bool  bIncRecording 
)

◆ V2FillChannelInfo() [1/2]

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

◆ V2FillChannelInfo() [2/2]

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

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().

◆ V2FillArtworkInfoList()

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

Definition at line 294 of file v2serviceUtil.cpp.

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

◆ V2FillGenreList()

void V2FillGenreList ( V2GenreList pGenreList,
int  videoID 
)

Definition at line 337 of file v2serviceUtil.cpp.

Referenced by V2FillVideoMetadataInfo().

◆ 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().

◆ V2FillInputInfo()

void V2FillInputInfo ( V2Input input,
const InputInfo inputInfo 
)

Definition at line 488 of file v2serviceUtil.cpp.

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

◆ V2FillCastMemberList()

void V2FillCastMemberList ( V2CastMemberList pCastMemberList,
ProgramInfo pInfo 
)

Definition at line 503 of file v2serviceUtil.cpp.

Referenced by V2FillProgramInfo().

◆ 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().

◆ 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().

◆ V2CreateRecordingGroup()

int V2CreateRecordingGroup ( const QString &  groupName)

Definition at line 838 of file v2serviceUtil.cpp.

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

◆ V2jsonCastToCredits()

DBCredits* V2jsonCastToCredits ( const QJsonObject &  cast)

Definition at line 858 of file v2serviceUtil.cpp.

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