MythTV  master
Functions
tvremoteutil.cpp File Reference
#include <chrono>
#include <thread>
#include "tvremoteutil.h"
#include "cardutil.h"
#include "inputinfo.h"
#include "programinfo.h"
#include "mythcorecontext.h"
#include "remoteencoder.h"
#include "tv_rec.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, int secsleft, bool hasLater)
 
bool RemoteStopLiveTV (uint inputid)
 
bool RemoteStopRecording (uint inputid)
 
void RemoteStopRecording (const ProgramInfo *pginfo)
 
void RemoteCancelNextRecording (uint inputid, bool cancel)
 
vector< InputInfoRemoteRequestFreeInputInfo (uint excluded_input)
 
int RemoteGetFreeRecorderCount (void)
 
RemoteEncoderRemoteRequestNextFreeRecorder (int inputid)
 
vector< uintRemoteRequestFreeRecorderList (uint excluded_input)
 
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 (vector< TunerStatus > *tunerList, bool list_inactive)
 

Function Documentation

◆ RemoteGetFlags()

uint RemoteGetFlags ( uint  inputid)

Definition at line 12 of file tvremoteutil.cpp.

◆ RemoteGetState()

uint RemoteGetState ( uint  inputid)

Definition at line 30 of file tvremoteutil.cpp.

Referenced by TVRec::StartRecording().

◆ RemoteRecordPending()

bool RemoteRecordPending ( uint  inputid,
const ProgramInfo pginfo,
int  secsleft,
bool  hasLater 
)

Definition at line 49 of file tvremoteutil.cpp.

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

◆ RemoteStopLiveTV()

bool RemoteStopLiveTV ( uint  inputid)

Definition at line 75 of file tvremoteutil.cpp.

◆ RemoteStopRecording() [1/2]

bool RemoteStopRecording ( uint  inputid)

◆ RemoteStopRecording() [2/2]

void RemoteStopRecording ( const ProgramInfo pginfo)

Definition at line 119 of file tvremoteutil.cpp.

◆ RemoteCancelNextRecording()

void RemoteCancelNextRecording ( uint  inputid,
bool  cancel 
)

Definition at line 127 of file tvremoteutil.cpp.

Referenced by TV::HandleOSDAskAllow().

◆ RemoteRequestFreeInputInfo()

vector<InputInfo> RemoteRequestFreeInputInfo ( uint  excluded_input)

◆ RemoteGetFreeRecorderCount()

int RemoteGetFreeRecorderCount ( void  )

Definition at line 167 of file tvremoteutil.cpp.

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

◆ RemoteRequestNextFreeRecorder()

RemoteEncoder* RemoteRequestNextFreeRecorder ( int  inputid)

Definition at line 179 of file tvremoteutil.cpp.

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

◆ RemoteRequestFreeRecorderList()

vector<uint> RemoteRequestFreeRecorderList ( uint  excluded_input)

Definition at line 226 of file tvremoteutil.cpp.

◆ RemoteRequestFreeInputList()

vector<uint> RemoteRequestFreeInputList ( uint  excluded_input)

Definition at line 244 of file tvremoteutil.cpp.

Referenced by GuideGrid::RunProgramGuide().

◆ RemoteRequestFreeRecorderFromList()

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

Definition at line 263 of file tvremoteutil.cpp.

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

◆ RemoteRequestRecorder()

RemoteEncoder* RemoteRequestRecorder ( void  )

Definition at line 293 of file tvremoteutil.cpp.

◆ RemoteGetExistingRecorder() [1/2]

RemoteEncoder* RemoteGetExistingRecorder ( const ProgramInfo pginfo)

◆ RemoteGetExistingRecorder() [2/2]

RemoteEncoder* RemoteGetExistingRecorder ( int  recordernum)

Definition at line 339 of file tvremoteutil.cpp.

◆ RemoteIsBusy()

bool RemoteIsBusy ( uint  inputid,
InputInfo busy_input 
)

◆ RemoteGetRecordingStatus()

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

Definition at line 402 of file tvremoteutil.cpp.