MythTV  master
Functions
tvremoteutil.cpp File Reference
#include <chrono>
#include <thread>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/programinfo.h"
#include "cardutil.h"
#include "inputinfo.h"
#include "remoteencoder.h"
#include "tv_rec.h"
#include "tvremoteutil.h"
Include dependency graph for tvremoteutil.cpp:

Go to the source code of this file.

Functions

uint RemoteGetFlags (uint inputid)
 
uint RemoteGetState (uint inputid)
 
bool RemoteRecordPending (uint inputid, const ProgramInfo *pginfo, std::chrono::seconds secsleft, bool hasLater)
 
bool RemoteStopLiveTV (uint inputid)
 
bool RemoteStopRecording (uint inputid)
 
void RemoteStopRecording (const ProgramInfo *pginfo)
 
void RemoteCancelNextRecording (uint inputid, bool cancel)
 
std::vector< InputInfoRemoteRequestFreeInputInfo (uint excluded_input)
 
int RemoteGetFreeRecorderCount (void)
 
RemoteEncoderRemoteRequestNextFreeRecorder (int inputid)
 
std::vector< uintRemoteRequestFreeRecorderList (uint excluded_input)
 
std::vector< uintRemoteRequestFreeInputList (uint excluded_input)
 
RemoteEncoderRemoteRequestFreeRecorderFromList (const QStringList &qualifiedRecorders, uint excluded_input)
 
RemoteEncoderRemoteRequestRecorder (void)
 
RemoteEncoderRemoteGetExistingRecorder (const ProgramInfo *pginfo)
 
RemoteEncoderRemoteGetExistingRecorder (int recordernum)
 
bool RemoteIsBusy (uint inputid, InputInfo &busy_input)
 
bool RemoteGetRecordingStatus (std::vector< TunerStatus > *tunerList, bool list_inactive)
 

Function Documentation

◆ RemoteGetFlags()

uint RemoteGetFlags ( uint  inputid)

Definition at line 13 of file tvremoteutil.cpp.

◆ RemoteGetState()

uint RemoteGetState ( uint  inputid)

Definition at line 31 of file tvremoteutil.cpp.

Referenced by TVRec::StartRecording().

◆ RemoteRecordPending()

bool RemoteRecordPending ( uint  inputid,
const ProgramInfo pginfo,
std::chrono::seconds  secsleft,
bool  hasLater 
)

Definition at line 50 of file tvremoteutil.cpp.

Referenced by TVRec::CancelNextRecording(), and TVRec::RecordPending().

◆ RemoteStopLiveTV()

bool RemoteStopLiveTV ( uint  inputid)

Definition at line 76 of file tvremoteutil.cpp.

◆ RemoteStopRecording() [1/2]

bool RemoteStopRecording ( uint  inputid)

◆ RemoteStopRecording() [2/2]

void RemoteStopRecording ( const ProgramInfo pginfo)

Definition at line 120 of file tvremoteutil.cpp.

◆ RemoteCancelNextRecording()

void RemoteCancelNextRecording ( uint  inputid,
bool  cancel 
)

Definition at line 128 of file tvremoteutil.cpp.

Referenced by TV::HandleOSDAskAllow().

◆ RemoteRequestFreeInputInfo()

std::vector<InputInfo> RemoteRequestFreeInputInfo ( uint  excluded_input)

◆ RemoteGetFreeRecorderCount()

int RemoteGetFreeRecorderCount ( void  )

Definition at line 168 of file tvremoteutil.cpp.

Referenced by isLiveTVAvailable(), TV::MenuLazyInit(), and TV::StartTV().

◆ RemoteRequestNextFreeRecorder()

RemoteEncoder* RemoteRequestNextFreeRecorder ( int  inputid)

Definition at line 180 of file tvremoteutil.cpp.

Referenced by TV::RequestNextRecorder(), and TV::SwitchInputs().

◆ RemoteRequestFreeRecorderList()

std::vector<uint> RemoteRequestFreeRecorderList ( uint  excluded_input)

Definition at line 227 of file tvremoteutil.cpp.

◆ RemoteRequestFreeInputList()

std::vector<uint> RemoteRequestFreeInputList ( uint  excluded_input)

Definition at line 245 of file tvremoteutil.cpp.

Referenced by GuideGrid::RunProgramGuide().

◆ RemoteRequestFreeRecorderFromList()

RemoteEncoder* RemoteRequestFreeRecorderFromList ( const QStringList &  qualifiedRecorders,
uint  excluded_input 
)

Definition at line 264 of file tvremoteutil.cpp.

Referenced by TV::ChangeChannel(), TV::HandleStateChange(), and TV::SwitchInputs().

◆ RemoteRequestRecorder()

RemoteEncoder* RemoteRequestRecorder ( void  )

Definition at line 291 of file tvremoteutil.cpp.

◆ RemoteGetExistingRecorder() [1/2]

RemoteEncoder* RemoteGetExistingRecorder ( const ProgramInfo pginfo)

◆ RemoteGetExistingRecorder() [2/2]

RemoteEncoder* RemoteGetExistingRecorder ( int  recordernum)

Definition at line 337 of file tvremoteutil.cpp.

◆ RemoteIsBusy()

bool RemoteIsBusy ( uint  inputid,
InputInfo busy_input 
)

◆ RemoteGetRecordingStatus()

bool RemoteGetRecordingStatus ( std::vector< TunerStatus > *  tunerList,
bool  list_inactive 
)

Definition at line 400 of file tvremoteutil.cpp.