MythTV  0.25-pre
Classes | Public Slots | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends
TV Class Reference

#include <tv_play.h>

List of all members.

Classes

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

Public Slots

void HandleOSDClosed (int osdType)
void timerEvent (QTimerEvent *)

Public Member Functions

bool event (QEvent *e)
 This handles all standard events.
bool eventFilter (QObject *o, QEvent *e)
 This selectively blocks KeyPress and Resize events.
bool IsSameProgram (int player_idx, const ProgramInfo *p) const
 true iff program is the same as the one in the selected player
void FinishRecording (int player_idx)
 Finishes player's recording.

Static Public Member Functions

static bool IsTVRunning (void)
static bool StartTV (ProgramInfo *tvrec=NULL, uint flags=kStartTVNoFlags)
 returns true if the recording completed when exiting.
static void InitKeys (void)
static void ReloadKeys (void)
static void SetFuncPtr (const char *, void *)
 Import pointers to functions used to embed the TV window into other containers e.g.
static int ConfiguredTunerCards (void)
 If any cards are configured, return the number.

Static Public Attributes

static const int kInitFFRWSpeed = 0
 1x, default to normal speed
static const uint kInputKeysMax = 6
 When to start discarding early keys.
static const uint kNextSource = 1
static const uint kPreviousSource = 2
static const uint kMaxPIPCount = 4
static const uint kMaxPBPCount = 2
 Timeout for entry modes in msec.
static const uint kInputModeTimeout = 5000
static const uint kLCDTimeout = 1000
 Timeout for updating LCD info in msec.
static const uint kBrowseTimeout = 30000
 Timeout for browse mode exit in msec.
static const uint kKeyRepeatTimeout = 300
 Seek key repeat timeout in msec.
static const uint kPrevChanTimeout = 750
 How long to wait before applying all previous channel keypresses in msec.
static const uint kSleepTimerDialogTimeout = 45000
 How long to display sleep timer dialog in msec.
static const uint kIdleTimerDialogTimeout = 45000
 How long to display idle timer dialog in seconds.
static const uint kVideoExitDialogTimeout = 120000
 How long to display idle timer dialog in msec.
static const uint kEndOfPlaybackCheckFrequency = 250
static const uint kEmbedCheckFrequency = 250
static const uint kSpeedChangeCheckFrequency = 250
static const uint kErrorRecoveryCheckFrequency = 250
static const uint kEndOfRecPromptCheckFrequency = 250
static const uint kEndOfPlaybackFirstCheckTimer = 60000

Protected Member Functions

void customEvent (QEvent *e)
 This handles all custom events.

Static Protected Attributes

static QStringList lastProgramStringList = QStringList()
 stores last program info.
static EMBEDRETURNVOID RunPlaybackBoxPtr = NULL
 function pointer for RunPlaybackBox in playbackbox.cpp
static EMBEDRETURNVOID RunViewScheduledPtr = NULL
 function pointer for RunViewScheduled in viewscheduled.cpp
static EMBEDRETURNVOIDEPG RunProgramGuidePtr = NULL
 function pointer for RunProgramGuide in guidegrid.cpp
static EMBEDRETURNVOIDFINDER RunProgramFinderPtr = NULL
 function pointer for RunProgramFinder in progfind.cpp
static EMBEDRETURNVOIDSCHEDIT RunScheduleEditorPtr = NULL
 function pointer for RunScheduleEditor in scheduleeditor.cpp

Private Types

enum  ArbSeekWhence { ARBSEEK_SET = 0, ARBSEEK_REWIND, ARBSEEK_FORWARD, ARBSEEK_END }
typedef QMap< int,
PlayerContext * > 
TimerContextMap
typedef QMap< int, const
PlayerContext * > 
TimerContextConstMap

Private Member Functions

 TV ()
 ~TV ()
bool Init (bool createWindow=true)
 Performs instance initialization, returns true on success.
void InitFromDB (void)
bool LiveTV (bool showDialogs=true)
 Starts LiveTV.
bool StartLiveTVInGuide (void)
int Playback (const ProgramInfo &rcinfo)
void PlaybackLoop (void)
 The main playback loop.
bool ProcessKeypress (PlayerContext *, QKeyEvent *e)
void ProcessNetworkControlCommand (PlayerContext *, const QString &command)
bool HandleTrackAction (PlayerContext *, const QString &action)
bool ActiveHandleAction (PlayerContext *, const QStringList &actions, bool isDVD, bool isDVDStillFrame)
bool BrowseHandleAction (PlayerContext *, const QStringList &actions)
void OSDDialogEvent (int result, QString text, QString action)
bool PxPHandleAction (PlayerContext *, const QStringList &actions)
bool ToggleHandleAction (PlayerContext *, const QStringList &actions, bool isDVD)
bool FFRewHandleAction (PlayerContext *, const QStringList &actions)
bool ActivePostQHandleAction (PlayerContext *, const QStringList &actions)
bool HandleJumpToProgramAction (PlayerContext *ctx, const QStringList &actions)
bool SeekHandleAction (PlayerContext *actx, const QStringList &actions, const bool isDVD)
bool TimeStretchHandleAction (PlayerContext *, const QStringList &actions)
bool DiscMenuHandleAction (PlayerContext *, const QStringList &actions)
bool Handle3D (PlayerContext *ctx, const QString &action)
int StartTimer (int interval, int line)
void KillTimer (int id)
void SetSpeedChangeTimer (uint when, int line)
void HandleEndOfPlaybackTimerEvent (void)
void HandleIsNearEndWhenEmbeddingTimerEvent (void)
void HandleEndOfRecordingExitPromptTimerEvent (void)
void HandleVideoExitDialogTimerEvent (void)
void HandlePseudoLiveTVTimerEvent (void)
void HandleSpeedChangeTimerEvent (void)
void ToggleSleepTimer (const PlayerContext *)
void ToggleSleepTimer (const PlayerContext *, const QString &time)
bool HandlePxPTimerEvent (void)
bool HandleLCDTimerEvent (void)
void HandleLCDVolumeTimerEvent (void)
void EditSchedule (const PlayerContext *, int editType=kScheduleProgramGuide)
bool StartEmbedding (const QRect &)
void StopEmbedding (void)
bool IsTunable (const PlayerContext *, uint chanid, bool use_cache=false)
void ClearTunableCache (void)
void ChangeChannel (const PlayerContext *, const DBChanList &options)
void DrawUnusedRects (void)
void DoEditSchedule (int editType=kScheduleProgramGuide)
QString GetRecordingGroup (int player_idx) const
void ChangeVolume (PlayerContext *, bool up, int newvolume=-1)
void ToggleMute (PlayerContext *, const bool muteIndividualChannels=false)
void UpdateChannelList (int groupID)
 update the channel list with channels from the selected channel group
OSDGetOSDL (const char *, int)
OSDGetOSDL (const PlayerContext *, const char *, int)
void ReturnOSDLock (const PlayerContext *, OSD *&)
PlayerContextGetPlayerWriteLock (int which, const char *file, int location)
PlayerContextGetPlayerReadLock (int which, const char *file, int location)
const PlayerContextGetPlayerReadLock (int which, const char *file, int location) const
PlayerContextGetPlayerHaveLock (PlayerContext *, int which, const char *file, int location)
const PlayerContextGetPlayerHaveLock (const PlayerContext *, int which, const char *file, int location) const
void ReturnPlayerLock (PlayerContext *&)
void ReturnPlayerLock (const PlayerContext *&) const
void ToggleAutoExpire (PlayerContext *)
void ToggleRecord (PlayerContext *)
TVState GetState (int player_idx) const
 get tv state of active player context
TVState GetState (const PlayerContext *) const
 get tv state of active player context
void HandleStateChange (PlayerContext *mctx, PlayerContext *ctx)
 Changes the state to the state on the front of the state change queue.
void GetStatus (void)
void ForceNextStateNone (PlayerContext *)
void ScheduleStateChange (PlayerContext *)
void SetErrored (PlayerContext *)
void setInPlayList (bool setting)
void setUnderNetworkControl (bool setting)
void PrepToSwitchToRecordedProgram (PlayerContext *, const ProgramInfo &)
void PrepareToExitPlayer (PlayerContext *, int line, bool bookmark=true)
void SetExitPlayer (bool set_it, bool wants_to)
bool RequestNextRecorder (PlayerContext *, bool)
void DeleteRecorder ()
bool StartRecorder (PlayerContext *ctx, int maxWait=-1)
 Starts recorder, must be called before StartPlayer().
void StopStuff (PlayerContext *mctx, PlayerContext *ctx, bool stopRingbuffers, bool stopPlayers, bool stopRecorders)
 Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders.
void TeardownPlayer (PlayerContext *mctx, PlayerContext *ctx)
bool StartPlayer (PlayerContext *mctx, PlayerContext *ctx, TVState desiredState)
vector< long long > TeardownAllPlayers (PlayerContext *)
 Teardown all Player's in preparation for PxP Swap or change from PIP -> PBP or PBP -> PIP.
void RestartAllPlayers (PlayerContext *lctx, const vector< long long > &pos, MuteState mctx_mute)
 Recreate Main and PIP windows.
void RestartMainPlayer (PlayerContext *mctx)
bool IsSwitchingCards (void) const
 Returns true if we are currently in the process of switching recorders.
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 IsDeleteAllowed (const PlayerContext *) const
void ToggleChannelFavorite (PlayerContext *ctx)
void ToggleChannelFavorite (PlayerContext *, QString)
void ChangeChannel (PlayerContext *, int direction)
void ChangeChannel (PlayerContext *, uint chanid, const QString &channum)
void ShowPreviousChannel (PlayerContext *)
void PopPreviousChannel (PlayerContext *, bool immediate_change)
void AddKeyToInputQueue (PlayerContext *, char key)
void ClearInputQueues (const PlayerContext *, bool hideosd)
 Clear channel key buffer of input keys.
bool CommitQueuedInput (PlayerContext *)
bool ProcessSmartChannel (const PlayerContext *, 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 (PlayerContext *, uint source_direction)
void SwitchInputs (PlayerContext *, uint inputid)
void ToggleInputs (PlayerContext *, uint inputid=0)
void SwitchCards (PlayerContext *, uint chanid=0, QString channum="", uint inputid=0)
void PauseLiveTV (PlayerContext *)
 Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output.
void UnpauseLiveTV (PlayerContext *, bool bQuietly=false)
 Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output.
void DoPlay (PlayerContext *)
float DoTogglePauseStart (PlayerContext *)
void DoTogglePauseFinish (PlayerContext *, float time, bool showOSD)
void DoTogglePause (PlayerContext *, bool showOSD)
vector< boolDoSetPauseState (PlayerContext *lctx, const vector< bool > &)
bool ContextIsPaused (PlayerContext *ctx, const char *file, int location)
void SetLastProgram (const ProgramInfo *rcinfo)
ProgramInfoGetLastProgram (void) const
void DoSeek (PlayerContext *, float time, const QString &mesg)
bool DoPlayerSeek (PlayerContext *, float time)
void DoSeekAbsolute (PlayerContext *ctx, long long seconds)
void DoArbSeek (PlayerContext *, ArbSeekWhence whence)
void DoJumpFFWD (PlayerContext *ctx)
void DoJumpRWND (PlayerContext *ctx)
void NormalSpeed (PlayerContext *)
void ChangeSpeed (PlayerContext *, int direction)
void ToggleTimeStretch (PlayerContext *)
void ChangeTimeStretch (PlayerContext *, int dir, bool allowEdit=true)
void DVDJumpBack (PlayerContext *)
void DVDJumpForward (PlayerContext *)
float StopFFRew (PlayerContext *)
void ChangeFFRew (PlayerContext *, int direction)
void SetFFRew (PlayerContext *, int index)
void EnableUpmix (PlayerContext *, bool enable, bool toggle=false)
void ChangeAudioSync (PlayerContext *, int dir, int newsync=-9999)
bool AudioSyncHandleAction (PlayerContext *, const QStringList &actions)
void PauseAudioUntilBuffered (PlayerContext *ctx)
int GetNumChapters (const PlayerContext *) const
void GetChapterTimes (const PlayerContext *, QList< long long > &times) const
int GetCurrentChapter (const PlayerContext *) const
int GetNumTitles (const PlayerContext *ctx) const
int GetCurrentTitle (const PlayerContext *ctx) const
int GetTitleDuration (const PlayerContext *ctx, int title) const
QString GetTitleName (const PlayerContext *ctx, int title) const
void DoSwitchTitle (PlayerContext *, int title)
int GetNumAngles (const PlayerContext *ctx) const
int GetCurrentAngle (const PlayerContext *ctx) const
QString GetAngleName (const PlayerContext *ctx, int angle) const
void DoSwitchAngle (PlayerContext *, int angle)
void DoJumpChapter (PlayerContext *, int chapter)
void DoSkipCommercials (PlayerContext *, int direction)
void SetAutoCommercialSkip (const PlayerContext *, CommSkipMode skipMode=kCommSkipOff)
void DoQueueTranscode (PlayerContext *, QString profile)
bool IsBookmarkAllowed (const PlayerContext *) const
void SetBookmark (PlayerContext *ctx, bool clear=false)
bool ClearOSD (const PlayerContext *)
void ToggleOSD (PlayerContext *, bool includeStatusOSD)
 Cycle through the available Info OSDs.
void ToggleOSDDebug (PlayerContext *)
void UpdateOSDDebug (const PlayerContext *ctx)
void UpdateOSDProgInfo (const PlayerContext *, const char *whichInfo)
 Update and display the passed OSD set with programinfo.
void UpdateOSDStatus (const PlayerContext *ctx, QString title, QString desc, QString value, int type, QString units, int position=0, int prev=0, int next=0, enum OSDTimeout timeout=kOSDTimeout_Med)
void UpdateOSDStatus (const PlayerContext *ctx, osdInfo &info, int type, enum OSDTimeout timeout)
void UpdateOSDSeekMessage (const PlayerContext *, const QString &mesg, enum OSDTimeout timeout)
void UpdateOSDInput (const PlayerContext *, QString inputname=QString::null)
void UpdateOSDSignal (const PlayerContext *, const QStringList &strlist)
 Updates Signal portion of OSD...
void UpdateOSDTimeoutMessage (PlayerContext *)
void UpdateOSDAskAllowDialog (PlayerContext *)
void SetUpdateOSDPosition (bool set_it)
bool CreatePBP (PlayerContext *lctx, const ProgramInfo *info)
 Setup Picture by Picture.
bool CreatePIP (PlayerContext *lctx, const ProgramInfo *info)
 create PIP.
bool ResizePIPWindow (PlayerContext *)
 resize PIP Window.
bool IsPBPSupported (const PlayerContext *ctx=NULL) const
bool IsPIPSupported (const PlayerContext *ctx=NULL) const
void PxPToggleView (PlayerContext *actx, bool wantPBP)
 start/stop PIP/PBP
void PxPCreateView (PlayerContext *actx, bool wantPBP)
 start PIP/PBP
void PxPTeardownView (PlayerContext *actx)
 stop PIP/PBP
void PxPToggleType (PlayerContext *mctx, bool wantPBP)
 Change PIP View from PIP to PBP and visa versa.
void PxPSwap (PlayerContext *mctx, PlayerContext *pipctx)
bool PIPAddPlayer (PlayerContext *mctx, PlayerContext *ctx)
 Maps Player of software scaled PIP to the main player.
bool PIPRemovePlayer (PlayerContext *mctx, PlayerContext *ctx)
 Unmaps Player of software scaled PIP from the main player.
void PBPRestartMainPlayer (PlayerContext *mctx)
 tear down remaining PBP video and restore fullscreen display
void SetActive (PlayerContext *lctx, int index, bool osd_msg)
void ToggleAspectOverride (PlayerContext *, AspectOverrideMode aspectMode=kAspect_Toggle)
void ToggleAdjustFill (PlayerContext *, AdjustFillMode adjustfillMode=kAdjustFill_Toggle)
void DoToggleStudioLevels (const PlayerContext *ctx)
void DoToggleNightMode (const PlayerContext *)
void DoTogglePictureAttribute (const PlayerContext *, PictureAdjustType type)
void DoChangePictureAttribute (PlayerContext *, PictureAdjustType type, PictureAttribute attr, bool up, int newvalue=-1)
bool PictureAttributeHandleAction (PlayerContext *, const QStringList &actions)
void HandleDeinterlacer (PlayerContext *ctx, const QString &action)
void ITVRestart (PlayerContext *, bool isLive)
 Restart the MHEG/MHP engine.
void EnableVisualisation (const PlayerContext *, bool enable, bool toggle=false, const QString &action=QString(""))
void SetManualZoom (const PlayerContext *, bool enabled, QString msg)
bool ManualZoomHandleAction (PlayerContext *actx, const QStringList &actions)
void StartChannelEditMode (PlayerContext *)
 Starts channel editing mode.
bool HandleOSDChannelEdit (PlayerContext *, QString action)
void ChannelEditAutoFill (const PlayerContext *, InfoMap &) const
 Automatically fills in as much information as possible.
void ChannelEditAutoFill (const PlayerContext *, InfoMap &, const QMap< QString, bool > &) const
 Automatically fills in as much information as possible.
void ChannelEditXDSFill (const PlayerContext *, 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)
bool DialogIsVisible (PlayerContext *ctx, const QString &dialog)
void HandleOSDInfo (PlayerContext *ctx, QString action)
void ShowNoRecorderDialog (const PlayerContext *, NoRecorderMsg msgType=kNoRecorders)
void ShowOSDAskAllow (PlayerContext *ctx)
void HandleOSDAskAllow (PlayerContext *ctx, QString action)
void AskAllowRecording (PlayerContext *, const QStringList &, int, bool, bool)
void ShowOSDCutpoint (PlayerContext *ctx, const QString &type)
bool HandleOSDCutpoint (PlayerContext *ctx, QString action, long long frame)
void StartProgramEditMode (PlayerContext *)
 Starts Program Cut Map Editing mode.
void ShowOSDAlreadyEditing (PlayerContext *ctx)
void HandleOSDAlreadyEditing (PlayerContext *ctx, QString action, bool was_paused)
void ShowOSDSleep (void)
void HandleOSDSleep (PlayerContext *ctx, QString action)
void SleepDialogTimeout (void)
void ShowOSDIdle (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 HandleOSDIdle (PlayerContext *ctx, QString action)
void IdleDialogTimeout (void)
void ShowOSDStopWatchingRecording (PlayerContext *ctx)
void ShowOSDPromptDeleteRecording (PlayerContext *ctx, QString title, bool force=false)
bool HandleOSDVideoExit (PlayerContext *ctx, QString action)
void ShowOSDMenu (const PlayerContext *, const QString category="", const QString selected="")
void FillOSDMenuAudio (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuVideo (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuSubtitles (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuNavigate (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuJobs (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuPlayback (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuSchedule (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuSource (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString &currenttext, QString &backaction)
void FillOSDMenuJumpRec (PlayerContext *ctx, const QString category="", int level=0, const QString selected="")
void UpdateLCD (void)
void ShowLCDChannelInfo (const PlayerContext *)
void ShowLCDDVDInfo (const PlayerContext *)
int GetLastRecorderNum (int player_idx) const
void RestoreScreenSaver (const PlayerContext *)
int find_player_index (const PlayerContext *) const

Static Private Member Functions

static TVGetTV (void)
static void ReleaseTV (TV *tv)
static bool StateIsRecording (TVState state)
static bool StateIsPlaying (TVState state)
static bool StateIsLiveTV (TVState state)
static PictureAttribute NextPictureAdjustType (PictureAdjustType type, MythPlayer *mp, PictureAttribute attr)
static QStringList GetValidRecorderList (uint chanid)
static QStringList GetValidRecorderList (const QString &channum)
static QStringList GetValidRecorderList (uint, const QString &)
 Returns list of the recorders that have chanid or channum in their sources.
static TVState RemoveRecording (TVState state)

Private Attributes

QString baseFilters
QString db_channel_format
uint db_idle_timeout
int db_playback_exit_prompt
uint db_autoexpire_default
bool db_auto_set_watched
bool db_end_of_rec_exit_prompt
bool db_jump_prefer_osd
bool db_use_gui_size_for_tv
bool db_start_in_guide
bool db_toggle_bookmark
bool db_run_jobs_on_remote
bool db_continue_embedded
bool db_use_fixed_size
bool db_browse_always
bool db_browse_all_tuners
bool db_use_channel_groups
bool db_remember_last_channel_group
ChannelGroupList db_channel_groups
CommSkipMode autoCommercialSkip
bool tryUnflaggedSkip
bool smartForward
float ff_rew_repos
bool ff_rew_reverse
bool jumped_back
 Used by PromptDeleteRecording.
vector< intff_rew_speeds
uint vbimode
QTime ctorTime
uint switchToInputId
QMutex initFromDBLock
bool initFromDBDone
QWaitCondition initFromDBWait
bool wantsToQuit
 True if the user told MythTV to stop plaback.
bool stretchAdjustment
 True if time stretch is turned on.
bool audiosyncAdjustment
 True if audiosync is turned on.
bool editmode
 Are we in video editing mode.
bool zoomMode
bool sigMonMode
 Are we in signal monitoring mode?
bool endOfRecording
 !player->IsPlaying() && StateIsPlaying()
bool requestDelete
 User wants last video deleted.
bool allowRerecord
 User wants to rerecord the last video if deleted.
bool doSmartForward
bool queuedTranscode
PictureAdjustType adjustingPicture
 Picture attribute type to modify.
PictureAttribute adjustingPictureAttribute
 Picture attribute to modify (on arrow left or right)
QMap< QString, AskProgramInfoaskAllowPrograms
QMutex askAllowLock
MythDeque< QString > changePxP
QMutex progListsLock
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.
DDLoaderddMapLoader
 DataDirect map loader runnable.
vector< SleepTimerInfosleep_times
 Vector or sleep timer sleep times in seconds, with the appropriate UI message.
uint sleep_index
 Index into sleep_times.
uint sleepTimerTimeout
 Current sleep timeout in msec.
int sleepTimerId
 Timer for turning off playback.
int sleepDialogTimerId
 Timer for sleep dialog.
int idleTimerId
 Timer for turning off playback after idle period.
int idleDialogTimerId
 Timer for idle dialog.
MythTimer keyRepeatTimer
 Queue of unprocessed key presses.
bool ccInputMode
 Are we in CC/Teletext page/stream selection mode?
bool asInputMode
 Are we in Arbitrary seek input mode?
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)
QTime lockTimer
bool lockTimerOn
QDateTime lastLockSeenTime
TVBrowseHelperbrowsehelper
QMutex lastProgramLock
ProgramInfolastProgram
 last program played with this player
bool inPlaylist
 show is part of a playlist
bool underNetworkControl
 initial show started via by the network control interface
PIPState jumpToProgramPIPState
bool jumpToProgram
vector< PlayerContext * > player
int playerActive
 Video Player to which events are sent to.
QReadWriteLock playerLock
 lock on player and playerActive changes
bool noHardwareDecoders
RemoteEncoderswitchToRec
 Main recorder to use after a successful SwitchCards() call.
QMap< OSD *, const
PlayerContext * > 
osd_lctx
QString lcdTitle
QString lcdSubtitle
QString lcdCallsign
TvPlayWindowmyWindow
 Our screen, if it exists.
QRect player_bounds
 Prior GUI window bounds, for DoEditSchedule() and player exit().
QRect saved_gui_bounds
bool weDisabledGUI
 true if this instance disabled MythUI drawing.
bool disableDrawUnusedRects
 true if video chromakey and frame should not be drawn
bool isEmbedded
 are we currently embedded
bool ignoreKeyPresses
 should we ignore keypresses
vector< boolsaved_pause
 saved pause state before embedding
QMutex is_tunable_cache_lock
QMap< uint, vector< InputInfo > > is_tunable_cache_inputs
QMutex channelGroupLock
 Lock necessary when modifying channel group variables.
volatile int channelGroupId
DBChanList channelGroupChannelList
MythDeque< QString > networkControlCommands
QMutex timerIdLock
volatile int lcdTimerId
volatile int lcdVolumeTimerId
volatile int networkControlTimerId
volatile int jumpMenuTimerId
volatile int pipChangeTimerId
volatile int switchToInputTimerId
volatile int ccInputTimerId
volatile int asInputTimerId
volatile int queueInputTimerId
volatile int browseTimerId
volatile int updateOSDPosTimerId
volatile int updateOSDDebugTimerId
volatile int endOfPlaybackTimerId
volatile int embedCheckTimerId
volatile int endOfRecPromptTimerId
volatile int videoExitDialogTimerId
volatile int pseudoChangeChanTimerId
volatile int speedChangeTimerId
volatile int errorRecoveryTimerId
volatile int exitPlayerTimerId
TimerContextMap stateChangeTimerId
TimerContextMap signalMonitorTimerId
TimerContextMap tvchainUpdateTimerId

Static Private Attributes

static QMutex * gTVLock = new QMutex()
static TVgTV = NULL

Friends

class PlaybackBox
class GuideGrid
class ProgFinder
class ViewScheduled
class ScheduleEditor
class TvPlayWindow
class TVBrowseHelper
class DDLoader

Detailed Description

Definition at line 138 of file tv_play.h.


Member Typedef Documentation

typedef QMap<int,PlayerContext*> TV::TimerContextMap [private]

Definition at line 790 of file tv_play.h.

typedef QMap<int,const PlayerContext*> TV::TimerContextConstMap [private]

Definition at line 791 of file tv_play.h.


Member Enumeration Documentation

enum TV::ArbSeekWhence [private]
Enumerator:
ARBSEEK_SET 
ARBSEEK_REWIND 
ARBSEEK_FORWARD 
ARBSEEK_END 

Definition at line 397 of file tv_play.h.


Constructor & Destructor Documentation

TV::TV ( void  ) [private]
See also:
Init(void)

Definition at line 905 of file tv_play.cpp.

TV::~TV ( void  ) [private]

Definition at line 1253 of file tv_play.cpp.


Member Function Documentation

bool TV::IsTVRunning ( void  ) [static]

Definition at line 241 of file tv_play.cpp.

Referenced by MythAirplayServer::HandleResponse().

bool TV::StartTV ( ProgramInfo tvrec = NULL,
uint  flags = kStartTVNoFlags 
) [static]

returns true if the recording completed when exiting.

Definition at line 275 of file tv_play.cpp.

Referenced by internal_play_media(), main(), PlaybackBox::Play(), startTVInGuide(), and startTVNormal().

bool TV::event ( QEvent *  e)

This handles all standard events.

Definition at line 3478 of file tv_play.cpp.

Referenced by eventFilter().

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

This selectively blocks KeyPress and Resize events.

Definition at line 3444 of file tv_play.cpp.

bool TV::IsSameProgram ( int  player_idx,
const ProgramInfo p 
) const

true iff program is the same as the one in the selected player

Definition at line 12252 of file tv_play.cpp.

Referenced by extract_main_state(), PlaybackBox::PlayX(), and PlaybackBox::ShowActionPopup().

void TV::FinishRecording ( int  player_idx)

Finishes player's recording.

Definition at line 1677 of file tv_play.cpp.

void TV::InitKeys ( void  ) [static]

Definition at line 482 of file tv_play.cpp.

void TV::ReloadKeys ( void  ) [static]

Definition at line 892 of file tv_play.cpp.

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 467 of file tv_play.cpp.

Referenced by SetFuncPtrs().

If any cards are configured, return the number.

Definition at line 193 of file tv_play.cpp.

Referenced by isLiveTVAvailable().

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

Definition at line 9070 of file tv_play.cpp.

Referenced by customEvent().

void TV::timerEvent ( QTimerEvent *  te) [slot]

Definition at line 2597 of file tv_play.cpp.

void TV::customEvent ( QEvent *  e) [protected]

This handles all custom events.

Definition at line 8471 of file tv_play.cpp.

Referenced by eventFilter().

TV * TV::GetTV ( void  ) [static, private]

Definition at line 247 of file tv_play.cpp.

void TV::ReleaseTV ( TV tv) [static, private]

Definition at line 259 of file tv_play.cpp.

bool TV::Init ( bool  createWindow = true) [private]

Performs instance initialization, returns true on success.

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

Definition at line 1127 of file tv_play.cpp.

Referenced by StartTV().

void TV::InitFromDB ( void  ) [private]

Definition at line 1006 of file tv_play.cpp.

Referenced by TV().

bool TV::LiveTV ( bool  showDialogs = true) [private]

Starts LiveTV.

Parameters:
showDialogsif true error dialogs are shown, if false they are not

Definition at line 1602 of file tv_play.cpp.

Referenced by StartTV().

bool TV::StartLiveTVInGuide ( void  ) [inline, private]

Definition at line 213 of file tv_play.h.

Referenced by StartTV().

int TV::Playback ( const ProgramInfo rcinfo) [private]

Definition at line 2005 of file tv_play.cpp.

Referenced by StartTV().

void TV::PlaybackLoop ( void  ) [private]

The main playback loop.

Definition at line 1338 of file tv_play.cpp.

Referenced by StartTV().

bool TV::ProcessKeypress ( PlayerContext actx,
QKeyEvent *  e 
) [private]

Definition at line 3632 of file tv_play.cpp.

Referenced by event().

void TV::ProcessNetworkControlCommand ( PlayerContext ctx,
const QString &  command 
) [private]

Definition at line 4617 of file tv_play.cpp.

Referenced by timerEvent().

bool TV::HandleTrackAction ( PlayerContext ctx,
const QString &  action 
) [private]

Definition at line 3516 of file tv_play.cpp.

Referenced by ActiveHandleAction(), CommitQueuedInput(), and OSDDialogEvent().

bool TV::ActiveHandleAction ( PlayerContext ctx,
const QStringList &  actions,
bool  isDVD,
bool  isDVDStillFrame 
) [private]

Definition at line 4063 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::BrowseHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 3831 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::OSDDialogEvent ( int  result,
QString  text,
QString  action 
) [private]

Definition at line 9878 of file tv_play.cpp.

Referenced by customEvent().

bool TV::PxPHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4471 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ProcessKeypress().

bool TV::ToggleHandleAction ( PlayerContext ctx,
const QStringList &  actions,
bool  isDVD 
) [private]

Definition at line 4386 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::FFRewHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4349 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::ActivePostQHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4532 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::HandleJumpToProgramAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 11528 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

bool TV::SeekHandleAction ( PlayerContext actx,
const QStringList &  actions,
const bool  isDVD 
) [private]

Definition at line 5852 of file tv_play.cpp.

Referenced by ActiveHandleAction().

bool TV::TimeStretchHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 3977 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::DiscMenuHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4025 of file tv_play.cpp.

Referenced by ProcessKeypress().

bool TV::Handle3D ( PlayerContext ctx,
const QString &  action 
) [private]

Definition at line 4041 of file tv_play.cpp.

Referenced by OSDDialogEvent().

int TV::StartTimer ( int  interval,
int  line 
) [private]
void TV::KillTimer ( int  id) [private]
void TV::SetSpeedChangeTimer ( uint  when,
int  line 
) [private]

Definition at line 3237 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3278 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3293 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3329 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3359 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3411 of file tv_play.cpp.

Referenced by timerEvent().

void TV::ToggleSleepTimer ( const PlayerContext ctx) [private]

Definition at line 8273 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::ToggleSleepTimer ( const PlayerContext ctx,
const QString &  time 
) [private]

Definition at line 11650 of file tv_play.cpp.

Definition at line 3029 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3081 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 3123 of file tv_play.cpp.

Referenced by timerEvent().

void TV::EditSchedule ( const PlayerContext ctx,
int  editType = kScheduleProgramGuide 
) [private]
bool TV::StartEmbedding ( const QRect &  embedRect) [private]
void TV::StopEmbedding ( void  ) [private]

Definition at line 7864 of file tv_play.cpp.

Referenced by customEvent().

bool TV::IsTunable ( const PlayerContext ctx,
uint  chanid,
bool  use_cache = false 
) [private]
void TV::ClearTunableCache ( void  ) [private]

Definition at line 7819 of file tv_play.cpp.

Referenced by GuideGrid::updateChannels().

void TV::ChangeChannel ( const PlayerContext ctx,
const DBChanList options 
) [private]
void TV::DrawUnusedRects ( void  ) [private]

Definition at line 7892 of file tv_play.cpp.

Referenced by customEvent(), GuideGrid::EmbedTVWindow(), event(), and HandleStateChange().

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

Definition at line 7937 of file tv_play.cpp.

Referenced by customEvent(), and StartTV().

QString TV::GetRecordingGroup ( int  player_idx) const [private]

Definition at line 12233 of file tv_play.cpp.

Referenced by FillOSDMenuJumpRec(), and PlaybackBox::PlaybackBox().

void TV::ChangeVolume ( PlayerContext ctx,
bool  up,
int  newvolume = -1 
) [private]
void TV::ToggleMute ( PlayerContext ctx,
const bool  muteIndividualChannels = false 
) [private]

Definition at line 8237 of file tv_play.cpp.

Referenced by ActiveHandleAction(), ChangeVolume(), and GuideGrid::toggleMute().

void TV::UpdateChannelList ( int  groupID) [private]

update the channel list with channels from the selected channel group

Definition at line 1373 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and GuideGrid::~GuideGrid().

OSD * TV::GetOSDL ( const char *  file,
int  location 
) [private]

Definition at line 12284 of file tv_play.cpp.

OSD * TV::GetOSDL ( const PlayerContext ctx,
const char *  file,
int  location 
) [private]

Definition at line 12295 of file tv_play.cpp.

void TV::ReturnOSDLock ( const PlayerContext ctx,
OSD *&  osd 
) [private]
PlayerContext * TV::GetPlayerWriteLock ( int  which,
const char *  file,
int  location 
) [private]

Definition at line 12348 of file tv_play.cpp.

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

PlayerContext * TV::GetPlayerReadLock ( int  which,
const char *  file,
int  location 
) [private]
const PlayerContext * TV::GetPlayerReadLock ( int  which,
const char *  file,
int  location 
) const [private]

Definition at line 12378 of file tv_play.cpp.

PlayerContext * TV::GetPlayerHaveLock ( PlayerContext locked_context,
int  which,
const char *  file,
int  location 
) [private]

Definition at line 12394 of file tv_play.cpp.

const PlayerContext * TV::GetPlayerHaveLock ( const PlayerContext locked_context,
int  which,
const char *  file,
int  location 
) const [private]

Definition at line 12410 of file tv_play.cpp.

void TV::ReturnPlayerLock ( PlayerContext *&  ctx) [private]
void TV::ReturnPlayerLock ( const PlayerContext *&  ctx) const [private]

Definition at line 12432 of file tv_play.cpp.

void TV::ToggleAutoExpire ( PlayerContext ctx) [private]

Definition at line 11475 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ToggleRecord ( PlayerContext ctx) [private]

Definition at line 8989 of file tv_play.cpp.

Referenced by BrowseHandleAction(), and ToggleHandleAction().

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

Definition at line 2035 of file tv_play.cpp.

Referenced by FinishRecording(), PrepareToExitPlayer(), and RemoveRecording().

bool TV::StateIsPlaying ( TVState  state) [static, private]
bool TV::StateIsLiveTV ( TVState  state) [static, private]
TVState TV::GetState ( int  player_idx) const [private]
TVState TV::GetState ( const PlayerContext actx) const [private]

get tv state of active player context

Definition at line 1590 of file tv_play.cpp.

void TV::HandleStateChange ( PlayerContext mctx,
PlayerContext ctx 
) [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 2088 of file tv_play.cpp.

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

void TV::GetStatus ( void  ) [private]

Definition at line 1409 of file tv_play.cpp.

Referenced by customEvent().

void TV::SetErrored ( PlayerContext ctx) [private]

Definition at line 3167 of file tv_play.cpp.

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

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

Definition at line 308 of file tv_play.h.

Referenced by StartTV().

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

Definition at line 309 of file tv_play.h.

Referenced by StartTV().

void TV::PrepToSwitchToRecordedProgram ( PlayerContext ctx,
const ProgramInfo p 
) [private]

Definition at line 3177 of file tv_play.cpp.

Referenced by customEvent(), and HandleJumpToProgramAction().

void TV::PrepareToExitPlayer ( PlayerContext ctx,
int  line,
bool  bookmark = true 
) [private]
void TV::SetExitPlayer ( bool  set_it,
bool  wants_to 
) [private]
bool TV::RequestNextRecorder ( PlayerContext ctx,
bool  showDialogs 
) [private]

Definition at line 1639 of file tv_play.cpp.

Referenced by CreatePBP(), CreatePIP(), and LiveTV().

void TV::DeleteRecorder ( ) [private]
bool TV::StartRecorder ( PlayerContext ctx,
int  maxWait = -1 
) [private]

Starts recorder, must be called before StartPlayer().

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

Definition at line 2462 of file tv_play.cpp.

Referenced by HandleStateChange(), and SwitchCards().

void TV::StopStuff ( PlayerContext mctx,
PlayerContext ctx,
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:
stopRingBufferSet to true if ringbuffer must be shut down.
stopPlayerSet to true if player must be shut down.
stopRecorderSet to true if recorder must be shut down.

Definition at line 2515 of file tv_play.cpp.

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

void TV::TeardownPlayer ( PlayerContext mctx,
PlayerContext ctx 
) [private]

Definition at line 2563 of file tv_play.cpp.

Referenced by timerEvent().

bool TV::StartPlayer ( PlayerContext mctx,
PlayerContext ctx,
TVState  desiredState 
) [private]

Definition at line 5120 of file tv_play.cpp.

Referenced by HandleStateChange(), and RestartAllPlayers().

vector< long long > TV::TeardownAllPlayers ( PlayerContext lctx) [private]

Teardown all Player's in preparation for PxP Swap or change from PIP -> PBP or PBP -> PIP.

Definition at line 5491 of file tv_play.cpp.

Referenced by PxPSwap(), PxPToggleType(), and RestartMainPlayer().

void TV::RestartAllPlayers ( PlayerContext lctx,
const vector< long long > &  pos,
MuteState  mctx_mute 
) [private]

Recreate Main and PIP windows.

Could be either PIP or PBP views.

Definition at line 5555 of file tv_play.cpp.

Referenced by PxPSwap(), PxPToggleType(), and RestartMainPlayer().

void TV::RestartMainPlayer ( PlayerContext mctx) [private]

Definition at line 5670 of file tv_play.cpp.

Referenced by timerEvent().

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

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

Definition at line 335 of file tv_play.h.

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

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

Definition at line 337 of file tv_play.h.

Referenced by StartTV().

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

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

Definition at line 340 of file tv_play.h.

Referenced by StartTV().

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

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

Definition at line 343 of file tv_play.h.

Referenced by StartTV().

bool TV::IsDeleteAllowed ( const PlayerContext ctx) const [private]

Definition at line 11980 of file tv_play.cpp.

Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().

Definition at line 6688 of file tv_play.cpp.

Referenced by ToggleHandleAction().

void TV::ToggleChannelFavorite ( PlayerContext ctx,
QString  changroup_name 
) [private]

Definition at line 6696 of file tv_play.cpp.

void TV::ChangeChannel ( PlayerContext ctx,
int  direction 
) [private]

Definition at line 6933 of file tv_play.cpp.

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

Definition at line 7006 of file tv_play.cpp.

Definition at line 7140 of file tv_play.cpp.

Referenced by PopPreviousChannel().

void TV::PopPreviousChannel ( PlayerContext ctx,
bool  immediate_change 
) [private]

Definition at line 7153 of file tv_play.cpp.

Referenced by ActivePostQHandleAction(), and OSDDialogEvent().

void TV::AddKeyToInputQueue ( PlayerContext ctx,
char  key 
) [private]
void TV::ClearInputQueues ( const PlayerContext ctx,
bool  hideosd 
) [private]

Clear channel key buffer of input keys.

Parameters:
hideosdif true, hides "channel_number" OSDSet.

Definition at line 6744 of file tv_play.cpp.

Referenced by ActiveHandleAction(), ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), Init(), and timerEvent().

bool TV::ProcessSmartChannel ( const PlayerContext ctx,
QString &  inputStr 
) [private]

Definition at line 6807 of file tv_play.cpp.

Referenced by AddKeyToInputQueue().

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

Definition at line 364 of file tv_play.h.

Referenced by ClearOSD(), and timerEvent().

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

Definition at line 6702 of file tv_play.cpp.

Referenced by AddKeyToInputQueue(), and CommitQueuedInput().

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

Definition at line 6710 of file tv_play.cpp.

Referenced by DoArbSeek(), and HandleTrackAction().

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

Definition at line 6716 of file tv_play.cpp.

Referenced by CommitQueuedInput(), and ProcessSmartChannel().

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

Definition at line 371 of file tv_play.h.

Referenced by ChangeChannel(), and CommitQueuedInput().

void TV::SwitchSource ( PlayerContext ctx,
uint  source_direction 
) [private]

Definition at line 6363 of file tv_play.cpp.

Referenced by ActivePostQHandleAction().

void TV::SwitchInputs ( PlayerContext ctx,
uint  inputid 
) [private]

Definition at line 6442 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 6634 of file tv_play.cpp.

Referenced by ActivePostQHandleAction(), SwitchInputs(), and ToggleHandleAction().

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

Definition at line 6461 of file tv_play.cpp.

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

void TV::PauseLiveTV ( PlayerContext ctx) [private]

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

Definition at line 11757 of file tv_play.cpp.

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

void TV::UnpauseLiveTV ( PlayerContext ctx,
bool  bQuietly = false 
) [private]

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

Definition at line 11798 of file tv_play.cpp.

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

void TV::DoPlay ( PlayerContext ctx) [private]

Definition at line 5700 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

float TV::DoTogglePauseStart ( PlayerContext ctx) [private]

Definition at line 5732 of file tv_play.cpp.

Referenced by DoSetPauseState(), and DoTogglePause().

void TV::DoTogglePauseFinish ( PlayerContext ctx,
float  time,
bool  showOSD 
) [private]

Definition at line 5763 of file tv_play.cpp.

Referenced by DoSetPauseState(), and DoTogglePause().

void TV::DoTogglePause ( PlayerContext ctx,
bool  showOSD 
) [private]
vector< bool > TV::DoSetPauseState ( PlayerContext lctx,
const vector< bool > &  pause 
) [private]

Definition at line 7913 of file tv_play.cpp.

Referenced by customEvent(), and DoEditSchedule().

bool TV::ContextIsPaused ( PlayerContext ctx,
const char *  file,
int  location 
) [private]
void TV::SetLastProgram ( const ProgramInfo rcinfo) [private]
ProgramInfo * TV::GetLastProgram ( void  ) const [private]

Definition at line 12225 of file tv_play.cpp.

Referenced by FillOSDMenuJumpRec(), and StartTV().

void TV::DoSeek ( PlayerContext ctx,
float  time,
const QString &  mesg 
) [private]
bool TV::DoPlayerSeek ( PlayerContext ctx,
float  time 
) [private]
void TV::DoSeekAbsolute ( PlayerContext ctx,
long long  seconds 
) [private]

Definition at line 5933 of file tv_play.cpp.

Referenced by customEvent(), DoArbSeek(), and ProcessNetworkControlCommand().

void TV::DoArbSeek ( PlayerContext ctx,
ArbSeekWhence  whence 
) [private]

Definition at line 5946 of file tv_play.cpp.

Referenced by ActiveHandleAction(), CommitQueuedInput(), and SeekHandleAction().

void TV::DoJumpFFWD ( PlayerContext ctx) [private]

Definition at line 11851 of file tv_play.cpp.

Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().

void TV::DoJumpRWND ( PlayerContext ctx) [private]

Definition at line 11861 of file tv_play.cpp.

Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().

void TV::NormalSpeed ( PlayerContext ctx) [private]
void TV::ChangeSpeed ( PlayerContext ctx,
int  direction 
) [private]

Definition at line 5992 of file tv_play.cpp.

Referenced by ActiveHandleAction().

Definition at line 8126 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 11874 of file tv_play.cpp.

Referenced by DoJumpRWND().

void TV::DVDJumpForward ( PlayerContext ctx) [private]

Definition at line 11911 of file tv_play.cpp.

Referenced by DoJumpFFWD().

float TV::StopFFRew ( PlayerContext ctx) [private]
void TV::ChangeFFRew ( PlayerContext ctx,
int  direction 
) [private]

Definition at line 6063 of file tv_play.cpp.

Referenced by SeekHandleAction().

void TV::SetFFRew ( PlayerContext ctx,
int  index 
) [private]

Definition at line 6096 of file tv_play.cpp.

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

void TV::EnableUpmix ( PlayerContext ctx,
bool  enable,
bool  toggle = false 
) [private]

Definition at line 8191 of file tv_play.cpp.

Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().

void TV::ChangeAudioSync ( PlayerContext ctx,
int  dir,
int  newsync = -9999 
) [private]
bool TV::AudioSyncHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4001 of file tv_play.cpp.

Referenced by ProcessKeypress().

int TV::GetNumChapters ( const PlayerContext ctx) const [private]

Definition at line 6193 of file tv_play.cpp.

Referenced by DoJumpFFWD(), DoJumpRWND(), and FillOSDMenuNavigate().

void TV::GetChapterTimes ( const PlayerContext ctx,
QList< long long > &  times 
) const [private]

Definition at line 6203 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

int TV::GetCurrentChapter ( const PlayerContext ctx) const [private]

Definition at line 6211 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

int TV::GetNumTitles ( const PlayerContext ctx) const [private]

Definition at line 6237 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

int TV::GetCurrentTitle ( const PlayerContext ctx) const [private]

Definition at line 6247 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

int TV::GetTitleDuration ( const PlayerContext ctx,
int  title 
) const [private]

Definition at line 6287 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

QString TV::GetTitleName ( const PlayerContext ctx,
int  title 
) const [private]

Definition at line 6298 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

void TV::DoSwitchTitle ( PlayerContext ctx,
int  title 
) [private]

Definition at line 6308 of file tv_play.cpp.

Referenced by customEvent(), and OSDDialogEvent().

int TV::GetNumAngles ( const PlayerContext ctx) const [private]

Definition at line 6257 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

int TV::GetCurrentAngle ( const PlayerContext ctx) const [private]

Definition at line 6267 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

QString TV::GetAngleName ( const PlayerContext ctx,
int  angle 
) const [private]

Definition at line 6277 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

void TV::DoSwitchAngle ( PlayerContext ctx,
int  angle 
) [private]

Definition at line 6324 of file tv_play.cpp.

Referenced by customEvent(), and OSDDialogEvent().

void TV::DoJumpChapter ( PlayerContext ctx,
int  chapter 
) [private]
void TV::DoSkipCommercials ( PlayerContext ctx,
int  direction 
) [private]

Definition at line 6340 of file tv_play.cpp.

Referenced by ActiveHandleAction().

void TV::SetAutoCommercialSkip ( const PlayerContext ctx,
CommSkipMode  skipMode = kCommSkipOff 
) [private]

Definition at line 11498 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

void TV::DoQueueTranscode ( PlayerContext ctx,
QString  profile 
) [private]

Definition at line 6143 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

bool TV::IsBookmarkAllowed ( const PlayerContext ctx) const [private]
void TV::SetBookmark ( PlayerContext ctx,
bool  clear = false 
) [private]
bool TV::ClearOSD ( const PlayerContext ctx) [private]
void TV::ToggleOSD ( PlayerContext ctx,
bool  includeStatusOSD 
) [private]

Cycle through the available Info OSDs.

Definition at line 7213 of file tv_play.cpp.

Referenced by ActiveHandleAction().

void TV::ToggleOSDDebug ( PlayerContext ctx) [private]

Definition at line 7281 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

void TV::UpdateOSDDebug ( const PlayerContext ctx) [private]

Definition at line 7307 of file tv_play.cpp.

Referenced by timerEvent(), and ToggleOSDDebug().

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

Update and display the passed OSD set with programinfo.

Definition at line 7323 of file tv_play.cpp.

Referenced by ToggleOSD(), and UnpauseLiveTV().

void TV::UpdateOSDStatus ( const PlayerContext ctx,
QString  title,
QString  desc,
QString  value,
int  type,
QString  units,
int  position = 0,
int  prev = 0,
int  next = 0,
enum OSDTimeout  timeout = kOSDTimeout_Med 
) [private]
void TV::UpdateOSDStatus ( const PlayerContext ctx,
osdInfo info,
int  type,
enum OSDTimeout  timeout 
) [private]

Definition at line 7342 of file tv_play.cpp.

void TV::UpdateOSDSeekMessage ( const PlayerContext ctx,
const QString &  mesg,
enum OSDTimeout  timeout 
) [private]
void TV::UpdateOSDInput ( const PlayerContext ctx,
QString  inputname = QString::null 
) [private]

Definition at line 7392 of file tv_play.cpp.

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

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

Updates Signal portion of OSD...

Definition at line 7413 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

Definition at line 7571 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

void TV::SetUpdateOSDPosition ( bool  set_it) [private]
bool TV::CreatePBP ( PlayerContext ctx,
const ProgramInfo info 
) [private]

Setup Picture by Picture.

right side will be the current video.

Parameters:
infoprograminfo for PBP to use for left Picture. is NULL for Live TV

Definition at line 4975 of file tv_play.cpp.

Referenced by HandleJumpToProgramAction(), and PxPCreateView().

bool TV::CreatePIP ( PlayerContext ctx,
const ProgramInfo info 
) [private]

create PIP.

Parameters:
infoprograminfo for PIP to create. is NULL for LiveTV PIP

Definition at line 5063 of file tv_play.cpp.

Referenced by HandleJumpToProgramAction(), and PxPCreateView().

bool TV::ResizePIPWindow ( PlayerContext ctx) [private]

resize PIP Window.

done when changing channels or swapping PIP

Definition at line 5422 of file tv_play.cpp.

Referenced by PIPAddPlayer().

bool TV::IsPBPSupported ( const PlayerContext ctx = NULL) const [private]
bool TV::IsPIPSupported ( const PlayerContext ctx = NULL) const [private]

Definition at line 5472 of file tv_play.cpp.

Referenced by CreatePIP(), FillOSDMenuPlayback(), and PxPHandleAction().

void TV::PxPToggleView ( PlayerContext actx,
bool  wantPBP 
) [private]

start/stop PIP/PBP

Definition at line 5240 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

void TV::PxPCreateView ( PlayerContext actx,
bool  wantPBP 
) [private]

start PIP/PBP

Definition at line 5256 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent(), and PxPToggleView().

void TV::PxPTeardownView ( PlayerContext actx) [private]

stop PIP/PBP

Definition at line 5300 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and PxPToggleView().

void TV::PxPToggleType ( PlayerContext mctx,
bool  wantPBP 
) [private]

Change PIP View from PIP to PBP and visa versa.

Definition at line 5336 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

void TV::PxPSwap ( PlayerContext mctx,
PlayerContext pipctx 
) [private]

Definition at line 5625 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

bool TV::PIPAddPlayer ( PlayerContext mctx,
PlayerContext ctx 
) [private]

Maps Player of software scaled PIP to the main player.

Definition at line 5177 of file tv_play.cpp.

Referenced by StartPlayer(), and SwitchCards().

bool TV::PIPRemovePlayer ( PlayerContext mctx,
PlayerContext ctx 
) [private]

Unmaps Player of software scaled PIP from the main player.

Definition at line 5222 of file tv_play.cpp.

Referenced by SwitchCards(), and TeardownPlayer().

tear down remaining PBP video and restore fullscreen display

Definition at line 5515 of file tv_play.cpp.

Referenced by TeardownPlayer().

void TV::SetActive ( PlayerContext lctx,
int  index,
bool  osd_msg 
) [private]

Definition at line 8426 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 8441 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::DoToggleStudioLevels ( const PlayerContext ctx) [private]

Definition at line 9123 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::DoToggleNightMode ( const PlayerContext ctx) [private]

Definition at line 9130 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::DoTogglePictureAttribute ( const PlayerContext ctx,
PictureAdjustType  type 
) [private]

Definition at line 9137 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::DoChangePictureAttribute ( PlayerContext ctx,
PictureAdjustType  type,
PictureAttribute  attr,
bool  up,
int  newvalue = -1 
) [private]

Definition at line 9187 of file tv_play.cpp.

Referenced by customEvent(), and PictureAttributeHandleAction().

bool TV::PictureAttributeHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 3954 of file tv_play.cpp.

Referenced by ProcessKeypress().

Definition at line 9092 of file tv_play.cpp.

Referenced by DoTogglePictureAttribute().

void TV::HandleDeinterlacer ( PlayerContext ctx,
const QString &  action 
) [private]

Definition at line 11463 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ITVRestart ( PlayerContext ctx,
bool  isLive 
) [private]

Restart the MHEG/MHP engine.

Definition at line 11829 of file tv_play.cpp.

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

void TV::EnableVisualisation ( const PlayerContext ctx,
bool  enable,
bool  toggle = false,
const QString &  action = QString("") 
) [private]

Definition at line 4451 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

void TV::SetManualZoom ( const PlayerContext ctx,
bool  enabled,
QString  msg 
) [private]

Definition at line 11515 of file tv_play.cpp.

Referenced by ManualZoomHandleAction(), and OSDDialogEvent().

bool TV::ManualZoomHandleAction ( PlayerContext actx,
const QStringList &  actions 
) [private]

Definition at line 3892 of file tv_play.cpp.

Referenced by ProcessKeypress().

Starts channel editing mode.

Definition at line 9513 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

bool TV::HandleOSDChannelEdit ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 9556 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Automatically fills in as much information as possible.

Definition at line 9592 of file tv_play.cpp.

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

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

Automatically fills in as much information as possible.

Definition at line 9601 of file tv_play.cpp.

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

Definition at line 9639 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 9675 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 9735 of file tv_play.cpp.

Referenced by ChannelEditDDFill().

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

Definition at line 9823 of file tv_play.cpp.

Referenced by RunLoadDDMap().

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

Definition at line 9798 of file tv_play.cpp.

bool TV::DialogIsVisible ( PlayerContext ctx,
const QString &  dialog 
) [private]
void TV::HandleOSDInfo ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 10238 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ShowNoRecorderDialog ( const PlayerContext ctx,
NoRecorderMsg  msgType = kNoRecorders 
) [private]

Definition at line 11715 of file tv_play.cpp.

Referenced by ChangeChannel(), and RequestNextRecorder().

void TV::ShowOSDAskAllow ( PlayerContext ctx) [private]

Definition at line 1731 of file tv_play.cpp.

Referenced by AskAllowRecording().

void TV::HandleOSDAskAllow ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 1965 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::AskAllowRecording ( PlayerContext ctx,
const QStringList &  msg,
int  timeuntil,
bool  hasrec,
bool  haslater 
) [private]

Definition at line 1685 of file tv_play.cpp.

Referenced by customEvent().

void TV::ShowOSDCutpoint ( PlayerContext ctx,
const QString &  type 
) [private]

Definition at line 9270 of file tv_play.cpp.

Referenced by HandleOSDCutpoint(), and ProcessKeypress().

bool TV::HandleOSDCutpoint ( PlayerContext ctx,
QString  action,
long long  frame 
) [private]

Definition at line 9402 of file tv_play.cpp.

Referenced by OSDDialogEvent().

Starts Program Cut Map Editing mode.

Definition at line 9432 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

Definition at line 9450 of file tv_play.cpp.

Referenced by StartProgramEditMode().

void TV::HandleOSDAlreadyEditing ( PlayerContext ctx,
QString  action,
bool  was_paused 
) [private]

Definition at line 9471 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ShowOSDSleep ( void  ) [private]

Definition at line 8301 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleOSDSleep ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 8326 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::SleepDialogTimeout ( void  ) [private]

Definition at line 8347 of file tv_play.cpp.

Referenced by timerEvent().

void TV::ShowOSDIdle ( void  ) [private]

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 8365 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleOSDIdle ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 8389 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::IdleDialogTimeout ( void  ) [private]

Definition at line 8412 of file tv_play.cpp.

Referenced by timerEvent().

Definition at line 11995 of file tv_play.cpp.

Referenced by ActiveHandleAction().

void TV::ShowOSDPromptDeleteRecording ( PlayerContext ctx,
QString  title,
bool  force = false 
) [private]
bool TV::HandleOSDVideoExit ( PlayerContext ctx,
QString  action 
) [private]

Definition at line 12169 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ShowOSDMenu ( const PlayerContext ctx,
const QString  category = "",
const QString  selected = "" 
) [private]

Definition at line 10249 of file tv_play.cpp.

Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().

void TV::FillOSDMenuAudio ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 10278 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuVideo ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 10379 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuSubtitles ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 10606 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuNavigate ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 10789 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuJobs ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 11109 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuPlayback ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 11177 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuSchedule ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 11326 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuSource ( const PlayerContext ctx,
OSD osd,
QString  category,
const QString  selected,
QString &  currenttext,
QString &  backaction 
) [private]

Definition at line 10950 of file tv_play.cpp.

Referenced by ShowOSDMenu().

void TV::FillOSDMenuJumpRec ( PlayerContext ctx,
const QString  category = "",
int  level = 0,
const QString  selected = "" 
) [private]

Definition at line 11347 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and timerEvent().

void TV::UpdateLCD ( void  ) [private]

Definition at line 7631 of file tv_play.cpp.

Referenced by HandleStateChange(), and UnpauseLiveTV().

void TV::ShowLCDChannelInfo ( const PlayerContext ctx) [private]

Definition at line 7640 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().

void TV::ShowLCDDVDInfo ( const PlayerContext ctx) [private]

Definition at line 7677 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent().

int TV::GetLastRecorderNum ( int  player_idx) const [private]

Definition at line 1631 of file tv_play.cpp.

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

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

Parameters:
chanidChannel ID of channel we are querying recorders for.
channumChannel "number" we are querying recorders for.
Returns:
List of cardid's for recorders with channel.
TVState TV::RemoveRecording ( TVState  state) [static, private]

Definition at line 2055 of file tv_play.cpp.

void TV::RestoreScreenSaver ( const PlayerContext ctx) [private]

Definition at line 12266 of file tv_play.cpp.

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

int TV::find_player_index ( const PlayerContext ctx) const [private]

Friends And Related Function Documentation

friend class PlaybackBox [friend]

Definition at line 140 of file tv_play.h.

friend class GuideGrid [friend]

Definition at line 141 of file tv_play.h.

friend class ProgFinder [friend]

Definition at line 142 of file tv_play.h.

friend class ViewScheduled [friend]

Definition at line 143 of file tv_play.h.

friend class ScheduleEditor [friend]

Definition at line 144 of file tv_play.h.

friend class TvPlayWindow [friend]

Definition at line 145 of file tv_play.h.

Referenced by Init().

friend class TVBrowseHelper [friend]

Definition at line 146 of file tv_play.h.

Referenced by InitFromDB().

friend class DDLoader [friend]

Definition at line 147 of file tv_play.h.


Member Data Documentation

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

stores last program info.

maintains info so long as mythfrontend is active

Definition at line 192 of file tv_play.h.

Referenced by timerEvent().

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

function pointer for RunPlaybackBox in playbackbox.cpp

Definition at line 193 of file tv_play.h.

Referenced by DoEditSchedule(), and HandleJumpToProgramAction().

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

function pointer for RunViewScheduled in viewscheduled.cpp

Definition at line 194 of file tv_play.h.

Referenced by DoEditSchedule().

EMBEDRETURNVOIDEPG TV::RunProgramGuidePtr = NULL [static, protected]

function pointer for RunProgramGuide in guidegrid.cpp

Definition at line 195 of file tv_play.h.

Referenced by DoEditSchedule().

EMBEDRETURNVOIDFINDER TV::RunProgramFinderPtr = NULL [static, protected]

function pointer for RunProgramFinder in progfind.cpp

Definition at line 196 of file tv_play.h.

Referenced by DoEditSchedule().

function pointer for RunScheduleEditor in scheduleeditor.cpp

Definition at line 197 of file tv_play.h.

Referenced by DoEditSchedule().

QMutex * TV::gTVLock = new QMutex() [static, private]

Definition at line 204 of file tv_play.h.

TV * TV::gTV = NULL [static, private]

Definition at line 205 of file tv_play.h.

QString TV::baseFilters [private]

Definition at line 617 of file tv_play.h.

Referenced by InitFromDB().

QString TV::db_channel_format [private]

Definition at line 618 of file tv_play.h.

Referenced by InitFromDB(), and ShowOSDAskAllow().

Definition at line 619 of file tv_play.h.

Referenced by HandleOSDIdle(), InitFromDB(), LiveTV(), ProcessKeypress(), and ShowOSDIdle().

Definition at line 620 of file tv_play.h.

Referenced by ActiveHandleAction(), customEvent(), and InitFromDB().

Definition at line 621 of file tv_play.h.

Referenced by InitFromDB(), and ToggleRecord().

Definition at line 622 of file tv_play.h.

Referenced by InitFromDB(), PrepareToExitPlayer(), and ProcessNetworkControlCommand().

Definition at line 623 of file tv_play.h.

Referenced by HandleStateChange(), and InitFromDB().

Definition at line 624 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and InitFromDB().

Definition at line 625 of file tv_play.h.

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

Definition at line 626 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 627 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and InitFromDB().

Definition at line 628 of file tv_play.h.

Referenced by DoQueueTranscode(), and InitFromDB().

Definition at line 629 of file tv_play.h.

Referenced by DoEditSchedule(), and InitFromDB().

Definition at line 630 of file tv_play.h.

Referenced by customEvent(), DoEditSchedule(), HandleStateChange(), and InitFromDB().

Definition at line 631 of file tv_play.h.

Referenced by ActivePostQHandleAction(), FillOSDMenuPlayback(), and InitFromDB().

Definition at line 632 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 634 of file tv_play.h.

Referenced by InitFromDB(), and UpdateChannelList().

Definition at line 635 of file tv_play.h.

Referenced by FillOSDMenuPlayback(), and InitFromDB().

Definition at line 637 of file tv_play.h.

Definition at line 638 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 640 of file tv_play.h.

Referenced by InitFromDB(), and SeekHandleAction().

float TV::ff_rew_repos [private]

Definition at line 641 of file tv_play.h.

Referenced by InitFromDB(), and StopFFRew().

Definition at line 642 of file tv_play.h.

Referenced by ChangeFFRew(), and InitFromDB().

bool TV::jumped_back [private]

Used by PromptDeleteRecording.

Definition at line 643 of file tv_play.h.

Referenced by HandleEndOfRecordingExitPromptTimerEvent().

vector<int> TV::ff_rew_speeds [private]
uint TV::vbimode [private]

Definition at line 646 of file tv_play.h.

QTime TV::ctorTime [private]

Definition at line 648 of file tv_play.h.

Referenced by StartPlayer(), and TV().

Definition at line 649 of file tv_play.h.

Referenced by OSDDialogEvent(), SwitchSource(), and timerEvent().

QMutex TV::initFromDBLock [private]

Definition at line 651 of file tv_play.h.

Referenced by Init(), and InitFromDB().

Definition at line 652 of file tv_play.h.

Referenced by Init(), and InitFromDB().

QWaitCondition TV::initFromDBWait [private]

Definition at line 653 of file tv_play.h.

Referenced by Init(), and InitFromDB().

bool TV::wantsToQuit [mutable, private]

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 657 of file tv_play.h.

Referenced by Playback(), SetExitPlayer(), and StartTV().

True if time stretch is turned on.

Definition at line 658 of file tv_play.h.

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

True if audiosync is turned on.

Definition at line 659 of file tv_play.h.

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

bool TV::editmode [private]
bool TV::zoomMode [private]

Definition at line 661 of file tv_play.h.

Referenced by ManualZoomHandleAction(), and SetManualZoom().

bool TV::sigMonMode [private]

Are we in signal monitoring mode?

Definition at line 662 of file tv_play.h.

Referenced by ActiveHandleAction().

!player->IsPlaying() && StateIsPlaying()

Definition at line 663 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().

User wants last video deleted.

Definition at line 664 of file tv_play.h.

Referenced by ActiveHandleAction(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), LiveTV(), Playback(), and StartTV().

User wants to rerecord the last video if deleted.

Definition at line 665 of file tv_play.h.

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

Definition at line 666 of file tv_play.h.

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

Definition at line 667 of file tv_play.h.

Referenced by DoQueueTranscode().

Picture attribute type to modify.

Definition at line 669 of file tv_play.h.

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

Picture attribute to modify (on arrow left or right)

Definition at line 671 of file tv_play.h.

Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), OSDDialogEvent(), and PictureAttributeHandleAction().

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

Definition at line 674 of file tv_play.h.

Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().

QMutex TV::askAllowLock [private]

Definition at line 675 of file tv_play.h.

Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().

MythDeque<QString> TV::changePxP [private]

Definition at line 677 of file tv_play.h.

Referenced by HandlePxPTimerEvent(), and PxPHandleAction().

QMutex TV::progListsLock [private]

Definition at line 678 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

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

Definition at line 679 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

QMutex TV::chanEditMapLock [mutable, private]

Lock for chanEditMap and ddMap.

Definition at line 681 of file tv_play.h.

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

Channel Editing initial map.

Definition at line 682 of file tv_play.h.

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

DDKeyMap TV::ddMap [private]

DataDirect channel map.

Definition at line 684 of file tv_play.h.

Referenced by GetDataDirect(), and LoadDDMap().

DataDirect channel map sourceid.

Definition at line 685 of file tv_play.h.

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

DataDirect map loader runnable.

Definition at line 686 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 690 of file tv_play.h.

Referenced by ToggleSleepTimer(), and TV().

uint TV::sleep_index [private]

Index into sleep_times.

Definition at line 691 of file tv_play.h.

Referenced by Init(), and ToggleSleepTimer().

Current sleep timeout in msec.

Definition at line 692 of file tv_play.h.

Referenced by HandleOSDSleep(), ShowOSDSleep(), and ToggleSleepTimer().

int TV::sleepTimerId [private]

Timer for turning off playback.

Definition at line 693 of file tv_play.h.

Referenced by FillOSDMenuPlayback(), HandleOSDSleep(), ShowOSDSleep(), timerEvent(), and ToggleSleepTimer().

Timer for sleep dialog.

Definition at line 694 of file tv_play.h.

Referenced by HandleOSDSleep(), ShowOSDSleep(), SleepDialogTimeout(), and timerEvent().

int TV::idleTimerId [private]

Timer for turning off playback after idle period.

Definition at line 696 of file tv_play.h.

Referenced by HandleOSDIdle(), LiveTV(), ProcessKeypress(), ShowOSDIdle(), and timerEvent().

Timer for idle dialog.

Definition at line 697 of file tv_play.h.

Referenced by HandleOSDIdle(), IdleDialogTimeout(), ShowOSDIdle(), and timerEvent().

Queue of unprocessed key presses.

Timeout timer for repeat key filtering

Definition at line 700 of file tv_play.h.

Referenced by DoSeek(), and TV().

bool TV::ccInputMode [private]

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

Definition at line 704 of file tv_play.h.

Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().

bool TV::asInputMode [private]

Are we in Arbitrary seek input mode?

Definition at line 708 of file tv_play.h.

Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().

QString TV::queuedInput [private]

Input key presses queued up so far...

Definition at line 712 of file tv_play.h.

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

QString TV::queuedChanNum [mutable, private]

Queued ChanID (from EPG channel selector)

Definition at line 716 of file tv_play.h.

Referenced by ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), and timerEvent().

QTime TV::lockTimer [private]

Definition at line 719 of file tv_play.h.

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

bool TV::lockTimerOn [private]
QDateTime TV::lastLockSeenTime [private]

Definition at line 721 of file tv_play.h.

Referenced by HandleStateChange(), and UpdateOSDSignal().

QMutex TV::lastProgramLock [mutable, private]

Definition at line 728 of file tv_play.h.

Referenced by GetLastProgram(), and SetLastProgram().

last program played with this player

Definition at line 729 of file tv_play.h.

Referenced by FillOSDMenuSource(), GetLastProgram(), SetLastProgram(), timerEvent(), and ~TV().

bool TV::inPlaylist [private]

show is part of a playlist

Definition at line 730 of file tv_play.h.

Referenced by HandleEndOfRecordingExitPromptTimerEvent(), and HandleStateChange().

initial show started via by the network control interface

Definition at line 731 of file tv_play.h.

Referenced by ActiveHandleAction(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleStateChange().

Definition at line 734 of file tv_play.h.

Referenced by HandleJumpToProgramAction().

vector<PlayerContext*> TV::player [private]
int TV::playerActive [private]

Video Player to which events are sent to.

Definition at line 740 of file tv_play.h.

Referenced by GetPlayerHaveLock(), GetPlayerReadLock(), GetPlayerWriteLock(), PxPSwap(), RestartMainPlayer(), SetActive(), TeardownPlayer(), and TV().

QReadWriteLock TV::playerLock [mutable, private]

lock on player and playerActive changes

Definition at line 742 of file tv_play.h.

Referenced by GetPlayerReadLock(), GetPlayerWriteLock(), ReturnPlayerLock(), and TV().

Definition at line 744 of file tv_play.h.

Referenced by CreatePBP(), CreatePIP(), and timerEvent().

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

Definition at line 748 of file tv_play.h.

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

QMap<OSD*,const PlayerContext*> TV::osd_lctx [private]

Definition at line 751 of file tv_play.h.

Referenced by GetOSDL(), and ReturnOSDLock().

QString TV::lcdTitle [private]

Definition at line 754 of file tv_play.h.

Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().

QString TV::lcdSubtitle [private]

Definition at line 755 of file tv_play.h.

Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().

QString TV::lcdCallsign [private]

Definition at line 756 of file tv_play.h.

Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().

Our screen, if it exists.

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

Definition at line 759 of file tv_play.h.

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

QRect TV::player_bounds [private]

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

Definition at line 762 of file tv_play.h.

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

QRect TV::saved_gui_bounds [private]

Definition at line 763 of file tv_play.h.

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

true if this instance disabled MythUI drawing.

Definition at line 765 of file tv_play.h.

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

true if video chromakey and frame should not be drawn

Definition at line 767 of file tv_play.h.

Referenced by customEvent(), DoEditSchedule(), and DrawUnusedRects().

bool TV::isEmbedded [private]

are we currently embedded

Definition at line 770 of file tv_play.h.

Referenced by customEvent(), and DoEditSchedule().

should we ignore keypresses

Definition at line 771 of file tv_play.h.

Referenced by customEvent(), DoEditSchedule(), and eventFilter().

vector<bool> TV::saved_pause [private]

saved pause state before embedding

Definition at line 772 of file tv_play.h.

Referenced by customEvent(), and DoEditSchedule().

QMutex TV::is_tunable_cache_lock [mutable, private]

Definition at line 775 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunable().

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

Definition at line 776 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunable().

QMutex TV::channelGroupLock [mutable, private]

Lock necessary when modifying channel group variables.

These are only modified in UI thread, so no lock is needed to read this value in the UI thread.

Definition at line 782 of file tv_play.h.

Referenced by ChangeChannel(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().

volatile int TV::channelGroupId [private]

Definition at line 787 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

QMutex TV::timerIdLock [mutable, private]
volatile int TV::lcdTimerId [private]

Definition at line 793 of file tv_play.h.

Referenced by HandleLCDTimerEvent(), Init(), timerEvent(), and UpdateLCD().

volatile int TV::lcdVolumeTimerId [private]

Definition at line 794 of file tv_play.h.

Referenced by ChangeVolume(), HandleLCDVolumeTimerEvent(), and timerEvent().

volatile int TV::networkControlTimerId [private]

Definition at line 795 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

volatile int TV::jumpMenuTimerId [private]

Definition at line 796 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and timerEvent().

volatile int TV::pipChangeTimerId [private]

Definition at line 797 of file tv_play.h.

Referenced by HandlePxPTimerEvent(), PxPHandleAction(), and timerEvent().

volatile int TV::switchToInputTimerId [private]

Definition at line 798 of file tv_play.h.

Referenced by OSDDialogEvent(), SwitchSource(), and timerEvent().

volatile int TV::ccInputTimerId [private]

Definition at line 799 of file tv_play.h.

Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().

volatile int TV::asInputTimerId [private]

Definition at line 800 of file tv_play.h.

Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().

volatile int TV::queueInputTimerId [private]
volatile int TV::browseTimerId [private]
volatile int TV::updateOSDPosTimerId [private]

Definition at line 803 of file tv_play.h.

Referenced by SetUpdateOSDPosition(), and timerEvent().

volatile int TV::updateOSDDebugTimerId [private]

Definition at line 804 of file tv_play.h.

Referenced by timerEvent(), and ToggleOSDDebug().

volatile int TV::endOfPlaybackTimerId [private]

Definition at line 805 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and timerEvent().

volatile int TV::embedCheckTimerId [private]

Definition at line 806 of file tv_play.h.

Referenced by StartEmbedding(), StopEmbedding(), and timerEvent().

volatile int TV::endOfRecPromptTimerId [private]

Definition at line 807 of file tv_play.h.

Referenced by HandleStateChange(), and timerEvent().

volatile int TV::videoExitDialogTimerId [private]
volatile int TV::pseudoChangeChanTimerId [private]

Definition at line 809 of file tv_play.h.

Referenced by customEvent(), HandlePseudoLiveTVTimerEvent(), and timerEvent().

volatile int TV::speedChangeTimerId [private]

Definition at line 810 of file tv_play.h.

Referenced by HandleSpeedChangeTimerEvent(), Init(), SetSpeedChangeTimer(), and timerEvent().

volatile int TV::errorRecoveryTimerId [private]

Definition at line 811 of file tv_play.h.

Referenced by Init(), SetErrored(), and timerEvent().

volatile int TV::exitPlayerTimerId [mutable, private]

Definition at line 813 of file tv_play.h.

Referenced by ScheduleStateChange(), and timerEvent().

Definition at line 814 of file tv_play.h.

Referenced by timerEvent(), and UpdateOSDSignal().

Definition at line 815 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

const int TV::kInitFFRWSpeed = 0 [static]

1x, default to normal speed

Definition at line 819 of file tv_play.h.

Referenced by ChangeFFRew(), PlayerContext::HandlePlayerSpeedChangeFFRew(), Init(), ProcessNetworkControlCommand(), and StopFFRew().

const uint TV::kInputKeysMax = 6 [static]

When to start discarding early keys.

Definition at line 820 of file tv_play.h.

Referenced by AddKeyToInputQueue().

const uint TV::kNextSource = 1 [static]

Definition at line 821 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

const uint TV::kPreviousSource = 2 [static]

Definition at line 822 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

const uint TV::kMaxPIPCount = 4 [static]

Definition at line 823 of file tv_play.h.

Referenced by FillOSDMenuPlayback(), PxPCreateView(), and PxPToggleType().

const uint TV::kMaxPBPCount = 2 [static]

Timeout for entry modes in msec.

Definition at line 826 of file tv_play.h.

Referenced by FillOSDMenuPlayback(), PxPCreateView(), and PxPToggleType().

const uint TV::kInputModeTimeout = 5000 [static]

Definition at line 827 of file tv_play.h.

Referenced by ActiveHandleAction(), and HandleTrackAction().

const uint TV::kLCDTimeout = 1000 [static]

Timeout for updating LCD info in msec.

Definition at line 829 of file tv_play.h.

Referenced by HandleLCDTimerEvent().

const uint TV::kBrowseTimeout = 30000 [static]

Timeout for browse mode exit in msec.

Definition at line 831 of file tv_play.h.

Referenced by TVBrowseHelper::BrowseDispInfo().

const uint TV::kKeyRepeatTimeout = 300 [static]

Seek key repeat timeout in msec.

Definition at line 833 of file tv_play.h.

Referenced by DoSeek().

const uint TV::kPrevChanTimeout = 750 [static]

How long to wait before applying all previous channel keypresses in msec.

Definition at line 835 of file tv_play.h.

const uint TV::kSleepTimerDialogTimeout = 45000 [static]

How long to display sleep timer dialog in msec.

Definition at line 837 of file tv_play.h.

Referenced by ShowOSDSleep().

const uint TV::kIdleTimerDialogTimeout = 45000 [static]

How long to display idle timer dialog in seconds.

Definition at line 839 of file tv_play.h.

Referenced by ShowOSDIdle().

const uint TV::kVideoExitDialogTimeout = 120000 [static]

How long to display idle timer dialog in msec.

Definition at line 841 of file tv_play.h.

Referenced by ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().

const uint TV::kEndOfPlaybackCheckFrequency = 250 [static]

Definition at line 843 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent().

const uint TV::kEmbedCheckFrequency = 250 [static]

Definition at line 844 of file tv_play.h.

Referenced by StartEmbedding().

const uint TV::kSpeedChangeCheckFrequency = 250 [static]

Definition at line 845 of file tv_play.h.

Referenced by HandleSpeedChangeTimerEvent(), and Init().

const uint TV::kErrorRecoveryCheckFrequency = 250 [static]

Definition at line 846 of file tv_play.h.

Referenced by Init(), and timerEvent().

Definition at line 847 of file tv_play.h.

Referenced by HandleStateChange().

const uint TV::kEndOfPlaybackFirstCheckTimer = 60000 [static]

Definition at line 848 of file tv_play.h.

Referenced by HandleStateChange().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends