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  BookmarkAction { kBookmarkAlways, kBookmarkNever, kBookmarkAuto }
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)
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)
QSet< uintIsTunableOn (const PlayerContext *, uint chanid, bool use_cache, bool early_exit)
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, BookmarkAction bookmark=kBookmarkAuto)
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 timeIsOffset, bool honorCutlist)
bool DoPlayerSeek (PlayerContext *, float time)
void DoSeekAbsolute (PlayerContext *ctx, long long seconds, bool honorCutlist)
void DoArbSeek (PlayerContext *, ArbSeekWhence whence, bool honorCutlist)
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)
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, 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 SubtitleZoomHandleAction (PlayerContext *ctx, const QStringList &actions)
void ChangeSubtitleZoom (PlayerContext *ctx, int dir)
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< int > ff_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 subtitleZoomAdjustment
 True if subtitle zoom 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 139 of file tv_play.h.


Member Typedef Documentation

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

Definition at line 805 of file tv_play.h.

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

Definition at line 806 of file tv_play.h.


Member Enumeration Documentation

enum TV::BookmarkAction [private]
Enumerator:
kBookmarkAlways 
kBookmarkNever 
kBookmarkAuto 

Definition at line 315 of file tv_play.h.

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

Definition at line 406 of file tv_play.h.


Constructor & Destructor Documentation

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

Definition at line 912 of file tv_play.cpp.

Referenced by GetTV().

TV::~TV ( void   )  [private]

Definition at line 1263 of file tv_play.cpp.


Member Function Documentation

bool TV::IsTVRunning ( void   )  [static]

Definition at line 243 of file tv_play.cpp.

Referenced by MythAirplayServer::HandleResponse(), and Frontend::PlayVideo().

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

returns true if the recording completed when exiting.

Definition at line 277 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 3495 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 3461 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 12512 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 1688 of file tv_play.cpp.

void TV::InitKeys ( void   )  [static]

Definition at line 487 of file tv_play.cpp.

Referenced by main(), and ReloadKeys().

void TV::ReloadKeys ( void   )  [static]

Definition at line 899 of file tv_play.cpp.

Referenced by ReloadKeys().

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

Referenced by SetFuncPtrs().

int TV::ConfiguredTunerCards ( void   )  [static]

If any cards are configured, return the number.

Definition at line 195 of file tv_play.cpp.

Referenced by isLiveTVAvailable(), and StartTV().

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

Definition at line 9298 of file tv_play.cpp.

Referenced by customEvent().

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

Definition at line 2610 of file tv_play.cpp.

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

This handles all custom events.

Definition at line 8699 of file tv_play.cpp.

Referenced by eventFilter().

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

Definition at line 249 of file tv_play.cpp.

Referenced by StartTV().

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

Definition at line 261 of file tv_play.cpp.

Referenced by StartTV().

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

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

Referenced by StartTV().

void TV::InitFromDB ( void   )  [private]

Definition at line 1014 of file tv_play.cpp.

Referenced by TV().

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

Definition at line 1613 of file tv_play.cpp.

Referenced by StartTV().

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

Definition at line 214 of file tv_play.h.

Referenced by StartTV().

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

Definition at line 2016 of file tv_play.cpp.

Referenced by StartTV().

void TV::PlaybackLoop ( void   )  [private]

The main playback loop.

Definition at line 1348 of file tv_play.cpp.

Referenced by StartTV().

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

Definition at line 3649 of file tv_play.cpp.

Referenced by event().

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

Definition at line 4659 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 3533 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 4105 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 3849 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 10109 of file tv_play.cpp.

Referenced by customEvent().

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

Definition at line 4513 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ProcessKeypress().

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

Definition at line 4426 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 4389 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 4574 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 11774 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 5903 of file tv_play.cpp.

Referenced by ActiveHandleAction().

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

Definition at line 3995 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 4067 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 4083 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]
void TV::HandleEndOfPlaybackTimerEvent ( void   )  [private]

Definition at line 3254 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleIsNearEndWhenEmbeddingTimerEvent ( void   )  [private]

Definition at line 3295 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleEndOfRecordingExitPromptTimerEvent ( void   )  [private]

Definition at line 3310 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleVideoExitDialogTimerEvent ( void   )  [private]

Definition at line 3346 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandlePseudoLiveTVTimerEvent ( void   )  [private]

Definition at line 3376 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleSpeedChangeTimerEvent ( void   )  [private]

Definition at line 3428 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 8501 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 11896 of file tv_play.cpp.

bool TV::HandlePxPTimerEvent ( void   )  [private]

Definition at line 3042 of file tv_play.cpp.

Referenced by timerEvent().

bool TV::HandleLCDTimerEvent ( void   )  [private]

Definition at line 3094 of file tv_play.cpp.

Referenced by timerEvent().

void TV::HandleLCDVolumeTimerEvent ( void   )  [private]

Definition at line 3136 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 8059 of file tv_play.cpp.

Referenced by customEvent().

bool TV::IsTunable ( const PlayerContext ctx,
uint  chanid,
bool  use_cache = false 
) [private]
QSet< uint > TV::IsTunableOn ( const PlayerContext ctx,
uint  chanid,
bool  use_cache,
bool  early_exit 
) [private]

Definition at line 7903 of file tv_play.cpp.

Referenced by ChangeChannel(), and IsTunable().

void TV::ClearTunableCache ( void   )  [private]

Definition at line 8013 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 8087 of file tv_play.cpp.

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

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

Definition at line 8132 of file tv_play.cpp.

Referenced by customEvent(), and StartTV().

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

Definition at line 12493 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 8465 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 1383 of file tv_play.cpp.

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

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

Definition at line 12544 of file tv_play.cpp.

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

Definition at line 12555 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 12608 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 12638 of file tv_play.cpp.

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

Definition at line 12654 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 12670 of file tv_play.cpp.

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

Definition at line 12692 of file tv_play.cpp.

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

Definition at line 11721 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Definition at line 9217 of file tv_play.cpp.

Referenced by BrowseHandleAction(), and ToggleHandleAction().

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

Definition at line 2046 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 1601 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 2099 of file tv_play.cpp.

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

void TV::GetStatus ( void   )  [private]

Definition at line 1420 of file tv_play.cpp.

Referenced by customEvent().

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

Definition at line 3180 of file tv_play.cpp.

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

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

Definition at line 311 of file tv_play.h.

Referenced by OSDDialogEvent(), and StartTV().

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

Definition at line 312 of file tv_play.h.

Referenced by StartTV().

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

Definition at line 3190 of file tv_play.cpp.

Referenced by customEvent(), and HandleJumpToProgramAction().

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

Definition at line 1650 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:
maxWait How long to wait for RecorderBase to start recording.
Returns:
true when successful, false otherwise.

Definition at line 2475 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:
stopRingBuffer Set to true if ringbuffer must be shut down.
stopPlayer Set to true if player must be shut down.
stopRecorder Set to true if recorder must be shut down.

Definition at line 2528 of file tv_play.cpp.

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

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

Definition at line 2576 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 5171 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 5542 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 5606 of file tv_play.cpp.

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

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

Definition at line 5721 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 343 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 345 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 348 of file tv_play.h.

Referenced by PrepareToExitPlayer(), and 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 351 of file tv_play.h.

Referenced by StartTV().

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

Definition at line 12234 of file tv_play.cpp.

Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().

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

Definition at line 6780 of file tv_play.cpp.

Referenced by ToggleHandleAction().

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

Definition at line 6788 of file tv_play.cpp.

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

Definition at line 7026 of file tv_play.cpp.

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

Definition at line 7129 of file tv_play.cpp.

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

Definition at line 7301 of file tv_play.cpp.

Referenced by PopPreviousChannel().

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

Definition at line 7314 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:
hideosd if true, hides "channel_number" OSDSet.

Definition at line 6836 of file tv_play.cpp.

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

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

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

Referenced by ClearOSD(), and timerEvent().

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

Definition at line 6794 of file tv_play.cpp.

Referenced by AddKeyToInputQueue(), and CommitQueuedInput().

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

Definition at line 6802 of file tv_play.cpp.

Referenced by DoArbSeek(), and HandleTrackAction().

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

Definition at line 6808 of file tv_play.cpp.

Referenced by CommitQueuedInput(), and ProcessSmartChannel().

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

Definition at line 379 of file tv_play.h.

Referenced by ChangeChannel(), and CommitQueuedInput().

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

Definition at line 6445 of file tv_play.cpp.

Referenced by ActivePostQHandleAction().

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

Definition at line 6522 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 6726 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 6541 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 12003 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 12044 of file tv_play.cpp.

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

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

Definition at line 5751 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

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

Definition at line 5783 of file tv_play.cpp.

Referenced by DoSetPauseState(), and DoTogglePause().

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

Definition at line 5814 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 8108 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 12485 of file tv_play.cpp.

Referenced by FillOSDMenuJumpRec(), and StartTV().

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

Definition at line 6009 of file tv_play.cpp.

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

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

Definition at line 6024 of file tv_play.cpp.

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

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

Definition at line 12097 of file tv_play.cpp.

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

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

Definition at line 12109 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 6074 of file tv_play.cpp.

Referenced by ActiveHandleAction().

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

Definition at line 8321 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 12124 of file tv_play.cpp.

Referenced by DoJumpRWND().

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

Definition at line 12163 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 6145 of file tv_play.cpp.

Referenced by SeekHandleAction().

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

Definition at line 6178 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 8386 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 4019 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Definition at line 6275 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 6285 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6293 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6319 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6329 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6369 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6380 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6390 of file tv_play.cpp.

Referenced by customEvent(), and OSDDialogEvent().

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

Definition at line 6339 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6349 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6359 of file tv_play.cpp.

Referenced by FillOSDMenuNavigate().

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

Definition at line 6406 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 6422 of file tv_play.cpp.

Referenced by ActiveHandleAction().

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

Definition at line 11744 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

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

Definition at line 6225 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]

Definition at line 7374 of file tv_play.cpp.

Referenced by ActiveHandleAction().

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

Definition at line 7442 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

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

Definition at line 7468 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 7484 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,
enum OSDTimeout  timeout = kOSDTimeout_Med 
) [private]
void TV::UpdateOSDStatus ( const PlayerContext ctx,
osdInfo info,
int  type,
enum OSDTimeout  timeout 
) [private]

Definition at line 7503 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 7552 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 7573 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

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

Definition at line 7731 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

void TV::UpdateOSDAskAllowDialog ( PlayerContext  )  [private]
void TV::SetUpdateOSDPosition ( bool  set_it  )  [private]
bool TV::SubtitleZoomHandleAction ( PlayerContext ctx,
const QStringList &  actions 
) [private]

Definition at line 4043 of file tv_play.cpp.

Referenced by ProcessKeypress().

void TV::ChangeSubtitleZoom ( PlayerContext ctx,
int  dir 
) [private]

Definition at line 8405 of file tv_play.cpp.

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

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

Setup Picture by Picture.

right side will be the current video.

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

Definition at line 5026 of file tv_play.cpp.

Referenced by HandleJumpToProgramAction(), and PxPCreateView().

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

create PIP.

Parameters:
info programinfo for PIP to create. is NULL for LiveTV PIP

Definition at line 5114 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 5473 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 5523 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 5291 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

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

start PIP/PBP

Definition at line 5307 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent(), and PxPToggleView().

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

stop PIP/PBP

Definition at line 5351 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 5387 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

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

Definition at line 5676 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 5228 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 5273 of file tv_play.cpp.

Referenced by SwitchCards(), and TeardownPlayer().

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

tear down remaining PBP video and restore fullscreen display

Definition at line 5566 of file tv_play.cpp.

Referenced by TeardownPlayer().

void TV::SetActive ( PlayerContext lctx,
int  index,
bool  osd_msg 
) [private]
void TV::ToggleAspectOverride ( PlayerContext ctx,
AspectOverrideMode  aspectMode = kAspect_Toggle 
) [private]

Definition at line 8654 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 8669 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 9354 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 9361 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 9368 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 9418 of file tv_play.cpp.

Referenced by customEvent(), and PictureAttributeHandleAction().

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

Definition at line 3972 of file tv_play.cpp.

Referenced by ProcessKeypress().

PictureAttribute TV::NextPictureAdjustType ( PictureAdjustType  type,
MythPlayer mp,
PictureAttribute  attr 
) [static, private]

Definition at line 9323 of file tv_play.cpp.

Referenced by DoTogglePictureAttribute().

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

Definition at line 11709 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Restart the MHEG/MHP engine.

Definition at line 12075 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 4493 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 11761 of file tv_play.cpp.

Referenced by ManualZoomHandleAction(), and OSDDialogEvent().

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

Definition at line 3910 of file tv_play.cpp.

Referenced by ProcessKeypress().

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

Starts channel editing mode.

Definition at line 9744 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 9787 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 9823 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 9832 of file tv_play.cpp.

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

Definition at line 9870 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 9906 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 9966 of file tv_play.cpp.

Referenced by ChannelEditDDFill().

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

Definition at line 10054 of file tv_play.cpp.

Referenced by RunLoadDDMap().

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

Definition at line 10029 of file tv_play.cpp.

Referenced by DDLoader::run().

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

Definition at line 10477 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Definition at line 11961 of file tv_play.cpp.

Referenced by ChangeChannel(), and RequestNextRecorder().

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

Definition at line 1742 of file tv_play.cpp.

Referenced by AskAllowRecording().

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

Definition at line 1976 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 1696 of file tv_play.cpp.

Referenced by customEvent().

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

Definition at line 9501 of file tv_play.cpp.

Referenced by HandleOSDCutpoint(), and ProcessKeypress().

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

Definition at line 9633 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Starts Program Cut Map Editing mode.

Definition at line 9663 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

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

Definition at line 9681 of file tv_play.cpp.

Referenced by StartProgramEditMode().

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

Definition at line 9702 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::ShowOSDSleep ( void   )  [private]

Definition at line 8529 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 8554 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::SleepDialogTimeout ( void   )  [private]

Definition at line 8575 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 8593 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 8617 of file tv_play.cpp.

Referenced by OSDDialogEvent().

void TV::IdleDialogTimeout ( void   )  [private]

Definition at line 8640 of file tv_play.cpp.

Referenced by timerEvent().

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

Definition at line 12249 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 12429 of file tv_play.cpp.

Referenced by OSDDialogEvent().

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

Definition at line 10488 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 10517 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 10618 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 10845 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 11031 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 11353 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 11421 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 11572 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 11192 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 11593 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and timerEvent().

void TV::UpdateLCD ( void   )  [private]

Definition at line 7791 of file tv_play.cpp.

Referenced by HandleStateChange(), and UnpauseLiveTV().

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

Definition at line 7800 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().

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

Definition at line 7837 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent().

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

Definition at line 1642 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:
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.
TVState TV::RemoveRecording ( TVState  state  )  [static, private]

Definition at line 2066 of file tv_play.cpp.

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

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

friend class GuideGrid [friend]

Definition at line 142 of file tv_play.h.

friend class ProgFinder [friend]

Definition at line 143 of file tv_play.h.

friend class ViewScheduled [friend]

Definition at line 144 of file tv_play.h.

friend class ScheduleEditor [friend]

Definition at line 145 of file tv_play.h.

friend class TvPlayWindow [friend]

Definition at line 146 of file tv_play.h.

Referenced by Init().

friend class TVBrowseHelper [friend]

Definition at line 147 of file tv_play.h.

Referenced by InitFromDB().

friend class DDLoader [friend]

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

Referenced by StartTV(), and timerEvent().

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

function pointer for RunPlaybackBox in playbackbox.cpp

Definition at line 194 of file tv_play.h.

Referenced by DoEditSchedule(), HandleJumpToProgramAction(), and SetFuncPtr().

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

function pointer for RunViewScheduled in viewscheduled.cpp

Definition at line 195 of file tv_play.h.

Referenced by DoEditSchedule(), and SetFuncPtr().

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

function pointer for RunProgramGuide in guidegrid.cpp

Definition at line 196 of file tv_play.h.

Referenced by DoEditSchedule(), and SetFuncPtr().

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

function pointer for RunProgramFinder in progfind.cpp

Definition at line 197 of file tv_play.h.

Referenced by DoEditSchedule(), and SetFuncPtr().

function pointer for RunScheduleEditor in scheduleeditor.cpp

Definition at line 198 of file tv_play.h.

Referenced by DoEditSchedule(), and SetFuncPtr().

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

Definition at line 205 of file tv_play.h.

Referenced by GetTV(), IsTVRunning(), and ReleaseTV().

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

Definition at line 206 of file tv_play.h.

Referenced by GetTV(), IsTVRunning(), and ReleaseTV().

QString TV::baseFilters [private]

Definition at line 631 of file tv_play.h.

Referenced by InitFromDB().

QString TV::db_channel_format [private]

Definition at line 632 of file tv_play.h.

Referenced by InitFromDB(), and ShowOSDAskAllow().

Definition at line 633 of file tv_play.h.

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

Definition at line 634 of file tv_play.h.

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

Definition at line 635 of file tv_play.h.

Referenced by InitFromDB(), and ToggleRecord().

Definition at line 636 of file tv_play.h.

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

Definition at line 637 of file tv_play.h.

Referenced by HandleStateChange(), and InitFromDB().

Definition at line 638 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and InitFromDB().

Definition at line 639 of file tv_play.h.

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

Definition at line 640 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 641 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and InitFromDB().

Definition at line 642 of file tv_play.h.

Referenced by DoQueueTranscode(), and InitFromDB().

Definition at line 643 of file tv_play.h.

Referenced by DoEditSchedule(), and InitFromDB().

Definition at line 644 of file tv_play.h.

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

Definition at line 645 of file tv_play.h.

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

Definition at line 646 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 648 of file tv_play.h.

Referenced by InitFromDB(), and UpdateChannelList().

Definition at line 649 of file tv_play.h.

Referenced by FillOSDMenuPlayback(), and InitFromDB().

Definition at line 651 of file tv_play.h.

Definition at line 652 of file tv_play.h.

Referenced by InitFromDB().

Definition at line 654 of file tv_play.h.

Referenced by InitFromDB(), and SeekHandleAction().

float TV::ff_rew_repos [private]

Definition at line 655 of file tv_play.h.

Referenced by InitFromDB(), and StopFFRew().

Definition at line 656 of file tv_play.h.

Referenced by ChangeFFRew(), and InitFromDB().

bool TV::jumped_back [private]

Used by PromptDeleteRecording.

Definition at line 657 of file tv_play.h.

Referenced by HandleEndOfRecordingExitPromptTimerEvent().

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

Definition at line 660 of file tv_play.h.

QTime TV::ctorTime [private]

Definition at line 662 of file tv_play.h.

Referenced by StartPlayer(), and TV().

Definition at line 663 of file tv_play.h.

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

QMutex TV::initFromDBLock [private]

Definition at line 665 of file tv_play.h.

Referenced by Init(), and InitFromDB().

Definition at line 666 of file tv_play.h.

Referenced by Init(), and InitFromDB().

QWaitCondition TV::initFromDBWait [private]

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

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

True if time stretch is turned on.

Definition at line 672 of file tv_play.h.

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

True if audiosync is turned on.

Definition at line 673 of file tv_play.h.

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

True if subtitle zoom is turned on.

Definition at line 674 of file tv_play.h.

Referenced by ChangeSubtitleZoom(), HandleOSDClosed(), and SubtitleZoomHandleAction().

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

Definition at line 676 of file tv_play.h.

Referenced by ManualZoomHandleAction(), and SetManualZoom().

bool TV::sigMonMode [private]

Are we in signal monitoring mode?

Definition at line 677 of file tv_play.h.

Referenced by ActiveHandleAction().

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

Definition at line 678 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().

User wants last video deleted.

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

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

Definition at line 681 of file tv_play.h.

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

Definition at line 682 of file tv_play.h.

Referenced by DoQueueTranscode().

Picture attribute type to modify.

Definition at line 684 of file tv_play.h.

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

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

Definition at line 686 of file tv_play.h.

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

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

Definition at line 689 of file tv_play.h.

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

QMutex TV::askAllowLock [private]

Definition at line 690 of file tv_play.h.

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

MythDeque<QString> TV::changePxP [private]

Definition at line 692 of file tv_play.h.

Referenced by HandlePxPTimerEvent(), and PxPHandleAction().

QMutex TV::progListsLock [private]

Definition at line 693 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

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

Definition at line 694 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

QMutex TV::chanEditMapLock [mutable, private]

Lock for chanEditMap and ddMap.

Definition at line 696 of file tv_play.h.

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

Channel Editing initial map.

Definition at line 697 of file tv_play.h.

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

DDKeyMap TV::ddMap [private]

DataDirect channel map.

Definition at line 699 of file tv_play.h.

Referenced by GetDataDirect(), and LoadDDMap().

DataDirect channel map sourceid.

Definition at line 700 of file tv_play.h.

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

DataDirect map loader runnable.

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

Referenced by ToggleSleepTimer(), and TV().

uint TV::sleep_index [private]

Index into sleep_times.

Definition at line 706 of file tv_play.h.

Referenced by Init(), and ToggleSleepTimer().

Current sleep timeout in msec.

Definition at line 707 of file tv_play.h.

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

int TV::sleepTimerId [private]

Timer for turning off playback.

Definition at line 708 of file tv_play.h.

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

int TV::sleepDialogTimerId [private]

Timer for sleep dialog.

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

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

int TV::idleDialogTimerId [private]

Timer for idle dialog.

Definition at line 712 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 715 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 719 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 723 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 727 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 731 of file tv_play.h.

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

QTime TV::lockTimer [private]

Definition at line 734 of file tv_play.h.

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

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

Definition at line 736 of file tv_play.h.

Referenced by HandleStateChange(), and UpdateOSDSignal().

QMutex TV::lastProgramLock [mutable, private]

Definition at line 743 of file tv_play.h.

Referenced by GetLastProgram(), and SetLastProgram().

last program played with this player

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

Referenced by FillOSDMenuPlayback(), HandleEndOfRecordingExitPromptTimerEvent(), HandleStateChange(), and StartTV().

initial show started via by the network control interface

Definition at line 746 of file tv_play.h.

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

Definition at line 749 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 755 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 757 of file tv_play.h.

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

Definition at line 759 of file tv_play.h.

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

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

Definition at line 763 of file tv_play.h.

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

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

Definition at line 766 of file tv_play.h.

Referenced by GetOSDL(), and ReturnOSDLock().

QString TV::lcdTitle [private]

Definition at line 769 of file tv_play.h.

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

QString TV::lcdSubtitle [private]

Definition at line 770 of file tv_play.h.

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

QString TV::lcdCallsign [private]

Definition at line 771 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 774 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 777 of file tv_play.h.

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

QRect TV::saved_gui_bounds [private]

Definition at line 778 of file tv_play.h.

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

true if this instance disabled MythUI drawing.

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

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

bool TV::isEmbedded [private]

are we currently embedded

Definition at line 785 of file tv_play.h.

Referenced by customEvent(), and DoEditSchedule().

should we ignore keypresses

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

Referenced by customEvent(), and DoEditSchedule().

QMutex TV::is_tunable_cache_lock [mutable, private]

Definition at line 790 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunableOn().

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

Definition at line 791 of file tv_play.h.

Referenced by ClearTunableCache(), and IsTunableOn().

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

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

volatile int TV::channelGroupId [private]

Definition at line 802 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

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

Definition at line 808 of file tv_play.h.

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

volatile int TV::lcdVolumeTimerId [private]

Definition at line 809 of file tv_play.h.

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

volatile int TV::networkControlTimerId [private]

Definition at line 810 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

volatile int TV::jumpMenuTimerId [private]

Definition at line 811 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and timerEvent().

volatile int TV::pipChangeTimerId [private]

Definition at line 812 of file tv_play.h.

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

volatile int TV::switchToInputTimerId [private]

Definition at line 813 of file tv_play.h.

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

volatile int TV::ccInputTimerId [private]

Definition at line 814 of file tv_play.h.

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

volatile int TV::asInputTimerId [private]

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

Referenced by SetUpdateOSDPosition(), and timerEvent().

volatile int TV::updateOSDDebugTimerId [private]

Definition at line 819 of file tv_play.h.

Referenced by timerEvent(), and ToggleOSDDebug().

volatile int TV::endOfPlaybackTimerId [private]

Definition at line 820 of file tv_play.h.

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

volatile int TV::embedCheckTimerId [private]

Definition at line 821 of file tv_play.h.

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

volatile int TV::endOfRecPromptTimerId [private]

Definition at line 822 of file tv_play.h.

Referenced by HandleStateChange(), and timerEvent().

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

Definition at line 824 of file tv_play.h.

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

volatile int TV::speedChangeTimerId [private]

Definition at line 825 of file tv_play.h.

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

volatile int TV::errorRecoveryTimerId [private]

Definition at line 826 of file tv_play.h.

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

volatile int TV::exitPlayerTimerId [mutable, private]

Definition at line 828 of file tv_play.h.

Referenced by ScheduleStateChange(), and timerEvent().

Definition at line 829 of file tv_play.h.

Referenced by timerEvent(), and UpdateOSDSignal().

Definition at line 830 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

const int TV::kInitFFRWSpeed = 0 [static]

1x, default to normal speed

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

Referenced by AddKeyToInputQueue().

const uint TV::kNextSource = 1 [static]

Definition at line 836 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

const uint TV::kPreviousSource = 2 [static]

Definition at line 837 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

const uint TV::kMaxPIPCount = 4 [static]

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

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

const uint TV::kInputModeTimeout = 5000 [static]

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

Referenced by HandleLCDTimerEvent().

const uint TV::kBrowseTimeout = 30000 [static]

Timeout for browse mode exit in msec.

Definition at line 846 of file tv_play.h.

Referenced by TVBrowseHelper::BrowseDispInfo().

const uint TV::kKeyRepeatTimeout = 300 [static]

Seek key repeat timeout in msec.

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

const uint TV::kSleepTimerDialogTimeout = 45000 [static]

How long to display sleep timer dialog in msec.

Definition at line 852 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 854 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 856 of file tv_play.h.

Referenced by ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().

const uint TV::kEndOfPlaybackCheckFrequency = 250 [static]

Definition at line 858 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent().

const uint TV::kEmbedCheckFrequency = 250 [static]

Definition at line 859 of file tv_play.h.

Referenced by StartEmbedding().

const uint TV::kSpeedChangeCheckFrequency = 250 [static]

Definition at line 860 of file tv_play.h.

Referenced by HandleSpeedChangeTimerEvent(), and Init().

const uint TV::kErrorRecoveryCheckFrequency = 250 [static]

Definition at line 861 of file tv_play.h.

Referenced by Init(), and timerEvent().

Definition at line 862 of file tv_play.h.

Referenced by HandleStateChange().

const uint TV::kEndOfPlaybackFirstCheckTimer = 60000 [static]

Definition at line 863 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
Generated on Mon May 28 06:42:30 2012 for MythTV by  doxygen 1.6.3