MythTV  master
Functions
serviceUtil.cpp File Reference
#include <QJsonArray>
#include <QJsonObject>
#include <QUrl>
#include "libmythbase/programinfo.h"
#include "libmythbase/recordingtypes.h"
#include "libmythmetadata/videoutils.h"
#include "libmythservicecontracts/datacontracts/cutList.h"
#include "libmythtv/cardutil.h"
#include "libmythtv/channelinfo.h"
#include "libmythtv/channelutil.h"
#include "libmythtv/metadataimagehelper.h"
#include "libmythtv/recordinginfo.h"
#include "serviceUtil.h"
Include dependency graph for serviceUtil.cpp:

Go to the source code of this file.

Functions

void FillProgramInfo (DTC::Program *pProgram, ProgramInfo *pInfo, bool bIncChannel, bool bDetails, bool bIncCast)
 
bool FillChannelInfo (DTC::ChannelInfo *pChannel, uint nChanID, bool bDetails)
 
bool FillChannelInfo (DTC::ChannelInfo *pChannel, const ChannelInfo &channelInfo, bool bDetails)
 
void FillChannelGroup (DTC::ChannelGroup *pGroup, const ChannelGroupItem &pGroupItem)
 
void FillRecRuleInfo (DTC::RecRule *pRecRule, RecordingRule *pRule)
 
void FillArtworkInfoList (DTC::ArtworkInfoList *pArtworkInfoList, const QString &sInetref, uint nSeason)
 
void FillGenreList (DTC::GenreList *pGenreList, int videoID)
 
void FillVideoMetadataInfo (DTC::VideoMetadataInfo *pVideoMetadataInfo, const VideoMetadataListManager::VideoMetadataPtr &pMetadata, bool bDetails)
 
void FillMusicMetadataInfo (DTC::MusicMetadataInfo *pVideoMetadataInfo, MusicMetadata *pMetadata, bool bDetails)
 
void FillInputInfo (DTC::Input *input, const InputInfo &inputInfo)
 
void FillCastMemberList (DTC::CastMemberList *pCastMemberList, ProgramInfo *pInfo)
 
void FillCutList (DTC::CutList *pCutList, RecordingInfo *rInfo, int marktype)
 
void FillCommBreak (DTC::CutList *pCutList, RecordingInfo *rInfo, int marktype)
 
void FillSeek (DTC::CutList *pCutList, RecordingInfo *rInfo, MarkTypes marktype)
 
int CreateRecordingGroup (const QString &groupName)
 
DBCreditsjsonCastToCredits (const QJsonObject &cast)
 

Function Documentation

◆ FillProgramInfo()

void FillProgramInfo ( DTC::Program pProgram,
ProgramInfo pInfo,
bool  bIncChannel,
bool  bDetails,
bool  bIncCast 
)

◆ FillChannelInfo() [1/2]

bool FillChannelInfo ( DTC::ChannelInfo pChannel,
uint  nChanID,
bool  bDetails 
)

◆ FillChannelInfo() [2/2]

bool FillChannelInfo ( DTC::ChannelInfo pChannel,
const ChannelInfo channelInfo,
bool  bDetails 
)

Definition at line 194 of file serviceUtil.cpp.

◆ FillChannelGroup()

void FillChannelGroup ( DTC::ChannelGroup pGroup,
const ChannelGroupItem pGroupItem 
)

Definition at line 265 of file serviceUtil.cpp.

Referenced by Guide::GetChannelGroupList().

◆ FillRecRuleInfo()

void FillRecRuleInfo ( DTC::RecRule pRecRule,
RecordingRule pRule 
)

Definition at line 279 of file serviceUtil.cpp.

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

◆ FillArtworkInfoList()

void FillArtworkInfoList ( DTC::ArtworkInfoList pArtworkInfoList,
const QString &  sInetref,
uint  nSeason 
)

Definition at line 340 of file serviceUtil.cpp.

Referenced by FillProgramInfo(), and Content::GetProgramArtworkList().

◆ FillGenreList()

void FillGenreList ( DTC::GenreList pGenreList,
int  videoID 
)

Definition at line 387 of file serviceUtil.cpp.

Referenced by FillVideoMetadataInfo().

◆ FillVideoMetadataInfo()

void FillVideoMetadataInfo ( DTC::VideoMetadataInfo pVideoMetadataInfo,
const VideoMetadataListManager::VideoMetadataPtr pMetadata,
bool  bDetails 
)

◆ FillMusicMetadataInfo()

void FillMusicMetadataInfo ( DTC::MusicMetadataInfo pVideoMetadataInfo,
MusicMetadata pMetadata,
bool  bDetails 
)

Definition at line 517 of file serviceUtil.cpp.

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

◆ FillInputInfo()

void FillInputInfo ( DTC::Input input,
const InputInfo inputInfo 
)

Definition at line 546 of file serviceUtil.cpp.

Referenced by Dvr::GetEncoderList(), and Dvr::GetInputList().

◆ FillCastMemberList()

void FillCastMemberList ( DTC::CastMemberList pCastMemberList,
ProgramInfo pInfo 
)

Definition at line 563 of file serviceUtil.cpp.

Referenced by FillProgramInfo().

◆ FillCutList()

void FillCutList ( DTC::CutList pCutList,
RecordingInfo rInfo,
int  marktype 
)

Definition at line 642 of file serviceUtil.cpp.

Referenced by Dvr::GetRecordedCutList().

◆ FillCommBreak()

void FillCommBreak ( DTC::CutList pCutList,
RecordingInfo rInfo,
int  marktype 
)

Definition at line 688 of file serviceUtil.cpp.

Referenced by Dvr::GetRecordedCommBreak().

◆ FillSeek()

void FillSeek ( DTC::CutList pCutList,
RecordingInfo rInfo,
MarkTypes  marktype 
)

Definition at line 734 of file serviceUtil.cpp.

Referenced by Dvr::GetRecordedSeek().

◆ CreateRecordingGroup()

int CreateRecordingGroup ( const QString &  groupName)

Definition at line 752 of file serviceUtil.cpp.

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

◆ jsonCastToCredits()

DBCredits* jsonCastToCredits ( const QJsonObject &  cast)

Definition at line 772 of file serviceUtil.cpp.

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