TV Class Reference

#include <tv_play.h>

List of all members.


Detailed Description

Definition at line 106 of file tv_play.h.


Public Slots

void HandleOSDClosed (int osdType)

Public Member Functions

 TV (void)
 Performs instance initialiation not requiring access to database.
 ~TV ()
bool Init (bool createWindow=true)
 Performs instance initialization, returns true on success.
void ProcessKeypress (QKeyEvent *e)
void ProcessNetworkControlCommand (const QString &command)
void customEvent (QCustomEvent *e)
bool HandleTrackAction (const QString &action)
int LiveTV (bool showDialogs=true, bool startInGuide=false)
 Starts LiveTV.
void StopLiveTV (void)
 This command is used to exit the player in order to record using the recording being used by LiveTV.
void AddPreviousChannel (void)
void PreviousChannel (void)
void EmbedOutput (WId wid, int x, int y, int w, int h)
void StopEmbeddingOutput (void)
bool IsEmbedding (void)
bool IsTunable (uint chanid, bool use_cache=false)
void ClearTunableCache (void)
void ChangeChannel (const DBChanList &options)
void DrawUnusedRects (bool sync)
int PlayFromRecorder (int recordernum)
int Playback (ProgramInfo *rcinfo)
void setLastProgram (ProgramInfo *rcinfo)
ProgramInfogetLastProgram (void)
ProgramInfogetCurrentProgram (void)
void setInPlayList (bool setting)
void setUnderNetworkControl (bool setting)
bool IsSameProgram (ProgramInfo *p)
void ShowNoRecorderDialog (void)
void FinishRecording (void)
void AskAllowRecording (const QStringList &, int, bool, bool)
void PromptStopWatchingRecording (void)
void PromptDeleteRecording (QString title)
bool PromptRecGroupPassword (void)
bool BookmarkAllowed (void)
bool DeleteAllowed (void)
bool IsPlaying (void) const
 Returns true if we are playing back a non-LiveTV recording.
bool IsRecording (void) const
 Returns true if we are watching a recording not currently in progress.
bool IsMenuRunning (void) const
 Returns true if the EPG is currently on screen.
bool IsSwitchingCards (void) const
 Returns true if we are currently in the process of switching recorders.
bool IsRunning (void) const
 Returns true if the TV event thread is running.
bool WantsToQuit (void) const
 Returns true if the user told MythTV to stop plaback.
bool getRequestDelete (void) const
 Returns true if the user told MythTV to delete the recording we were most recently playing.
bool getAllowRerecord (void) const
 Returns true if the user told Mythtv to allow re-recording of the show.
bool getEndOfRecording (void) const
 This is set to true if the player reaches the end of the recording without the user explicitly exiting the player.
bool getJumpToProgram (void) const
 This is set if the user asked MythTV to jump to the previous recording in the playlist.
bool IsErrored (void) const
 This is set if the player encountered some irrecoverable error.
bool IsVideoExitDialog (void)
 true if dialog is either videoplayexit, playexit or askdelete dialog
bool IsNearEnd (void) const
 true if NVP is near the end
int GetLastRecorderNum (void) const
TVState GetState (void) const
OSDGetOSD (void)
void SetCurrentlyPlaying (ProgramInfo *pginfo)
void GetNextProgram (RemoteEncoder *enc, int direction, InfoMap &infoMap)
 Fetches information on the desired program from the backend.
void SetIgnoreKeys (bool ignore)
void ChangeVolume (bool up)
void ToggleMute (void)

Static Public Member Functions

static void InitKeys (void)
static bool StartTV (ProgramInfo *tvrec=NULL, bool startInGuide=false, bool inPlaylist=false, bool initByNetworkCommand=false)
static void SetFuncPtr (const char *, void *)
 Import pointers to functions used to embed the TV window into other containers e.g.

Protected Slots

void SetPreviousChannel (void)
void UnMute (void)
 If the player exists and sound is muted, this unmutes the sound.
void KeyRepeatOK (void)
void BrowseEndTimer (void)
void SleepEndTimer (void)
void IdleDialog (void)
 After idleTimer has expired, display a dialogue warning the user that we will exit LiveTV unless they take action. We change idleTimer, to 45 seconds and when it expires for a second time we quit the player. If the user so decides, they may hit ok and we reset the timer back to the default expiry period.
void TreeMenuEntered (OSDListTreeType *tree, OSDGenericTree *item)
void TreeMenuSelected (OSDListTreeType *tree, OSDGenericTree *item)

Protected Member Functions

void doEditSchedule (int editType=kScheduleProgramGuide)
void RunTV (void)
void SetMuteTimer (int timeout)
bool eventFilter (QObject *o, QEvent *e)

Static Protected Member Functions

static void * RecordedShowMenuHandler (void *param)
static void * ViewScheduledMenuHandler (void *param)
static void * EventThread (void *param)

Static Protected Attributes

static QStringList lastProgramStringList = QStringList()
static RUNPLAYBACKBOX RunPlaybackBoxPtr = NULL
static RUNVIEWSCHEDULED RunViewScheduledPtr = NULL
 \ brief function pointer for RunViewScheduled in viewscheduled.cpp

Private Types

enum  ArbSeekWhence { ARBSEEK_SET = 0, ARBSEEK_REWIND, ARBSEEK_FORWARD, ARBSEEK_END }
enum  commSkipMode { CommSkipOff = 0, CommSkipOn = 1, CommSkipNotify = 2, CommSkipModes = 3 }

Private Member Functions

bool RequestNextRecorder (bool showDialogs)
void DeleteRecorder ()
bool StartRecorder (RemoteEncoder *rec, int maxWait=-1)
 Starts recorder, must be called before StartPlayer().
bool StartPlayer (bool isWatchingRecording, int maxWait=-1)
 Starts player, must be called after StartRecorder().
void StartOSD (void)
 Initializes the on screen display.
void StopStuff (bool stopRingbuffers, bool stopPlayers, bool stopRecorders)
 Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders.
void ToggleChannelFavorite (void)
void ChangeChannel (int direction)
void ChangeChannel (uint chanid, const QString &channum)
void PauseLiveTV (void)
 Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output.
void UnpauseLiveTV (void)
 Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output.
void ToggleAspectOverride (AspectOverrideMode aspectMode=kAspect_Toggle)
void ToggleAdjustFill (AdjustFillMode adjustfillMode=kAdjustFill_Toggle)
bool FillMenuTracks (OSDGenericTree *, uint type)
void ChangeTrack (uint type, int dir)
void SetTrack (uint type, int trackNo)
void AddKeyToInputQueue (char key)
void ClearInputQueues (bool hideosd=false)
 Clear channel key buffer of input keys.
bool CommitQueuedInput (void)
bool ProcessSmartChannel (QString &)
bool HasQueuedInput (void) const
bool HasQueuedChannel (void) const
QString GetQueuedInput (void) const
int GetQueuedInputAsInt (bool *ok=NULL, int base=10) const
QString GetQueuedChanNum (void) const
uint GetQueuedChanID (void) const
void SwitchSource (uint source_direction)
void SwitchInputs (uint inputid)
void ToggleInputs (uint inputid=0)
void SwitchCards (uint chanid=0, QString channum="", uint inputid=0)
void ToggleSleepTimer (void)
void ToggleSleepTimer (const QString)
void DoPlay (void)
void DoPause (bool showOSD=true)
void DoSeek (float time, const QString &mesg)
bool DoNVPSeek (float time)
void DoArbSeek (ArbSeekWhence whence)
void NormalSpeed (void)
void ChangeSpeed (int direction)
void ToggleTimeStretch (void)
void ChangeTimeStretch (int dir, bool allowEdit=true)
void ChangeAudioSync (int dir, bool allowEdit=true)
float StopFFRew (void)
void ChangeFFRew (int direction)
void SetFFRew (int index)
void DoSkipCommercials (int direction)
void StartProgramEditMode (void)
 Starts Program Cut Map Editing mode.
void StartChannelEditMode (void)
 Starts channel editing mode.
void ChannelEditKey (const QKeyEvent *)
 Processes channel editing key.
void ChannelEditAutoFill (InfoMap &) const
 Automatically fills in as much information as possible.
void ChannelEditAutoFill (InfoMap &, const QMap< QString, bool > &) const
 Automatically fills in as much information as possible.
void ChannelEditXDSFill (InfoMap &) const
void ChannelEditDDFill (InfoMap &, const QMap< QString, bool > &, bool) const
QString GetDataDirect (QString key, QString value, QString field, bool allow_partial=false) const
bool LoadDDMap (uint sourceid)
void RunLoadDDMap (uint sourceid)
void DoQueueTranscode (QString profile)
void SetAutoCommercialSkip (enum commSkipMode skipMode=CommSkipOff)
void SetManualZoom (bool zoomON=false)
void DoDisplayJumpMenu (void)
void SetJumpToProgram (QString progKey="", int progIndex=0)
bool ClearOSD (void)
void ToggleOSD (bool includeStatusOSD)
 Cycle through the available Info OSDs.
void UpdateOSDProgInfo (const char *whichInfo)
 Update and display the passed OSD set with programinfo.
void UpdateOSDSeekMessage (const QString &mesg, int disptime)
void UpdateOSDInput (QString inputname=QString::null)
void UpdateOSDTextEntry (const QString &message)
void UpdateOSDSignal (const QStringList &strlist)
 Updates Signal portion of OSD.
void UpdateOSDTimeoutMessage (void)
void UpdateOSDAskAllowDialog (void)
void HandleOSDAskAllowResponse (void)
void EditSchedule (int editType=kScheduleProgramGuide)
void EmbedWithNewThread (int editType)
 create new thread to invoke function pointers used for embedding the tv player in other containers.
void SetupPlayer (bool isWatchingRecording)
void TeardownPlayer (void)
void SetupPipPlayer (void)
void TeardownPipPlayer (void)
void HandleStateChange (void)
 Changes the state to the state on the front of the state change queue.
bool InStateChange (void) const
 Returns true if there is a state change queued up.
void ChangeState (TVState nextState)
 Puts a state change on the nextState queue.
void ForceNextStateNone (void)
 Removes any pending state changes, and puts kState_None on the queue.
void TogglePIPView (void)
void ToggleActiveWindow (void)
void SwapPIP (void)
void SwapPIPSoon (void)
void DisplayJumpMenuSoon (void)
void ToggleAutoExpire (void)
void BrowseStart (void)
 Begins channel browsing.
void BrowseEnd (bool change)
 Ends channel browsing.
void BrowseDispInfo (int direction)
 Fetches browse info from backend and sends it to the OSD.
void ToggleRecord (void)
void BrowseChannel (const QString &channum)
void DoTogglePictureAttribute (PictureAdjustType type)
void DoChangePictureAttribute (PictureAdjustType type, PictureAttribute attr, bool up)
void BuildOSDTreeMenu (void)
void ShowOSDTreeMenu (void)
void FillMenuLiveTV (OSDGenericTree *treeMenu)
void FillMenuPlaying (OSDGenericTree *treeMenu)
void UpdateLCD (void)
void ShowLCDChannelInfo (void)
void ShowLCDDVDInfo (void)
QString PlayMesg (void)
void GetPlayGroupSettings (const QString &group)
void SetPseudoLiveTV (uint, const ProgramInfo *, PseudoState)
void ITVRestart (bool isLive)
bool ScreenShot (long long frameNumber)
bool VideoThemeCheck (QString str, bool stayPaused=false)
 Used by EditSchedule().
void DVDJumpBack (void)
void DVDJumpForward (void)

Static Private Member Functions

static void * load_dd_map_thunk (void *)
static void * load_dd_map_post_thunk (void *)
static bool LoadExternalSubtitles (NuppelVideoPlayer *nvp, const QString &videoFile)
static QStringList GetValidRecorderList (uint chanid)
 Returns list of the recorders that have chanid in their sources.
static QStringList GetValidRecorderList (const QString &channum)
 Returns list of the recorders that have channum in their sources.
static QStringList GetValidRecorderList (uint, const QString &)
 Returns list of the recorders that have chanid or channum in their sources.
static bool StateIsRecording (TVState state)
static bool StateIsPlaying (TVState state)
static bool StateIsLiveTV (TVState state)
static TVState RemovePlaying (TVState state)
static TVState RemoveRecording (TVState state)

Private Attributes

QString baseFilters
QString db_channel_format
QString db_time_format
QString db_short_date_format
int fftime
int rewtime
int jumptime
bool smartChannelChange
bool MuteIndividualChannels
bool arrowAccel
int osd_general_timeout
int osd_prog_info_timeout
enum commSkipMode autoCommercialSkip
bool tryUnflaggedSkip
bool smartForward
int stickykeys
float ff_rew_repos
bool ff_rew_reverse
bool jumped_back
 Used by PromptDeleteRecording.
vector< int > ff_rew_speeds
uint vbimode
MythDeque< TVStatenextStates
QMutex stateLock
TVState internalState
uint switchToInputId
bool menurunning
bool runMainLoop
bool wantsToQuit
bool exitPlayer
bool paused
bool errored
bool stretchAdjustment
 True if time stretch is turned on.
bool audiosyncAdjustment
 True if audiosync is turned on.
long long audiosyncBaseline
bool editmode
 Are we in video editing mode.
bool zoomMode
bool sigMonMode
 Are we in signal monitoring mode?
bool update_osd_pos
 Redisplay osd?
bool endOfRecording
 !nvp->IsPlaying() && StateIsPlaying(internalState)
bool requestDelete
 User wants last video deleted.
bool allowRerecord
 User wants to rerecord the last video if deleted.
bool doSmartForward
bool queuedTranscode
bool getRecorderPlaybackInfo
 Main loop should get recorderPlaybackInfo.
PictureAdjustType adjustingPicture
 Picture attribute type to modify.
PictureAttribute adjustingPictureAttribute
 Picture attribute to modify (on arrow left or right).
AskAllowType askAllowType
QMap< QString, AskProgramInfoaskAllowPrograms
QMutex askAllowLock
bool ignoreKeys
bool needToSwapPIP
bool needToJumpMenu
QMap< QString, ProgramListprogLists
QMutex chanEditMapLock
 Lock for chanEditMap and ddMap.
InfoMap chanEditMap
 Channel Editing initial map.
DDKeyMap ddMap
 DataDirect channel map.
uint ddMapSourceId
 DataDirect channel map sourceid.
bool ddMapLoaderRunning
 Is DataDirect loader thread running.
pthread_t ddMapLoader
 DataDirect map loader thread.
vector< SleepTimerInfosleep_times
 Vector or sleep timer sleep times in seconds, with the appropriate UI message.
uint sleep_index
 Index into sleep_times.
QTimer * sleepTimer
 Timer for turning off playback.
QTimer * idleTimer
 Timer for turning off playback after idle period.
QPtrList< QKeyEvent > keyList
 Queue of unprocessed key presses.
QMutex keyListLock
 Since keys are processed outside Qt event loop, we need a lock.
bool keyRepeat
 Are repeats logical on last key?
QTimer * keyrepeatTimer
 Timeout timer for repeat key filtering.
int doing_ff_rew
 If true we are doing a rewind not a fast forward.
int ff_rew_index
 Index into ff_rew_speeds for FF and Rewind speeds.
int speed_index
 Caches value of ff_rew_speeds[ff_rew_index].
float normal_speed
 Time stretch speed, 1.0f for normal playback.
float prev_speed
float frameRate
 Estimated framerate from recorder.
bool ccInputMode
 Are we in CC/Teletext page/stream selection mode?
QTime ccInputModeExpires
 When does ccInputMode expire.
bool asInputMode
 Are we in Arbitrary seek input mode?
QTime asInputModeExpires
 When does asInputMode expire.
QString queuedInput
 Input key presses queued up so far...
QString queuedChanNum
 Input key presses queued up so far to form a valid ChanNum.
uint queuedChanID
 Queued ChanID (from EPG channel selector).
QMutex queuedInputLock
 Lock used so that input QStrings can be used across threads, and so that queuedChanNumExpr can be used safely in Qt 3.2 and earlier.
QTimer * muteTimer
 For temp. audio muting during channel changes.
QTime lockTimer
bool lockTimerOn
QDateTime lastLockSeenTime
str_vec_t prevChan
 Previous channels.
uint prevChanKeyCnt
 Number of repeated channel button presses.
QTimer * prevChanTimer
 Special (slower) repeat key filtering.
bool browsemode
bool persistentbrowsemode
QTimer * browseTimer
QString browsechannum
QString browsechanid
QString browsestarttime
ProgramInforecorderPlaybackInfo
 info requested from recorder
ProgramInfoplaybackinfo
 info sent in via Playback()
QMutex pbinfoLock
int playbackLen
 initial playbackinfo->CalculateLength()
ProgramInfolastProgram
 last program played with this player
bool jumpToProgram
bool inPlaylist
 show is part of a playlist
bool underNetworkControl
 initial show started via by the network control interface
bool isnearend
ProgramInfopseudoLiveTVRec [2]
PseudoState pseudoLiveTVState [2]
NuppelVideoPlayernvp
NuppelVideoPlayerpipnvp
NuppelVideoPlayeractivenvp
 Player to which LiveTV events are sent.
RemoteEncoderrecorder
 Main recorder.
RemoteEncoderpiprecorder
 Picture-in-Picture recorder.
RemoteEncoderactiverecorder
 Recorder to which LiveTV events are being sent.
RemoteEncoderswitchToRec
 Main recorder to use after a successful SwitchCards() call.
int lastrecordernum
 Storage for keeping the last recorder number around.
LiveTVChaintvchain
LiveTVChainpiptvchain
QStringList tvchainUpdate
QMutex tvchainUpdateLock
RingBufferprbuffer
RingBufferpiprbuffer
RingBufferactiverbuffer
 Ringbuffer to which LiveTV events are sent.
QString dialogname
 Name of current OSD dialog.
OSDGenericTreetreeMenu
 OSD menu, 'm' using default keybindings.
MythTimer dialogboxTimer
 How long a dialog box is on the screen.
UDPNotifyudpnotify
 UDPNotify instance which shows messages sent to the "UDPNotifyPort" in an OSD dialog.
QStringList lastSignalMsg
MythTimer lastSignalMsgTime
InfoMap lastSignalUIInfo
MythTimer lastSignalUIInfoTime
QMutex osdlock
QDateTime lastLcdUpdate
QString lcdTitle
QString lcdSubtitle
QString lcdCallsign
MythDialogmyWindow
 Our MythDialog window, if it exists.
WId embedWinID
 Window ID when embedded in another widget.
QRect embedBounds
 Bounds when embedded in another widget.
QRect player_bounds
 Prior GUI window bounds, for doEditSchedule() and player exit().
QRect saved_gui_bounds
QMutex is_tunable_cache_lock
QMap< uint, vector< InputInfo > > is_tunable_cache_inputs
pthread_t event
 Event processing thread, runs RunTV().
pthread_t decode
 Video decoder thread, runs nvp's NuppelVideoPlayer::StartPlaying().
pthread_t pipdecode
 Picture-in-Picture video decoder thread, runs pipnvp's NuppelVideoPlayer::StartPlaying().
QWaitCondition mainLoopCond
 Condition to signal that the Event thread is up and running.
QMutex mainLoopCondLock
QValueList< QString > networkControlCommands
QMutex ncLock

Static Private Attributes

static const int kInitFFRWSpeed = 0
 1x, default to normal speed
static const int kMuteTimeout = 800
 Channel changing mute timeout in msec.
static const int kLCDTimeout = 1
 Timeout for updating LCD info in seconds.
static const int kBrowseTimeout = 30000
 Timeout for browse mode exit in msec.
static const int kSMExitTimeout = 2000
 Timeout after last Signal Monitor message for ignoring OSD when exiting.
static const int kInputKeysMax = 6
 When to start discarding early keys.
static const int kInputModeTimeout = 5000
 Timeout for entry modes in msec.
static const uint kNextSource = 1
static const uint kPreviousSource = 2

Classes

class  SleepTimerInfo
 Helper class for Sleep Timer code. More...

Member Enumeration Documentation

enum TV::ArbSeekWhence [private]

Enumerator:
ARBSEEK_SET 
ARBSEEK_REWIND 
ARBSEEK_FORWARD 
ARBSEEK_END 

Definition at line 306 of file tv_play.h.

enum TV::commSkipMode [private]

Enumerator:
CommSkipOff 
CommSkipOn 
CommSkipNotify 
CommSkipModes 

Definition at line 340 of file tv_play.h.


Constructor & Destructor Documentation

TV::TV ( void   ) 

Performs instance initialiation not requiring access to database.

See also:
Init(void)

Definition at line 502 of file tv_play.cpp.

Referenced by StartTV().

TV::~TV ( void   ) 

Definition at line 741 of file tv_play.cpp.


Member Function Documentation

bool TV::Init ( bool  createWindow = true  ) 

Performs instance initialization, returns true on success.

Parameters:
createWindow If true a MythDialog is created for display.
Returns:
Returns true on success, false on failure.

Definition at line 618 of file tv_play.cpp.

Referenced by main(), ManualBox::startPlayer(), and StartTV().

void TV::ProcessKeypress ( QKeyEvent *  e  ) 

Definition at line 2568 of file tv_play.cpp.

Referenced by ManualBox::eventFilter(), and RunTV().

void TV::ProcessNetworkControlCommand ( const QString &  command  ) 

Definition at line 3552 of file tv_play.cpp.

Referenced by RunTV().

void TV::customEvent ( QCustomEvent *  e  ) 

Definition at line 6284 of file tv_play.cpp.

Referenced by eventFilter().

bool TV::HandleTrackAction ( const QString &  action  ) 

Definition at line 2480 of file tv_play.cpp.

Referenced by CommitQueuedInput(), ProcessKeypress(), and TreeMenuSelected().

int TV::LiveTV ( bool  showDialogs = true,
bool  startInGuide = false 
)

Starts LiveTV.

Parameters:
showDialogs if true error dialogs are shown, if false they are not
startInGuide if true the EPG will be shown upon entering LiveTV

Definition at line 876 of file tv_play.cpp.

Referenced by ManualBox::startPlayer(), and StartTV().

void TV::StopLiveTV ( void   )  [inline]

This command is used to exit the player in order to record using the recording being used by LiveTV.

Definition at line 135 of file tv_play.h.

Referenced by HandleOSDAskAllowResponse(), and StartTV().

void TV::AddPreviousChannel ( void   ) 

Definition at line 5087 of file tv_play.cpp.

Referenced by ChangeChannel(), and UnpauseLiveTV().

void TV::PreviousChannel ( void   ) 

Definition at line 5100 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::EmbedOutput ( WId  wid,
int  x,
int  y,
int  w,
int  h 
)

void TV::StopEmbeddingOutput ( void   ) 

bool TV::IsEmbedding ( void   ) 

Definition at line 5763 of file tv_play.cpp.

Referenced by doEditSchedule(), and RunTV().

bool TV::IsTunable ( uint  chanid,
bool  use_cache = false 
)

void TV::ClearTunableCache ( void   ) 

Definition at line 5741 of file tv_play.cpp.

Referenced by GuideGrid::paintChannels().

void TV::ChangeChannel ( const DBChanList options  ) 

void TV::DrawUnusedRects ( bool  sync  ) 

Definition at line 5770 of file tv_play.cpp.

Referenced by PlaybackBox::drawVideo(), and GuideGrid::paintEvent().

int TV::PlayFromRecorder ( int  recordernum  ) 

Definition at line 1382 of file tv_play.cpp.

int TV::Playback ( ProgramInfo rcinfo  ) 

Definition at line 1352 of file tv_play.cpp.

Referenced by PlayFromRecorder(), and StartTV().

void TV::setLastProgram ( ProgramInfo rcinfo  ) 

Definition at line 8568 of file tv_play.cpp.

Referenced by doEditSchedule(), RunTV(), SetJumpToProgram(), and StartTV().

ProgramInfo* TV::getLastProgram ( void   )  [inline]

Definition at line 155 of file tv_play.h.

Referenced by StartTV().

ProgramInfo* TV::getCurrentProgram ( void   )  [inline]

Definition at line 156 of file tv_play.h.

Referenced by PlaybackBox::PlaybackBox().

void TV::setInPlayList ( bool  setting  )  [inline]

Definition at line 157 of file tv_play.h.

Referenced by StartTV().

void TV::setUnderNetworkControl ( bool  setting  )  [inline]

Definition at line 158 of file tv_play.h.

Referenced by StartTV().

bool TV::IsSameProgram ( ProgramInfo p  ) 

void TV::ShowNoRecorderDialog ( void   ) 

Definition at line 8131 of file tv_play.cpp.

Referenced by ChangeChannel(), and RequestNextRecorder().

void TV::FinishRecording ( void   ) 

Definition at line 983 of file tv_play.cpp.

Referenced by ManualBox::stopClicked().

void TV::AskAllowRecording ( const QStringList &  msg,
int  timeuntil,
bool  hasrec,
bool  haslater 
)

Definition at line 991 of file tv_play.cpp.

Referenced by customEvent().

void TV::PromptStopWatchingRecording ( void   ) 

Definition at line 8473 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::PromptDeleteRecording ( QString  title  ) 

Definition at line 8514 of file tv_play.cpp.

Referenced by ProcessKeypress(), and RunTV().

bool TV::PromptRecGroupPassword ( void   ) 

Definition at line 8587 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

bool TV::BookmarkAllowed ( void   ) 

Definition at line 8444 of file tv_play.cpp.

Referenced by ProcessKeypress(), and PromptStopWatchingRecording().

bool TV::DeleteAllowed ( void   ) 

Definition at line 8464 of file tv_play.cpp.

Referenced by ProcessKeypress(), and PromptStopWatchingRecording().

bool TV::IsPlaying ( void   )  const [inline]

Returns true if we are playing back a non-LiveTV recording.

Definition at line 172 of file tv_play.h.

Referenced by PlaybackBox::PlaybackBox().

bool TV::IsRecording ( void   )  const [inline]

Returns true if we are watching a recording not currently in progress.

Definition at line 174 of file tv_play.h.

Referenced by FinishRecording(), ManualBox::startPlayer(), and ManualBox::timeout().

bool TV::IsMenuRunning ( void   )  const [inline]

Returns true if the EPG is currently on screen.

Definition at line 176 of file tv_play.h.

Referenced by StartTV().

bool TV::IsSwitchingCards ( void   )  const [inline]

Returns true if we are currently in the process of switching recorders.

Definition at line 178 of file tv_play.h.

bool TV::IsRunning ( void   )  const [inline]

Returns true if the TV event thread is running.

Should always be true between the end of the constructor and the beginning of the destructor.

Definition at line 181 of file tv_play.h.

Referenced by GuideGrid::GuideGrid(), PlaybackBox::PlaybackBox(), GuideGrid::timeCheckTimeout(), and ViewScheduled::ViewScheduled().

bool TV::WantsToQuit ( void   )  const [inline]

Returns true if the user told MythTV to stop plaback.

If this is false when we exit the player, we display an error screen.

Definition at line 184 of file tv_play.h.

Referenced by StartTV().

bool TV::getRequestDelete ( void   )  const [inline]

Returns true if the user told MythTV to delete the recording we were most recently playing.

Definition at line 187 of file tv_play.h.

Referenced by StartTV().

bool TV::getAllowRerecord ( void   )  const [inline]

Returns true if the user told Mythtv to allow re-recording of the show.

Definition at line 189 of file tv_play.h.

Referenced by StartTV().

bool TV::getEndOfRecording ( void   )  const [inline]

This is set to true if the player reaches the end of the recording without the user explicitly exiting the player.

Definition at line 192 of file tv_play.h.

Referenced by StartTV().

bool TV::getJumpToProgram ( void   )  const [inline]

This is set if the user asked MythTV to jump to the previous recording in the playlist.

Definition at line 195 of file tv_play.h.

Referenced by StartTV().

bool TV::IsErrored ( void   )  const [inline]

This is set if the player encountered some irrecoverable error.

Definition at line 197 of file tv_play.h.

Referenced by HandleStateChange(), Init(), and RunTV().

bool TV::IsVideoExitDialog ( void   ) 

true if dialog is either videoplayexit, playexit or askdelete dialog

Definition at line 8559 of file tv_play.cpp.

Referenced by ProcessKeypress(), and RunTV().

bool TV::IsNearEnd ( void   )  const [inline]

true if NVP is near the end

Definition at line 201 of file tv_play.h.

int TV::GetLastRecorderNum ( void   )  const

Definition at line 931 of file tv_play.cpp.

TVState TV::GetState ( void   )  const

OSD * TV::GetOSD ( void   ) 

void TV::SetCurrentlyPlaying ( ProgramInfo pginfo  ) 

void TV::GetNextProgram ( RemoteEncoder enc,
int  direction,
InfoMap infoMap 
)

Fetches information on the desired program from the backend.

Parameters:
enc RemoteEncoder to query, if null query the activerecorder.
direction BrowseDirection to get information on.
infoMap InfoMap to fill in with returned data

Definition at line 5592 of file tv_play.cpp.

Referenced by BrowseDispInfo().

void TV::InitKeys ( void   )  [static]

Definition at line 273 of file tv_play.cpp.

Referenced by InitJumpPoints(), and main().

bool TV::StartTV ( ProgramInfo tvrec = NULL,
bool  startInGuide = false,
bool  inPlaylist = false,
bool  initByNetworkCommand = false 
) [static]

void TV::SetFuncPtr ( const char *  string,
void *  lptr 
) [static]

Import pointers to functions used to embed the TV window into other containers e.g.

playbackbox

Definition at line 264 of file tv_play.cpp.

Referenced by InitJumpPoints().

void TV::SetIgnoreKeys ( bool  ignore  )  [inline]

void TV::ChangeVolume ( bool  up  ) 

void TV::ToggleMute ( void   ) 

Definition at line 6101 of file tv_play.cpp.

Referenced by ProcessKeypress(), and GuideGrid::toggleMute().

void TV::HandleOSDClosed ( int  osdType  )  [slot]

Definition at line 6706 of file tv_play.cpp.

void TV::SetPreviousChannel ( void   )  [protected, slot]

Definition at line 5131 of file tv_play.cpp.

Referenced by TV().

void TV::UnMute ( void   )  [protected, slot]

If the player exists and sound is muted, this unmutes the sound.

Definition at line 6274 of file tv_play.cpp.

Referenced by TV().

void TV::KeyRepeatOK ( void   )  [protected, slot]

Definition at line 6255 of file tv_play.cpp.

Referenced by TV().

void TV::BrowseEndTimer ( void   )  [inline, protected, slot]

Definition at line 234 of file tv_play.h.

Referenced by TV().

void TV::SleepEndTimer ( void   )  [protected, slot]

Definition at line 6164 of file tv_play.cpp.

Referenced by TV().

void TV::IdleDialog ( void   )  [protected, slot]

After idleTimer has expired, display a dialogue warning the user that we will exit LiveTV unless they take action. We change idleTimer, to 45 seconds and when it expires for a second time we quit the player. If the user so decides, they may hit ok and we reset the timer back to the default expiry period.

Definition at line 6178 of file tv_play.cpp.

Referenced by TV().

void TV::TreeMenuEntered ( OSDListTreeType tree,
OSDGenericTree item 
) [protected, slot]

Definition at line 6837 of file tv_play.cpp.

Referenced by DoDisplayJumpMenu(), and ShowOSDTreeMenu().

void TV::TreeMenuSelected ( OSDListTreeType tree,
OSDGenericTree item 
) [protected, slot]

Definition at line 7271 of file tv_play.cpp.

Referenced by DoDisplayJumpMenu(), and ShowOSDTreeMenu().

void TV::doEditSchedule ( int  editType = kScheduleProgramGuide  )  [protected]

Definition at line 5826 of file tv_play.cpp.

Referenced by customEvent(), RecordedShowMenuHandler(), and ViewScheduledMenuHandler().

void * TV::RecordedShowMenuHandler ( void *  param  )  [static, protected]

Definition at line 5783 of file tv_play.cpp.

Referenced by EmbedWithNewThread().

void * TV::ViewScheduledMenuHandler ( void *  param  )  [static, protected]

Definition at line 5776 of file tv_play.cpp.

Referenced by EmbedWithNewThread().

void TV::RunTV ( void   )  [protected]

Definition at line 2084 of file tv_play.cpp.

Referenced by EventThread().

void * TV::EventThread ( void *  param  )  [static, protected]

Definition at line 2076 of file tv_play.cpp.

Referenced by Init().

void TV::SetMuteTimer ( int  timeout  )  [protected]

Definition at line 6260 of file tv_play.cpp.

Referenced by ChangeChannel(), DoNVPSeek(), and DoSkipCommercials().

bool TV::eventFilter ( QObject *  o,
QEvent *  e 
) [protected]

Definition at line 2447 of file tv_play.cpp.

bool TV::RequestNextRecorder ( bool  showDialogs  )  [private]

Definition at line 949 of file tv_play.cpp.

Referenced by LiveTV().

void TV::DeleteRecorder (  )  [private]

bool TV::StartRecorder ( RemoteEncoder rec,
int  maxWait = -1 
) [private]

Starts recorder, must be called before StartPlayer().

Parameters:
maxWait How long to wait for RecorderBase to start recording.
Returns:
true when successful, false otherwise.

Definition at line 1758 of file tv_play.cpp.

Referenced by HandleStateChange(), SwitchCards(), and TogglePIPView().

bool TV::StartPlayer ( bool  isWatchingRecording,
int  maxWait = -1 
) [private]

Starts player, must be called after StartRecorder().

Parameters:
maxWait How long to wait for NuppelVideoPlayer to start playing.
Returns:
true when successful, false otherwise.

Definition at line 1787 of file tv_play.cpp.

Referenced by HandleStateChange(), SwapPIP(), and SwitchCards().

void TV::StartOSD ( void   )  [private]

Initializes the on screen display.

If the NuppelVideoPlayer already exists we grab it's OSD via NuppelVideoPlayer::GetOSD().

Definition at line 1827 of file tv_play.cpp.

Referenced by StartPlayer().

void TV::StopStuff ( bool  stopRingbuffers,
bool  stopPlayers,
bool  stopRecorders 
) [private]

Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders.

The player needs to be partially shutdown before the recorder, and partially shutdown after the recorder. Hence these are shutdown from within the same method. Also, shutting down things in the right order avoids spewing error messages...

Parameters:
stopRingBuffers Set to true if ringbuffer must be shut down.
stopPlayers Set to true if player must be shut down.
stopRecorders Set to true if recorder must be shut down.

Definition at line 1850 of file tv_play.cpp.

Referenced by HandleStateChange(), and SwitchCards().

void TV::ToggleChannelFavorite ( void   )  [private]

Definition at line 4707 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::ChangeChannel ( int  direction  )  [private]

Definition at line 4712 of file tv_play.cpp.

void TV::ChangeChannel ( uint  chanid,
const QString &  channum 
) [private]

Definition at line 4969 of file tv_play.cpp.

void TV::PauseLiveTV ( void   )  [private]

Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output.

Definition at line 8162 of file tv_play.cpp.

Referenced by ChangeChannel(), ProcessKeypress(), and ToggleInputs().

void TV::UnpauseLiveTV ( void   )  [private]

Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output.

Definition at line 8198 of file tv_play.cpp.

Referenced by ChangeChannel(), ProcessKeypress(), SwitchCards(), and ToggleInputs().

void TV::ToggleAspectOverride ( AspectOverrideMode  aspectMode = kAspect_Toggle  )  [private]

Definition at line 6215 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::ToggleAdjustFill ( AdjustFillMode  adjustfillMode = kAdjustFill_Toggle  )  [private]

Definition at line 6224 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

bool TV::FillMenuTracks ( OSDGenericTree treeMenu,
uint  type 
) [private]

Definition at line 7794 of file tv_play.cpp.

Referenced by BuildOSDTreeMenu().

void TV::ChangeTrack ( uint  type,
int  dir 
) [private]

Definition at line 7869 of file tv_play.cpp.

void TV::SetTrack ( uint  type,
int  trackNo 
) [private]

Definition at line 7883 of file tv_play.cpp.

void TV::AddKeyToInputQueue ( char  key  )  [private]

Definition at line 4804 of file tv_play.cpp.

Referenced by HandleTrackAction(), and ProcessKeypress().

void TV::ClearInputQueues ( bool  hideosd = false  )  [private]

Clear channel key buffer of input keys.

Parameters:
hideosd if true, hides "channel_number" OSDSet.

Definition at line 4793 of file tv_play.cpp.

Referenced by ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), ProcessKeypress(), and RunTV().

bool TV::CommitQueuedInput ( void   )  [private]

bool TV::ProcessSmartChannel ( QString &  inputStr  )  [private]

Definition at line 4848 of file tv_play.cpp.

Referenced by AddKeyToInputQueue().

bool TV::HasQueuedInput ( void   )  const [inline, private]

Definition at line 283 of file tv_play.h.

Referenced by ClearOSD(), CommitQueuedInput(), and ProcessKeypress().

bool TV::HasQueuedChannel ( void   )  const [inline, private]

Definition at line 285 of file tv_play.h.

Referenced by ClearOSD(), and RunTV().

QString TV::GetQueuedInput ( void   )  const [private]

Definition at line 4755 of file tv_play.cpp.

Referenced by AddKeyToInputQueue(), and CommitQueuedInput().

int TV::GetQueuedInputAsInt ( bool ok = NULL,
int  base = 10 
) const [private]

Definition at line 4761 of file tv_play.cpp.

Referenced by DoArbSeek(), and HandleTrackAction().

QString TV::GetQueuedChanNum ( void   )  const [private]

Definition at line 4767 of file tv_play.cpp.

Referenced by CommitQueuedInput(), and ProcessSmartChannel().

uint TV::GetQueuedChanID ( void   )  const [inline, private]

Definition at line 292 of file tv_play.h.

Referenced by CommitQueuedInput().

void TV::SwitchSource ( uint  source_direction  )  [private]

Definition at line 4438 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::SwitchInputs ( uint  inputid  )  [private]

Definition at line 4509 of file tv_play.cpp.

Referenced by RunTV().

void TV::ToggleInputs ( uint  inputid = 0  )  [private]

Definition at line 4654 of file tv_play.cpp.

Referenced by ProcessKeypress(), and SwitchInputs().

void TV::SwitchCards ( uint  chanid = 0,
QString  channum = "",
uint  inputid = 0 
) [private]

Definition at line 4524 of file tv_play.cpp.

Referenced by ChangeChannel(), ProcessKeypress(), and SwitchInputs().

void TV::ToggleSleepTimer ( void   )  [private]

Definition at line 6134 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::ToggleSleepTimer ( const   QString  )  [private]

Definition at line 7981 of file tv_play.cpp.

void TV::DoPlay ( void   )  [private]

Definition at line 4054 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::DoPause ( bool  showOSD = true  )  [private]

void TV::DoSeek ( float  time,
const QString &  mesg 
) [private]

bool TV::DoNVPSeek ( float  time  )  [private]

Definition at line 4155 of file tv_play.cpp.

Referenced by ChangeFFRew(), ChangeSpeed(), DoPause(), DoPlay(), DoSeek(), and ProcessKeypress().

void TV::DoArbSeek ( ArbSeekWhence  whence  )  [private]

Definition at line 4203 of file tv_play.cpp.

Referenced by CommitQueuedInput(), and ProcessKeypress().

void TV::NormalSpeed ( void   )  [private]

void TV::ChangeSpeed ( int  direction  )  [private]

Definition at line 4236 of file tv_play.cpp.

Referenced by ProcessKeypress(), and ProcessNetworkControlCommand().

void TV::ToggleTimeStretch ( void   )  [private]

Definition at line 6007 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::ChangeTimeStretch ( int  dir,
bool  allowEdit = true 
) [private]

void TV::ChangeAudioSync ( int  dir,
bool  allowEdit = true 
) [private]

Definition at line 6058 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

float TV::StopFFRew ( void   )  [private]

void TV::ChangeFFRew ( int  direction  )  [private]

Definition at line 4294 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::SetFFRew ( int  index  )  [private]

Definition at line 4328 of file tv_play.cpp.

Referenced by ChangeFFRew(), ProcessKeypress(), and ProcessNetworkControlCommand().

void TV::DoSkipCommercials ( int  direction  )  [private]

Definition at line 4403 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::StartProgramEditMode ( void   )  [private]

Starts Program Cut Map Editing mode.

Definition at line 6847 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::StartChannelEditMode ( void   )  [private]

Starts channel editing mode.

Definition at line 6906 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::ChannelEditKey ( const QKeyEvent *  e  )  [private]

Processes channel editing key.

Definition at line 6950 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::ChannelEditAutoFill ( InfoMap infoMap  )  const [private]

Automatically fills in as much information as possible.

Definition at line 6994 of file tv_play.cpp.

Referenced by ChannelEditKey(), RunLoadDDMap(), and StartChannelEditMode().

void TV::ChannelEditAutoFill ( InfoMap infoMap,
const QMap< QString, bool > &  changed 
) const [private]

Automatically fills in as much information as possible.

Definition at line 7003 of file tv_play.cpp.

void TV::ChannelEditXDSFill ( InfoMap infoMap  )  const [private]

Definition at line 7041 of file tv_play.cpp.

Referenced by ChannelEditAutoFill().

void TV::ChannelEditDDFill ( InfoMap infoMap,
const QMap< QString, bool > &  changed,
bool  check_unchanged 
) const [private]

Definition at line 7074 of file tv_play.cpp.

Referenced by ChannelEditAutoFill().

QString TV::GetDataDirect ( QString  key,
QString  value,
QString  field,
bool  allow_partial = false 
) const [private]

Definition at line 7134 of file tv_play.cpp.

Referenced by ChannelEditDDFill().

bool TV::LoadDDMap ( uint  sourceid  )  [private]

Definition at line 7218 of file tv_play.cpp.

Referenced by RunLoadDDMap().

void TV::RunLoadDDMap ( uint  sourceid  )  [private]

Definition at line 7189 of file tv_play.cpp.

Referenced by load_dd_map_thunk().

void * TV::load_dd_map_thunk ( void *  param  )  [static, private]

Definition at line 6887 of file tv_play.cpp.

Referenced by StartChannelEditMode().

void * TV::load_dd_map_post_thunk ( void *  param  )  [static, private]

Definition at line 6895 of file tv_play.cpp.

Referenced by ~TV().

void TV::DoQueueTranscode ( QString  profile  )  [private]

Definition at line 4355 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::SetAutoCommercialSkip ( enum commSkipMode  skipMode = CommSkipOff  )  [private]

Definition at line 7925 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::SetManualZoom ( bool  zoomON = false  )  [private]

Definition at line 7949 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::DoDisplayJumpMenu ( void   )  [private]

Definition at line 8629 of file tv_play.cpp.

Referenced by RunTV().

void TV::SetJumpToProgram ( QString  progKey = "",
int  progIndex = 0 
) [private]

Definition at line 7971 of file tv_play.cpp.

Referenced by TreeMenuSelected().

bool TV::ClearOSD ( void   )  [private]

void TV::ToggleOSD ( bool  includeStatusOSD  )  [private]

Cycle through the available Info OSDs.

Definition at line 5183 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::UpdateOSDProgInfo ( const char *  whichInfo  )  [private]

Update and display the passed OSD set with programinfo.

Definition at line 5254 of file tv_play.cpp.

Referenced by ToggleOSD(), and UnpauseLiveTV().

void TV::UpdateOSDSeekMessage ( const QString &  mesg,
int  disptime 
) [private]

void TV::UpdateOSDInput ( QString  inputname = QString::null  )  [private]

Definition at line 5287 of file tv_play.cpp.

Referenced by HandleStateChange(), SwitchCards(), and ToggleInputs().

void TV::UpdateOSDTextEntry ( const QString &  message  )  [private]

Definition at line 4910 of file tv_play.cpp.

Referenced by AddKeyToInputQueue(), and ProcessKeypress().

void TV::UpdateOSDSignal ( const QStringList &  strlist  )  [private]

Updates Signal portion of OSD.

..

Definition at line 5309 of file tv_play.cpp.

Referenced by customEvent(), and RunTV().

void TV::UpdateOSDTimeoutMessage ( void   )  [private]

Definition at line 5451 of file tv_play.cpp.

Referenced by RunTV().

void TV::UpdateOSDAskAllowDialog ( void   )  [private]

Definition at line 1029 of file tv_play.cpp.

Referenced by AskAllowRecording().

void TV::HandleOSDAskAllowResponse ( void   )  [private]

Definition at line 1289 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::EditSchedule ( int  editType = kScheduleProgramGuide  )  [private]

Definition at line 5974 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::EmbedWithNewThread ( int  editType  )  [private]

create new thread to invoke function pointers used for embedding the tv player in other containers.

Example: playbackbox

Definition at line 5948 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::SetupPlayer ( bool  isWatchingRecording  )  [private]

Definition at line 1910 of file tv_play.cpp.

Referenced by StartPlayer().

void TV::TeardownPlayer ( void   )  [private]

Definition at line 1974 of file tv_play.cpp.

Referenced by StopStuff().

void TV::SetupPipPlayer ( void   )  [private]

Definition at line 1952 of file tv_play.cpp.

Referenced by SwapPIP(), and TogglePIPView().

void TV::TeardownPipPlayer ( void   )  [private]

Definition at line 2037 of file tv_play.cpp.

Referenced by StopStuff(), SwapPIP(), and TogglePIPView().

void TV::HandleStateChange ( void   )  [private]

Changes the state to the state on the front of the state change queue.

Note: There must exist a state transition from any state we can enter to the kState_None state, as this is used to shutdown TV in RunTV.

Definition at line 1484 of file tv_play.cpp.

Referenced by RunTV().

bool TV::InStateChange ( void   )  const [private]

Returns true if there is a state change queued up.

Definition at line 1723 of file tv_play.cpp.

Referenced by GetState(), and RunTV().

void TV::ChangeState ( TVState  nextState  )  [private]

Puts a state change on the nextState queue.

Definition at line 1735 of file tv_play.cpp.

Referenced by customEvent(), LiveTV(), Playback(), and RunTV().

void TV::ForceNextStateNone ( void   )  [private]

Removes any pending state changes, and puts kState_None on the queue.

Definition at line 1745 of file tv_play.cpp.

Referenced by RunTV().

void TV::TogglePIPView ( void   )  [private]

Definition at line 3822 of file tv_play.cpp.

Referenced by customEvent(), ProcessKeypress(), RunTV(), and TreeMenuSelected().

void TV::ToggleActiveWindow ( void   )  [private]

void TV::SwapPIP ( void   )  [private]

Definition at line 3952 of file tv_play.cpp.

Referenced by RunTV().

void TV::SwapPIPSoon ( void   )  [inline, private]

Definition at line 379 of file tv_play.h.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::DisplayJumpMenuSoon ( void   )  [inline, private]

Definition at line 381 of file tv_play.h.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::ToggleAutoExpire ( void   )  [private]

Definition at line 7897 of file tv_play.cpp.

Referenced by TreeMenuSelected().

void TV::BrowseStart ( void   )  [private]

Begins channel browsing.

Definition at line 6507 of file tv_play.cpp.

Referenced by BrowseDispInfo(), ProcessKeypress(), and TreeMenuSelected().

void TV::BrowseEnd ( bool  change  )  [private]

Ends channel browsing.

Changing the channel if change is true.

Parameters:
change iff true we call ChangeChannel()

Definition at line 6537 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::BrowseDispInfo ( int  direction  )  [private]

Fetches browse info from backend and sends it to the OSD.

Parameters:
direction BrowseDirection to get information on.

Definition at line 6558 of file tv_play.cpp.

Referenced by BrowseChannel(), BrowseStart(), and ProcessKeypress().

void TV::ToggleRecord ( void   )  [private]

Definition at line 6636 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::BrowseChannel ( const QString &  channum  )  [private]

Definition at line 6696 of file tv_play.cpp.

Referenced by CommitQueuedInput().

void TV::DoTogglePictureAttribute ( PictureAdjustType  type  )  [private]

Definition at line 6756 of file tv_play.cpp.

Referenced by ProcessKeypress(), and TreeMenuSelected().

void TV::DoChangePictureAttribute ( PictureAdjustType  type,
PictureAttribute  attr,
bool  up 
) [private]

Definition at line 6799 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::BuildOSDTreeMenu ( void   )  [private]

Definition at line 7448 of file tv_play.cpp.

Referenced by ShowOSDTreeMenu().

void TV::ShowOSDTreeMenu ( void   )  [private]

Definition at line 7428 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::FillMenuLiveTV ( OSDGenericTree treeMenu  )  [private]

Definition at line 7600 of file tv_play.cpp.

Referenced by BuildOSDTreeMenu().

void TV::FillMenuPlaying ( OSDGenericTree treeMenu  )  [private]

Definition at line 7713 of file tv_play.cpp.

Referenced by BuildOSDTreeMenu().

void TV::UpdateLCD ( void   )  [private]

Definition at line 5503 of file tv_play.cpp.

Referenced by HandleStateChange(), RunTV(), and UnpauseLiveTV().

void TV::ShowLCDChannelInfo ( void   )  [private]

Definition at line 5509 of file tv_play.cpp.

Referenced by RunTV().

void TV::ShowLCDDVDInfo ( void   )  [private]

Definition at line 5544 of file tv_play.cpp.

Referenced by RunTV().

QString TV::PlayMesg ( void   )  [private]

void TV::GetPlayGroupSettings ( const QString &  group  )  [private]

Definition at line 859 of file tv_play.cpp.

Referenced by LiveTV(), and Playback().

void TV::SetPseudoLiveTV ( uint  i,
const ProgramInfo pi,
PseudoState  new_state 
) [private]

Definition at line 6607 of file tv_play.cpp.

Referenced by customEvent(), TogglePIPView(), and ToggleRecord().

void TV::ITVRestart ( bool  isLive  )  [private]

Definition at line 8247 of file tv_play.cpp.

Referenced by HandleStateChange(), SwitchCards(), and UnpauseLiveTV().

bool TV::ScreenShot ( long long  frameNumber  )  [private]

Definition at line 8271 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::VideoThemeCheck ( QString  str,
bool  stayPaused = false 
) [private]

Used by EditSchedule().

Unpauses embedded tv based on whether theme exists and/or if knob to continued playback is enabled

Returns:
true if player should be embedded

Definition at line 5795 of file tv_play.cpp.

Referenced by doEditSchedule().

void TV::DVDJumpBack ( void   )  [private]

Definition at line 8371 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::DVDJumpForward ( void   )  [private]

Definition at line 8405 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::LoadExternalSubtitles ( NuppelVideoPlayer nvp,
const QString &  videoFile 
) [static, private]

Definition at line 8313 of file tv_play.cpp.

Referenced by SetupPlayer().

QStringList TV::GetValidRecorderList ( uint  chanid  )  [static, private]

Returns list of the recorders that have chanid in their sources.

Parameters:
chanid Channel ID of channel we are querying recorders for.
Returns:
List of cardid's for recorders with channel.

Definition at line 8056 of file tv_play.cpp.

Referenced by ChangeChannel(), GetValidRecorderList(), and SwitchCards().

QStringList TV::GetValidRecorderList ( const QString &  channum  )  [static, private]

Returns list of the recorders that have channum in their sources.

Parameters:
channum Channel "number" we are querying recorders for.
Returns:
List of cardid's for recorders with channel.

Definition at line 8088 of file tv_play.cpp.

QStringList TV::GetValidRecorderList ( uint  chanid,
const QString &  channum 
) [static, private]

Returns list of the recorders that have chanid or channum in their sources.

Parameters:
chanid Channel ID of channel we are querying recorders for.
channum Channel "number" we are querying recorders for.
Returns:
List of cardid's for recorders with channel.

Definition at line 8122 of file tv_play.cpp.

bool TV::StateIsRecording ( TVState  state  )  [static, private]

Definition at line 1435 of file tv_play.cpp.

Referenced by RemoveRecording().

bool TV::StateIsPlaying ( TVState  state  )  [static, private]

bool TV::StateIsLiveTV ( TVState  state  )  [static, private]

TVState TV::RemovePlaying ( TVState  state  )  [static, private]

Definition at line 1463 of file tv_play.cpp.

Referenced by RunTV().

TVState TV::RemoveRecording ( TVState  state  )  [static, private]

Definition at line 1452 of file tv_play.cpp.


Member Data Documentation

QStringList TV::lastProgramStringList = QStringList() [static, protected]

Definition at line 250 of file tv_play.h.

Referenced by RunTV(), and StartTV().

RUNPLAYBACKBOX TV::RunPlaybackBoxPtr = NULL [static, protected]

Definition at line 251 of file tv_play.h.

Referenced by doEditSchedule(), ProcessKeypress(), SetFuncPtr(), and TreeMenuSelected().

RUNVIEWSCHEDULED TV::RunViewScheduledPtr = NULL [static, protected]

\ brief function pointer for RunViewScheduled in viewscheduled.cpp

Definition at line 252 of file tv_play.h.

Referenced by doEditSchedule(), and SetFuncPtr().

QString TV::baseFilters [private]

Definition at line 435 of file tv_play.h.

Referenced by Init().

QString TV::db_channel_format [private]

Definition at line 436 of file tv_play.h.

Referenced by Init(), and UpdateOSDAskAllowDialog().

QString TV::db_time_format [private]

Definition at line 437 of file tv_play.h.

Referenced by GetNextProgram(), and Init().

QString TV::db_short_date_format [private]

Definition at line 438 of file tv_play.h.

Referenced by GetNextProgram(), and Init().

int TV::fftime [private]

Definition at line 439 of file tv_play.h.

Referenced by GetPlayGroupSettings(), ProcessKeypress(), and ProcessNetworkControlCommand().

int TV::rewtime [private]

Definition at line 440 of file tv_play.h.

Referenced by GetPlayGroupSettings(), ProcessKeypress(), and ProcessNetworkControlCommand().

int TV::jumptime [private]

Definition at line 441 of file tv_play.h.

Referenced by DVDJumpBack(), DVDJumpForward(), GetPlayGroupSettings(), and ProcessKeypress().

Definition at line 442 of file tv_play.h.

Referenced by AddKeyToInputQueue(), and Init().

Definition at line 443 of file tv_play.h.

Referenced by Init(), and ToggleMute().

bool TV::arrowAccel [private]

Definition at line 444 of file tv_play.h.

Referenced by Init(), and ProcessKeypress().

int TV::osd_general_timeout [private]

Definition at line 446 of file tv_play.h.

Referenced by Init(), ToggleOSD(), UpdateOSDProgInfo(), and UpdateOSDSignal().

Definition at line 448 of file tv_play.h.

Referenced by FillMenuPlaying(), Init(), ProcessKeypress(), SetAutoCommercialSkip(), and SetupPlayer().

Definition at line 449 of file tv_play.h.

Referenced by Init().

Definition at line 451 of file tv_play.h.

Referenced by Init(), and ProcessKeypress().

int TV::stickykeys [private]

Definition at line 452 of file tv_play.h.

Referenced by Init(), and ProcessKeypress().

float TV::ff_rew_repos [private]

Definition at line 453 of file tv_play.h.

Referenced by Init(), and StopFFRew().

Definition at line 454 of file tv_play.h.

Referenced by ChangeFFRew(), and Init().

bool TV::jumped_back [private]

Used by PromptDeleteRecording.

Definition at line 455 of file tv_play.h.

Referenced by ProcessKeypress(), and RunTV().

vector<int> TV::ff_rew_speeds [private]

uint TV::vbimode [private]

Definition at line 458 of file tv_play.h.

Definition at line 461 of file tv_play.h.

Referenced by ChangeState(), ForceNextStateNone(), HandleStateChange(), InStateChange(), and RunTV().

QMutex TV::stateLock [mutable, private]

Definition at line 462 of file tv_play.h.

Referenced by ChangeState(), ForceNextStateNone(), HandleStateChange(), InStateChange(), and RunTV().

Definition at line 465 of file tv_play.h.

Referenced by RunTV(), SwitchSource(), and TreeMenuSelected().

bool TV::menurunning [private]

Definition at line 466 of file tv_play.h.

Referenced by customEvent(), doEditSchedule(), and EmbedWithNewThread().

bool TV::runMainLoop [private]

Definition at line 467 of file tv_play.h.

Referenced by RunTV(), and ~TV().

bool TV::wantsToQuit [private]

bool TV::exitPlayer [private]

bool TV::paused [private]

bool TV::errored [private]

Definition at line 471 of file tv_play.h.

Referenced by HandleStateChange(), and Init().

True if time stretch is turned on.

Definition at line 472 of file tv_play.h.

Referenced by ChangeTimeStretch(), HandleOSDClosed(), and ProcessKeypress().

True if audiosync is turned on.

Definition at line 473 of file tv_play.h.

Referenced by ChangeAudioSync(), HandleOSDClosed(), and ProcessKeypress().

long long TV::audiosyncBaseline [private]

Definition at line 474 of file tv_play.h.

Referenced by ChangeAudioSync(), and DoNVPSeek().

bool TV::editmode [private]

Are we in video editing mode.

Definition at line 475 of file tv_play.h.

Referenced by ProcessKeypress(), RunTV(), and StartProgramEditMode().

bool TV::zoomMode [private]

Definition at line 476 of file tv_play.h.

Referenced by ProcessKeypress(), and SetManualZoom().

bool TV::sigMonMode [private]

Are we in signal monitoring mode?

Definition at line 477 of file tv_play.h.

Referenced by ProcessKeypress().

!nvp->IsPlaying() && StateIsPlaying(internalState)

Definition at line 479 of file tv_play.h.

Referenced by RunTV().

User wants last video deleted.

Definition at line 480 of file tv_play.h.

Referenced by LiveTV(), Playback(), ProcessKeypress(), and RunTV().

User wants to rerecord the last video if deleted.

Definition at line 481 of file tv_play.h.

Referenced by LiveTV(), Playback(), and ProcessKeypress().

Definition at line 482 of file tv_play.h.

Referenced by HandleOSDClosed(), ProcessKeypress(), and UpdateOSDSeekMessage().

Definition at line 483 of file tv_play.h.

Referenced by DoQueueTranscode().

Main loop should get recorderPlaybackInfo.

Definition at line 484 of file tv_play.h.

Referenced by PlayFromRecorder(), and RunTV().

Picture attribute type to modify.

Definition at line 486 of file tv_play.h.

Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), and ProcessKeypress().

Picture attribute to modify (on arrow left or right).

Definition at line 488 of file tv_play.h.

Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), ProcessKeypress(), and TreeMenuSelected().

Definition at line 491 of file tv_play.h.

Referenced by HandleOSDAskAllowResponse(), and UpdateOSDAskAllowDialog().

QMap<QString,AskProgramInfo> TV::askAllowPrograms [private]

QMutex TV::askAllowLock [private]

bool TV::ignoreKeys [private]

Definition at line 495 of file tv_play.h.

Referenced by ProcessKeypress(), and RunTV().

Definition at line 496 of file tv_play.h.

Referenced by RunTV().

Definition at line 497 of file tv_play.h.

Referenced by RunTV().

QMap<QString,ProgramList> TV::progLists [private]

Definition at line 498 of file tv_play.h.

Referenced by DoDisplayJumpMenu(), and SetJumpToProgram().

QMutex TV::chanEditMapLock [mutable, private]

Lock for chanEditMap and ddMap.

Definition at line 500 of file tv_play.h.

Referenced by ChannelEditAutoFill(), ChannelEditDDFill(), ChannelEditKey(), GetDataDirect(), LoadDDMap(), RunLoadDDMap(), and StartChannelEditMode().

Channel Editing initial map.

Definition at line 501 of file tv_play.h.

Referenced by ChannelEditAutoFill(), ChannelEditKey(), GetDataDirect(), RunLoadDDMap(), and StartChannelEditMode().

DDKeyMap TV::ddMap [private]

DataDirect channel map.

Definition at line 502 of file tv_play.h.

Referenced by GetDataDirect(), and LoadDDMap().

DataDirect channel map sourceid.

Definition at line 503 of file tv_play.h.

Referenced by ChannelEditAutoFill(), ChannelEditDDFill(), GetDataDirect(), LoadDDMap(), StartChannelEditMode(), and ~TV().

Is DataDirect loader thread running.

Definition at line 504 of file tv_play.h.

Referenced by StartChannelEditMode(), and ~TV().

DataDirect map loader thread.

Definition at line 505 of file tv_play.h.

Referenced by StartChannelEditMode(), and ~TV().

vector<SleepTimerInfo> TV::sleep_times [private]

Vector or sleep timer sleep times in seconds, with the appropriate UI message.

Definition at line 509 of file tv_play.h.

Referenced by ToggleSleepTimer(), and TV().

uint TV::sleep_index [private]

Index into sleep_times.

Definition at line 510 of file tv_play.h.

Referenced by RunTV(), TeardownPlayer(), and ToggleSleepTimer().

QTimer* TV::sleepTimer [private]

Timer for turning off playback.

Definition at line 511 of file tv_play.h.

Referenced by BuildOSDTreeMenu(), ToggleSleepTimer(), TV(), and ~TV().

QTimer* TV::idleTimer [private]

Timer for turning off playback after idle period.

Definition at line 512 of file tv_play.h.

Referenced by IdleDialog(), LiveTV(), ProcessKeypress(), TV(), and ~TV().

QPtrList<QKeyEvent> TV::keyList [private]

Queue of unprocessed key presses.

Definition at line 515 of file tv_play.h.

Referenced by eventFilter(), LiveTV(), and RunTV().

QMutex TV::keyListLock [private]

Since keys are processed outside Qt event loop, we need a lock.

Definition at line 517 of file tv_play.h.

Referenced by eventFilter(), and RunTV().

bool TV::keyRepeat [private]

Are repeats logical on last key?

Definition at line 518 of file tv_play.h.

Referenced by DoSeek(), and KeyRepeatOK().

QTimer* TV::keyrepeatTimer [private]

Timeout timer for repeat key filtering.

Definition at line 519 of file tv_play.h.

Referenced by DoSeek(), TV(), and ~TV().

int TV::doing_ff_rew [private]

If true we are doing a rewind not a fast forward.

Definition at line 521 of file tv_play.h.

Referenced by ChangeFFRew(), DoPause(), DoPlay(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), RunTV(), SetFFRew(), StopFFRew(), and TeardownPlayer().

int TV::ff_rew_index [private]

Index into ff_rew_speeds for FF and Rewind speeds.

Definition at line 522 of file tv_play.h.

Referenced by ChangeFFRew(), RunTV(), SetFFRew(), StopFFRew(), and TeardownPlayer().

int TV::speed_index [private]

Caches value of ff_rew_speeds[ff_rew_index].

Definition at line 523 of file tv_play.h.

Referenced by ChangeSpeed(), DoPause(), DoPlay(), NormalSpeed(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), and TeardownPlayer().

float TV::normal_speed [private]

Time stretch speed, 1.0f for normal playback.

Begins at 1.0f meaning normal playback, but can be increased or decreased to speedup or slowdown playback. Ignored when doing Fast Forward or Rewind.

Definition at line 531 of file tv_play.h.

Referenced by BuildOSDTreeMenu(), ChangeSpeed(), ChangeTimeStretch(), DoPause(), DoPlay(), GetPlayGroupSettings(), NormalSpeed(), PlayMesg(), ProcessNetworkControlCommand(), RunTV(), SetupPlayer(), StopFFRew(), TeardownPlayer(), ToggleTimeStretch(), TreeMenuSelected(), and UnpauseLiveTV().

float TV::prev_speed [private]

Definition at line 532 of file tv_play.h.

Referenced by GetPlayGroupSettings(), and ToggleTimeStretch().

float TV::frameRate [private]

Estimated framerate from recorder.

Definition at line 534 of file tv_play.h.

Referenced by DoArbSeek(), ProcessKeypress(), ProcessNetworkControlCommand(), StartOSD(), and StartRecorder().

bool TV::ccInputMode [private]

Are we in CC/Teletext page/stream selection mode?

Definition at line 538 of file tv_play.h.

Referenced by AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and RunTV().

QTime TV::ccInputModeExpires [private]

When does ccInputMode expire.

Definition at line 540 of file tv_play.h.

Referenced by HandleTrackAction(), ProcessKeypress(), and RunTV().

bool TV::asInputMode [private]

Are we in Arbitrary seek input mode?

Definition at line 544 of file tv_play.h.

Referenced by AddKeyToInputQueue(), CommitQueuedInput(), ProcessKeypress(), and RunTV().

QTime TV::asInputModeExpires [private]

When does asInputMode expire.

Definition at line 546 of file tv_play.h.

Referenced by HandleTrackAction(), ProcessKeypress(), and RunTV().

QString TV::queuedInput [private]

Input key presses queued up so far...

Definition at line 550 of file tv_play.h.

Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedInput(), GetQueuedInputAsInt(), and SetPreviousChannel().

QString TV::queuedChanNum [mutable, private]

Input key presses queued up so far to form a valid ChanNum.

Definition at line 552 of file tv_play.h.

Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), ProcessNetworkControlCommand(), ProcessSmartChannel(), SetPreviousChannel(), and UpdateOSDSignal().

Queued ChanID (from EPG channel selector).

Definition at line 554 of file tv_play.h.

Referenced by ChangeChannel(), ClearInputQueues(), ProcessNetworkControlCommand(), and SetPreviousChannel().

QMutex TV::queuedInputLock [mutable, private]

Lock used so that input QStrings can be used across threads, and so that queuedChanNumExpr can be used safely in Qt 3.2 and earlier.

Definition at line 557 of file tv_play.h.

Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), GetQueuedInput(), GetQueuedInputAsInt(), ProcessSmartChannel(), and SetPreviousChannel().

QTimer* TV::muteTimer [private]

For temp. audio muting during channel changes.

Definition at line 559 of file tv_play.h.

Referenced by customEvent(), TV(), and ~TV().

QTime TV::lockTimer [private]

Definition at line 562 of file tv_play.h.

Referenced by HandleStateChange(), PauseLiveTV(), SwitchCards(), and UpdateOSDTimeoutMessage().

bool TV::lockTimerOn [private]

QDateTime TV::lastLockSeenTime [private]

Definition at line 564 of file tv_play.h.

Referenced by HandleStateChange(), and UpdateOSDSignal().

Previous channels.

Definition at line 567 of file tv_play.h.

Referenced by AddPreviousChannel(), ChangeChannel(), PreviousChannel(), RunTV(), and SetPreviousChannel().

Number of repeated channel button presses.

Definition at line 568 of file tv_play.h.

Referenced by PreviousChannel(), and SetPreviousChannel().

QTimer* TV::prevChanTimer [private]

Special (slower) repeat key filtering.

Definition at line 569 of file tv_play.h.

Referenced by PreviousChannel(), SetPreviousChannel(), TV(), and ~TV().

bool TV::browsemode [private]

Definition at line 573 of file tv_play.h.

Referenced by FillMenuLiveTV(), Init(), and ProcessKeypress().

QTimer* TV::browseTimer [private]

Definition at line 574 of file tv_play.h.

Referenced by BrowseDispInfo(), BrowseEnd(), BrowseStart(), TV(), and ~TV().

QString TV::browsechannum [private]

Definition at line 575 of file tv_play.h.

Referenced by BrowseChannel(), BrowseDispInfo(), BrowseEnd(), and BrowseStart().

QString TV::browsechanid [private]

Definition at line 576 of file tv_play.h.

Referenced by BrowseChannel(), BrowseDispInfo(), BrowseStart(), and ToggleRecord().

QString TV::browsestarttime [private]

Definition at line 577 of file tv_play.h.

Referenced by BrowseDispInfo(), BrowseStart(), and ToggleRecord().

info requested from recorder

Definition at line 581 of file tv_play.h.

Referenced by PlayFromRecorder(), RunTV(), and ~TV().

QMutex TV::pbinfoLock [private]

int TV::playbackLen [private]

initial playbackinfo->CalculateLength()

Definition at line 584 of file tv_play.h.

Referenced by Playback(), SetupPipPlayer(), and SetupPlayer().

last program played with this player

Definition at line 585 of file tv_play.h.

Referenced by FillMenuLiveTV(), FillMenuPlaying(), PromptRecGroupPassword(), RunTV(), setLastProgram(), and ~TV().

Definition at line 586 of file tv_play.h.

Referenced by doEditSchedule(), Playback(), ProcessKeypress(), RunTV(), and TreeMenuSelected().

bool TV::inPlaylist [private]

show is part of a playlist

Definition at line 588 of file tv_play.h.

Referenced by RunTV().

initial show started via by the network control interface

Definition at line 589 of file tv_play.h.

Referenced by ProcessKeypress(), and RunTV().

bool TV::isnearend [private]

Definition at line 590 of file tv_play.h.

Referenced by ProcessKeypress(), and RunTV().

Definition at line 593 of file tv_play.h.

Referenced by RunTV(), SetPseudoLiveTV(), and TV().

Picture-in-Picture recorder.

Definition at line 605 of file tv_play.h.

Referenced by customEvent(), SetupPipPlayer(), StopStuff(), SwapPIP(), TeardownPipPlayer(), ToggleActiveWindow(), and TogglePIPView().

Main recorder to use after a successful SwitchCards() call.

Definition at line 609 of file tv_play.h.

Referenced by LiveTV(), RequestNextRecorder(), and RunTV().

int TV::lastrecordernum [private]

Storage for keeping the last recorder number around.

Definition at line 611 of file tv_play.h.

Referenced by DeleteRecorder(), and GetLastRecorderNum().

QStringList TV::tvchainUpdate [private]

Definition at line 616 of file tv_play.h.

Referenced by customEvent(), and RunTV().

QMutex TV::tvchainUpdateLock [private]

Definition at line 617 of file tv_play.h.

Referenced by customEvent(), and RunTV().

QString TV::dialogname [private]

OSD menu, 'm' using default keybindings.

Definition at line 626 of file tv_play.h.

Referenced by BuildOSDTreeMenu(), DoDisplayJumpMenu(), ShowOSDTreeMenu(), and ~TV().

How long a dialog box is on the screen.

Definition at line 627 of file tv_play.h.

Referenced by PromptDeleteRecording(), PromptStopWatchingRecording(), and RunTV().

UDPNotify instance which shows messages sent to the "UDPNotifyPort" in an OSD dialog.

Definition at line 631 of file tv_play.h.

Referenced by SetupPlayer(), and TeardownPlayer().

QStringList TV::lastSignalMsg [private]

Definition at line 632 of file tv_play.h.

Referenced by PauseLiveTV(), RunTV(), and UpdateOSDSignal().

Definition at line 633 of file tv_play.h.

Referenced by ProcessKeypress(), TV(), and UpdateOSDSignal().

Definition at line 634 of file tv_play.h.

Referenced by HandleStateChange(), PauseLiveTV(), SwitchCards(), and UpdateOSDSignal().

Definition at line 635 of file tv_play.h.

Referenced by UpdateOSDSignal().

QMutex TV::osdlock [private]

QDateTime TV::lastLcdUpdate [private]

Definition at line 639 of file tv_play.h.

Referenced by RunTV(), TV(), and UpdateLCD().

QString TV::lcdTitle [private]

Definition at line 640 of file tv_play.h.

Referenced by ShowLCDChannelInfo(), and ShowLCDDVDInfo().

QString TV::lcdSubtitle [private]

Definition at line 641 of file tv_play.h.

Referenced by ShowLCDChannelInfo(), and ShowLCDDVDInfo().

QString TV::lcdCallsign [private]

Definition at line 642 of file tv_play.h.

Referenced by ShowLCDChannelInfo(), and ShowLCDDVDInfo().

Our MythDialog window, if it exists.

Definition at line 645 of file tv_play.h.

Referenced by EditSchedule(), Init(), SetMuteTimer(), SetupPlayer(), and ~TV().

WId TV::embedWinID [private]

Window ID when embedded in another widget.

Definition at line 646 of file tv_play.h.

Referenced by EmbedOutput(), SetupPlayer(), ShowNoRecorderDialog(), and StopEmbeddingOutput().

QRect TV::embedBounds [private]

Bounds when embedded in another widget.

player bounds, for after doEditSchedule() returns to normal playing.

Definition at line 647 of file tv_play.h.

Referenced by EmbedOutput(), and SetupPlayer().

QRect TV::player_bounds [private]

Prior GUI window bounds, for doEditSchedule() and player exit().

Definition at line 650 of file tv_play.h.

Referenced by doEditSchedule(), and Init().

QRect TV::saved_gui_bounds [private]

Definition at line 651 of file tv_play.h.

Referenced by doEditSchedule(), Init(), and ~TV().

QMutex TV::is_tunable_cache_lock [mutable, private]

Definition at line 654 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunable().

QMap< uint,vector<InputInfo> > TV::is_tunable_cache_inputs [private]

Definition at line 655 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunable().