MythTV  0.28pre
Classes | Public Slots | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Static Protected Attributes | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
TV Class Reference

Control TV playback TVPlaybackAborted(void) More...

#include <tv_play.h>

Inheritance diagram for TV:
Inheritance graph
[legend]
Collaboration diagram for TV:
Collaboration graph
[legend]

Classes

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

Public Slots

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

Public Member Functions

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

Static Public Member Functions

static bool IsTVRunning (void)
 
static TVCurrentTVInstance (void)
 
static bool StartTV (ProgramInfo *tvrec, uint flags, const ChannelInfoList &selection=ChannelInfoList())
 returns true if the recording completed when exiting. More...
 
static bool IsPaused (void)
 Returns true if a TV playback is currently going; otherwise returns false. More...
 
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. More...
 
static int ConfiguredTunerCards (void)
 
static bool IsTunable (uint chanid)
 

Static Public Attributes

static const int kInitFFRWSpeed = 0
 1x, default to normal speed More...
 
static const uint kInputKeysMax = 6
 When to start discarding early keys. More...
 
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. More...
 
static const uint kInputModeTimeout = 5000
 
static const uint kLCDTimeout = 1000
 Timeout for updating LCD info in msec. More...
 
static const uint kBrowseTimeout = 30000
 Timeout for browse mode exit in msec. More...
 
static const uint kKeyRepeatTimeout = 300
 Seek key repeat timeout in msec. More...
 
static const uint kPrevChanTimeout = 750
 How long to wait before applying all previous channel keypresses in msec. More...
 
static const uint kSleepTimerDialogTimeout = 45000
 How long to display sleep timer dialog in msec. More...
 
static const uint kIdleTimerDialogTimeout = 45000
 How long to display idle timer dialog in seconds. More...
 
static const uint kVideoExitDialogTimeout = 120000
 How long to display idle timer dialog in msec. More...
 
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
 
static const uint kSaveLastPlayPosTimeout = 30000
 

Protected Member Functions

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

Static Protected Attributes

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

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. More...
 
void InitFromDB (void)
 
QList< QKeyEvent > ConvertScreenPressKeyMap (const QString &keyList)
 
bool LiveTV (bool showDialogs, const ChannelInfoList &selection)
 Starts LiveTV. More...
 
int Playback (const ProgramInfo &rcinfo)
 
void PlaybackLoop (void)
 The main playback loop. More...
 
bool ProcessKeypressOrGesture (PlayerContext *, QEvent *e)
 
bool TranslateKeyPressOrGesture (const QString &context, QEvent *e, QStringList &actions, bool isLiveTV, bool allowJumps=true)
 
bool TranslateGesture (const QString &context, MythGestureEvent *e, QStringList &actions, bool isLiveTV)
 
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 HandleSaveLastPlayPosEvent ()
 
void EditSchedule (const PlayerContext *, int editType=kScheduleProgramGuide)
 
bool StartEmbedding (const QRect &)
 
void StopEmbedding (void)
 
bool IsTunable (const PlayerContext *, uint chanid)
 
QSet< uintIsTunableOn (const PlayerContext *, uint chanid)
 
void ChangeChannel (const PlayerContext *, const ChannelInfoList &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 More...
 
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 QuickRecord (PlayerContext *)
 
TVState GetState (int player_idx) const
 get tv state of active player context More...
 
TVState GetState (const PlayerContext *) const
 get tv state of active player context More...
 
void HandleStateChange (PlayerContext *mctx, PlayerContext *ctx)
 Changes the state to the state on the front of the state change queue. More...
 
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, const ChannelInfoList &sel=ChannelInfoList())
 
void DeleteRecorder ()
 
bool StartRecorder (PlayerContext *ctx, int maxWait=-1)
 Starts recorder, must be called before StartPlayer(). More...
 
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. More...
 
void TeardownPlayer (PlayerContext *mctx, PlayerContext *ctx)
 
bool StartPlayer (PlayerContext *mctx, PlayerContext *ctx, TVState desiredState)
 
vector< long longTeardownAllPlayers (PlayerContext *)
 Teardown all Player's in preparation for PxP Swap or change from PIP -> PBP or PBP -> PIP. More...
 
void RestartAllPlayers (PlayerContext *lctx, const vector< long long > &pos, MuteState mctx_mute)
 Recreate Main and PIP windows. More...
 
void RestartMainPlayer (PlayerContext *mctx)
 
bool IsSwitchingCards (void) const
 Returns true if we are currently in the process of switching recorders. More...
 
bool getAllowRerecord (void) const
 Returns true if the user told Mythtv to allow re-recording of the show. More...
 
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. More...
 
bool getJumpToProgram (void) const
 This is set if the user asked MythTV to jump to the previous recording in the playlist. More...
 
bool IsDeleteAllowed (const PlayerContext *) const
 
void ToggleChannelFavorite (PlayerContext *ctx)
 
void ToggleChannelFavorite (PlayerContext *, QString)
 
void ChangeChannel (PlayerContext *, ChannelChangeDirection 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. More...
 
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 chanid=0, QString channum="", uint inputid=0)
 
void PauseLiveTV (PlayerContext *)
 Used in ChangeChannel() to temporarily stop video output. More...
 
void UnpauseLiveTV (PlayerContext *, bool bQuietly=false)
 Used in ChangeChannel() to restart video output. More...
 
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)
 
bool DoPlayerSeekToFrame (PlayerContext *ctx, uint64_t target)
 
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)
 Cycle through the available Info OSDs. More...
 
void ToggleOSDDebug (PlayerContext *)
 
void UpdateOSDDebug (const PlayerContext *ctx)
 
void UpdateOSDProgInfo (const PlayerContext *, const char *whichInfo)
 Update and display the passed OSD set with programinfo. More...
 
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... More...
 
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 SubtitleDelayHandleAction (PlayerContext *ctx, const QStringList &actions)
 
void ChangeSubtitleDelay (PlayerContext *ctx, int dir)
 
bool CreatePBP (PlayerContext *lctx, const ProgramInfo *info)
 Setup Picture by Picture. More...
 
bool CreatePIP (PlayerContext *lctx, const ProgramInfo *info)
 create PIP. More...
 
bool ResizePIPWindow (PlayerContext *)
 resize PIP Window. More...
 
bool IsPBPSupported (const PlayerContext *ctx=NULL) const
 
bool IsPIPSupported (const PlayerContext *ctx=NULL) const
 
void PxPToggleView (PlayerContext *actx, bool wantPBP)
 start/stop PIP/PBP More...
 
void PxPCreateView (PlayerContext *actx, bool wantPBP)
 start PIP/PBP More...
 
void PxPTeardownView (PlayerContext *actx)
 stop PIP/PBP More...
 
void PxPToggleType (PlayerContext *mctx, bool wantPBP)
 Change PIP View from PIP to PBP and visa versa. More...
 
void PxPSwap (PlayerContext *mctx, PlayerContext *pipctx)
 
bool PIPAddPlayer (PlayerContext *mctx, PlayerContext *ctx)
 Maps Player of software scaled PIP to the main player. More...
 
bool PIPRemovePlayer (PlayerContext *mctx, PlayerContext *ctx)
 Unmaps Player of software scaled PIP from the main player. More...
 
void PBPRestartMainPlayer (PlayerContext *mctx)
 tear down remaining PBP video and restore fullscreen display More...
 
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. More...
 
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. More...
 
bool HandleOSDChannelEdit (PlayerContext *, QString action)
 
void ChannelEditAutoFill (const PlayerContext *, InfoMap &) const
 Automatically fills in as much information as possible. More...
 
void ChannelEditAutoFill (const PlayerContext *, InfoMap &, const QMap< QString, bool > &) const
 Automatically fills in as much information as possible. More...
 
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)
 
void StartProgramEditMode (PlayerContext *)
 Starts Program Cut Map Editing mode. More...
 
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. More...
 
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 *, bool isCompact=false)
 
void FillOSDMenuJumpRec (PlayerContext *ctx, const QString &category="", int level=0, const QString &selected="")
 
void PlaybackMenuShow (const MenuBase &menu, const QDomNode &node, const QDomNode &selected)
 
void CutlistMenuShow (const MenuBase &menu, const QDomNode &node, const QDomNode &selected)
 
virtual bool MenuItemDisplay (const MenuItemContext &c)
 
bool MenuItemDisplayPlayback (const MenuItemContext &c)
 
bool MenuItemDisplayCutlist (const MenuItemContext &c)
 
void PlaybackMenuInit (const MenuBase &menu)
 
void PlaybackMenuDeinit (const MenuBase &menu)
 
void MenuStrings (void) const
 
void MenuLazyInit (void *field)
 
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
 
QString GetLiveTVIndex (const PlayerContext *) const
 

Static Private Member Functions

static TVGetTV (void)
 
static void ReleaseTV (TV *tv)
 
static QSet< uintIsTunableOn (TV *tv, const PlayerContext *, uint chanid)
 
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. More...
 
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_clear_saved_position
 
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. More...
 
vector< intff_rew_speeds
 
uint vbimode
 
QTime ctorTime
 
uint switchToInputId
 
QMutex initFromDBLock
 
bool initFromDBDone
 
QWaitCondition initFromDBWait
 
bool wantsToQuit
 True if the user told MythTV to stop plaback. More...
 
bool stretchAdjustment
 True if time stretch is turned on. More...
 
bool audiosyncAdjustment
 True if audiosync is turned on. More...
 
bool subtitleZoomAdjustment
 True if subtitle zoom is turned on. More...
 
bool subtitleDelayAdjustment
 True if subtitle delay is turned on. More...
 
bool editmode
 Are we in video editing mode. More...
 
bool zoomMode
 
bool sigMonMode
 Are we in signal monitoring mode? More...
 
bool endOfRecording
 !player->IsPlaying() && StateIsPlaying() More...
 
bool requestDelete
 User wants last video deleted. More...
 
bool allowRerecord
 User wants to rerecord the last video if deleted. More...
 
bool doSmartForward
 
bool queuedTranscode
 
PictureAdjustType adjustingPicture
 Picture attribute type to modify. More...
 
PictureAttribute adjustingPictureAttribute
 Picture attribute to modify (on arrow left or right) More...
 
QMap< QString, AskProgramInfoaskAllowPrograms
 
QMutex askAllowLock
 
MythDeque< QString > changePxP
 
QMutex progListsLock
 
QMap< QString, ProgramListprogLists
 
QMutex chanEditMapLock
 Lock for chanEditMap and ddMap. More...
 
InfoMap chanEditMap
 Channel Editing initial map. More...
 
DDKeyMap ddMap
 DataDirect channel map. More...
 
uint ddMapSourceId
 DataDirect channel map sourceid. More...
 
DDLoaderddMapLoader
 DataDirect map loader runnable. More...
 
vector< SleepTimerInfosleep_times
 Vector or sleep timer sleep times in seconds, with the appropriate UI message. More...
 
uint sleep_index
 Index into sleep_times. More...
 
uint sleepTimerTimeout
 Current sleep timeout in msec. More...
 
int sleepTimerId
 Timer for turning off playback. More...
 
int sleepDialogTimerId
 Timer for sleep dialog. More...
 
int idleTimerId
 Timer for turning off playback after idle period. More...
 
int idleDialogTimerId
 Timer for idle dialog. More...
 
MythTimer keyRepeatTimer
 Queue of unprocessed key presses. More...
 
bool ccInputMode
 Are we in CC/Teletext page/stream selection mode? More...
 
bool asInputMode
 Are we in Arbitrary seek input mode? More...
 
QString queuedInput
 Input key presses queued up so far... More...
 
QString queuedChanNum
 Input key presses queued up so far to form a valid ChanNum. More...
 
uint queuedChanID
 Queued ChanID (from EPG channel selector) More...
 
uint initialChanID
 Initial chanid override for Live TV. More...
 
QList< QKeyEvent > screenPressKeyMapPlayback
 
QList< QKeyEvent > screenPressKeyMapLiveTV
 
QTime lockTimer
 
bool lockTimerOn
 
QDateTime lastLockSeenTime
 
TVBrowseHelperbrowsehelper
 
QMutex lastProgramLock
 
ProgramInfolastProgram
 last program played with this player More...
 
bool inPlaylist
 show is part of a playlist More...
 
bool underNetworkControl
 initial show started via by the network control interface More...
 
PIPState jumpToProgramPIPState
 
bool jumpToProgram
 
vector< PlayerContext * > player
 
int playerActive
 Video Player to which events are sent to. More...
 
QReadWriteLock playerLock
 lock on player and playerActive changes More...
 
bool noHardwareDecoders
 
RemoteEncoderswitchToRec
 Main recorder to use after a successful SwitchCards() call. More...
 
QMap< OSD *, const PlayerContext * > osd_lctx
 
QString lcdTitle
 
QString lcdSubtitle
 
QString lcdCallsign
 
TvPlayWindowmyWindow
 Our screen, if it exists. More...
 
QRect player_bounds
 Prior GUI window bounds, for DoEditSchedule() and player exit(). More...
 
QRect saved_gui_bounds
 
bool weDisabledGUI
 true if this instance disabled MythUI drawing. More...
 
bool disableDrawUnusedRects
 true if video chromakey and frame should not be drawn More...
 
bool isEmbedded
 are we currently embedded More...
 
bool ignoreKeyPresses
 should we ignore keypresses More...
 
vector< boolsaved_pause
 saved pause state before embedding More...
 
QMutex channelGroupLock
 Lock necessary when modifying channel group variables. More...
 
volatile int channelGroupId
 
ChannelInfoList 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
 
volatile int saveLastPlayPosTimerId
 
TimerContextMap stateChangeTimerId
 
TimerContextMap signalMonitorTimerId
 
PlayerContextm_tvmCtx
 
OSDm_tvmOsd
 
QStringList m_tvm_tracks [kTrackTypeCount]
 
int m_tvm_curtrack [kTrackTypeCount]
 
bool m_tvm_avsync
 
bool m_tvm_visual
 
QString m_tvm_active
 
bool m_tvm_upmixing
 
bool m_tvm_canupmix
 
QStringList m_tvm_visualisers
 
AspectOverrideMode m_tvm_aspectoverride
 
AdjustFillMode m_tvm_adjustfill
 
bool m_tvm_fill_autodetect
 
uint m_tvm_sup
 
bool m_tvm_studio_levels
 
bool m_tvm_stereoallowed
 
StereoscopicMode m_tvm_stereomode
 
FrameScanType m_tvm_scan_type
 
FrameScanType m_tvm_scan_type_unlocked
 
bool m_tvm_scan_type_locked
 
QString m_tvm_cur_mode
 
QStringList m_tvm_deinterlacers
 
QString m_tvm_currentdeinterlacer
 
bool m_tvm_doublerate
 
int m_tvm_speedX100
 
TVState m_tvm_state
 
bool m_tvm_isrecording
 
bool m_tvm_isrecorded
 
bool m_tvm_isvideo
 
CommSkipMode m_tvm_curskip
 
bool m_tvm_ispaused
 
bool m_tvm_allowPIP
 
bool m_tvm_allowPBP
 
bool m_tvm_hasPIP
 
bool m_tvm_hasPBP
 
int m_tvm_freerecordercount
 
bool m_tvm_isdvd
 
bool m_tvm_isbd
 
bool m_tvm_jump
 
bool m_tvm_islivetv
 
bool m_tvm_previouschan
 
int m_tvm_num_chapters
 
int m_tvm_current_chapter
 
QList< long longm_tvm_chapter_times
 
int m_tvm_num_angles
 
int m_tvm_current_angle
 
int m_tvm_num_titles
 
int m_tvm_current_title
 
uint m_tvm_subs_capmode
 
bool m_tvm_subs_havetext
 
bool m_tvm_subs_forcedon
 
bool m_tvm_subs_enabled
 
bool m_tvm_subs_have_subs
 
bool m_tvm_is_on
 
bool m_tvm_transcoding
 
QVariant m_tvm_jumprec_back_hack
 
MenuBase m_playbackMenu
 
MenuBase m_playbackCompactMenu
 
MenuBase m_cutlistMenu
 
MenuBase m_cutlistCompactMenu
 

Static Private Attributes

static QMutex * gTVLock = new QMutex()
 
static TVgTV = NULL
 
static const int screenPressRegionCount = 12
 screen area to keypress translation region is now 0..11 0 1 2 3 4 5 6 7 8 9 10 11 More...
 

Friends

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

Detailed Description

Control TV playback TVPlaybackAborted(void)

TV playback failed to start (typically, TV playback was started when another playback is currently going) TVPlaybackStarted(void) TV playback has started, video is now playing TVPlaybackStopped(void) TV playback has stopped and playback has exited TVPlaybackUnpaused(void) TV playback has resumed, following a Pause action TVPlaybackPaused(void) TV playback has been paused TVPlaybackSought(qint position_seconds) Absolute seek has completed to position_seconds

Definition at line 290 of file tv_play.h.

Member Typedef Documentation

§ TimerContextMap

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

Definition at line 966 of file tv_play.h.

§ TimerContextConstMap

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

Definition at line 967 of file tv_play.h.

Member Enumeration Documentation

§ BookmarkAction

enum TV::BookmarkAction
private
Enumerator
kBookmarkAlways 
kBookmarkNever 
kBookmarkAuto 

Definition at line 476 of file tv_play.h.

§ ArbSeekWhence

enum TV::ArbSeekWhence
private
Enumerator
ARBSEEK_SET 
ARBSEEK_REWIND 
ARBSEEK_FORWARD 
ARBSEEK_END 

Definition at line 567 of file tv_play.h.

Constructor & Destructor Documentation

§ TV()

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

Definition at line 1008 of file tv_play.cpp.

§ ~TV()

TV::~TV ( void  )
private

Definition at line 1365 of file tv_play.cpp.

Member Function Documentation

§ IsTVRunning()

bool TV::IsTVRunning ( void  )
static

§ CurrentTVInstance()

static TV* TV::CurrentTVInstance ( void  )
inlinestatic

Definition at line 305 of file tv_play.h.

Referenced by MythAirplayServer::PausePlayback().

§ StartTV()

bool TV::StartTV ( ProgramInfo tvrec,
uint  flags,
const ChannelInfoList selection = ChannelInfoList() 
)
static

returns true if the recording completed when exiting.

Definition at line 322 of file tv_play.cpp.

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

§ IsPaused()

bool TV::IsPaused ( void  )
static

Returns true if a TV playback is currently going; otherwise returns false.

Definition at line 6500 of file tv_play.cpp.

§ event()

bool TV::event ( QEvent *  e)

This handles all standard events.

Definition at line 3682 of file tv_play.cpp.

Referenced by eventFilter().

§ eventFilter()

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

This selectively blocks KeyPress and Resize events.

Definition at line 3645 of file tv_play.cpp.

§ IsSameProgram()

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

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

§ FinishRecording()

void TV::FinishRecording ( int  player_idx)

Finishes player's recording.

Definition at line 1828 of file tv_play.cpp.

§ InitKeys()

void TV::InitKeys ( void  )
static

Definition at line 539 of file tv_play.cpp.

Referenced by main().

§ ReloadKeys()

void TV::ReloadKeys ( void  )
static

Definition at line 995 of file tv_play.cpp.

Referenced by ReloadKeys().

§ SetFuncPtr()

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

Referenced by SetFuncPtrs().

§ ConfiguredTunerCards()

static int TV::ConfiguredTunerCards ( void  )
static

Referenced by isLiveTVAvailable().

§ IsTunable() [1/2]

bool TV::IsTunable ( uint  chanid)
static

§ HandleOSDClosed

void TV::HandleOSDClosed ( int  osdType)
slot

Definition at line 9983 of file tv_play.cpp.

Referenced by customEvent().

§ timerEvent

void TV::timerEvent ( QTimerEvent *  te)
slot

Definition at line 2782 of file tv_play.cpp.

§ StopPlayback

void TV::StopPlayback ( void  )
slot

Definition at line 305 of file tv_play.cpp.

Referenced by InitFromDB().

§ customEvent()

void TV::customEvent ( QEvent *  e)
protected

This handles all custom events.

Definition at line 9314 of file tv_play.cpp.

Referenced by eventFilter().

§ GetTV()

TV * TV::GetTV ( void  )
staticprivate

Definition at line 280 of file tv_play.cpp.

§ ReleaseTV()

void TV::ReleaseTV ( TV tv)
staticprivate

Definition at line 292 of file tv_play.cpp.

§ Init()

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

Performs instance initialization, returns true on success.

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

Definition at line 1238 of file tv_play.cpp.

Referenced by StartTV().

§ InitFromDB()

void TV::InitFromDB ( void  )
private

Definition at line 1114 of file tv_play.cpp.

Referenced by TV().

§ ConvertScreenPressKeyMap()

QList< QKeyEvent > TV::ConvertScreenPressKeyMap ( const QString &  keyList)
private

Definition at line 3882 of file tv_play.cpp.

Referenced by InitFromDB().

§ LiveTV()

bool TV::LiveTV ( bool  showDialogs,
const ChannelInfoList selection 
)
private

Starts LiveTV.

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

Definition at line 1734 of file tv_play.cpp.

Referenced by StartTV().

§ Playback()

int TV::Playback ( const ProgramInfo rcinfo)
private

Definition at line 2158 of file tv_play.cpp.

Referenced by StartTV().

§ PlaybackLoop()

void TV::PlaybackLoop ( void  )
private

The main playback loop.

Definition at line 1455 of file tv_play.cpp.

Referenced by StartTV().

§ ProcessKeypressOrGesture()

bool TV::ProcessKeypressOrGesture ( PlayerContext actx,
QEvent *  e 
)
private

Definition at line 3967 of file tv_play.cpp.

Referenced by event().

§ TranslateKeyPressOrGesture()

bool TV::TranslateKeyPressOrGesture ( const QString &  context,
QEvent *  e,
QStringList &  actions,
bool  isLiveTV,
bool  allowJumps = true 
)
private

Definition at line 3950 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ TranslateGesture()

bool TV::TranslateGesture ( const QString &  context,
MythGestureEvent e,
QStringList &  actions,
bool  isLiveTV 
)
private

Definition at line 3912 of file tv_play.cpp.

Referenced by TranslateKeyPressOrGesture().

§ ProcessNetworkControlCommand()

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

Definition at line 5122 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleTrackAction()

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

Definition at line 3738 of file tv_play.cpp.

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

§ ActiveHandleAction()

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

Definition at line 4560 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ BrowseHandleAction()

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

Definition at line 4220 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ OSDDialogEvent()

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

Definition at line 10728 of file tv_play.cpp.

Referenced by customEvent().

§ PxPHandleAction()

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

Definition at line 4964 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().

§ ToggleHandleAction()

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

Definition at line 4880 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ FFRewHandleAction()

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

Definition at line 4843 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ ActivePostQHandleAction()

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

Definition at line 5025 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ HandleJumpToProgramAction()

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

Definition at line 12666 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

§ SeekHandleAction()

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

Definition at line 6614 of file tv_play.cpp.

Referenced by ActiveHandleAction().

§ TimeStretchHandleAction()

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

Definition at line 4418 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ DiscMenuHandleAction()

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

Definition at line 4522 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ Handle3D()

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

Definition at line 4538 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ StartTimer()

int TV::StartTimer ( int  interval,
int  line 
)
private

§ KillTimer()

void TV::KillTimer ( int  id)
private

§ SetSpeedChangeTimer()

void TV::SetSpeedChangeTimer ( uint  when,
int  line 
)
private

§ HandleEndOfPlaybackTimerEvent()

void TV::HandleEndOfPlaybackTimerEvent ( void  )
private

Definition at line 3436 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleIsNearEndWhenEmbeddingTimerEvent()

void TV::HandleIsNearEndWhenEmbeddingTimerEvent ( void  )
private

Definition at line 3483 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleEndOfRecordingExitPromptTimerEvent()

void TV::HandleEndOfRecordingExitPromptTimerEvent ( void  )
private

Definition at line 3498 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleVideoExitDialogTimerEvent()

void TV::HandleVideoExitDialogTimerEvent ( void  )
private

Definition at line 3530 of file tv_play.cpp.

Referenced by timerEvent().

§ HandlePseudoLiveTVTimerEvent()

void TV::HandlePseudoLiveTVTimerEvent ( void  )
private

Definition at line 3560 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleSpeedChangeTimerEvent()

void TV::HandleSpeedChangeTimerEvent ( void  )
private

Definition at line 3612 of file tv_play.cpp.

Referenced by timerEvent().

§ ToggleSleepTimer() [1/2]

void TV::ToggleSleepTimer ( const PlayerContext ctx)
private

Definition at line 9116 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ ToggleSleepTimer() [2/2]

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

Definition at line 12788 of file tv_play.cpp.

§ HandlePxPTimerEvent()

bool TV::HandlePxPTimerEvent ( void  )
private

Definition at line 3192 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleLCDTimerEvent()

bool TV::HandleLCDTimerEvent ( void  )
private

Definition at line 3244 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleLCDVolumeTimerEvent()

void TV::HandleLCDVolumeTimerEvent ( void  )
private

Definition at line 3286 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleSaveLastPlayPosEvent()

void TV::HandleSaveLastPlayPosEvent ( void  )
private

Definition at line 13361 of file tv_play.cpp.

Referenced by timerEvent().

§ EditSchedule()

void TV::EditSchedule ( const PlayerContext ctx,
int  editType = kScheduleProgramGuide 
)
private

§ StartEmbedding()

bool TV::StartEmbedding ( const QRect &  embedRect)
private

§ StopEmbedding()

void TV::StopEmbedding ( void  )
private

Definition at line 8623 of file tv_play.cpp.

Referenced by customEvent().

§ IsTunable() [2/2]

bool TV::IsTunable ( const PlayerContext ctx,
uint  chanid 
)
private

Definition at line 8494 of file tv_play.cpp.

§ IsTunableOn() [1/2]

QSet< uint > TV::IsTunableOn ( const PlayerContext ctx,
uint  chanid 
)
private

Definition at line 8516 of file tv_play.cpp.

Referenced by ChangeChannel(), IsTunable(), and RequestNextRecorder().

§ IsTunableOn() [2/2]

QSet< uint > TV::IsTunableOn ( TV tv,
const PlayerContext ctx,
uint  chanid 
)
staticprivate

Definition at line 8522 of file tv_play.cpp.

§ ChangeChannel() [1/3]

void TV::ChangeChannel ( const PlayerContext ctx,
const ChannelInfoList options 
)
private

§ DrawUnusedRects()

void TV::DrawUnusedRects ( void  )
private

Definition at line 8651 of file tv_play.cpp.

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

§ DoEditSchedule()

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

Definition at line 8696 of file tv_play.cpp.

Referenced by customEvent().

§ GetRecordingGroup()

QString TV::GetRecordingGroup ( int  player_idx) const
private

Definition at line 13429 of file tv_play.cpp.

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

§ ChangeVolume()

void TV::ChangeVolume ( PlayerContext ctx,
bool  up,
int  newvolume = -1 
)
private

§ ToggleMute()

void TV::ToggleMute ( PlayerContext ctx,
const bool  muteIndividualChannels = false 
)
private

Definition at line 9080 of file tv_play.cpp.

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

§ UpdateChannelList()

void TV::UpdateChannelList ( int  groupID)
private

update the channel list with channels from the selected channel group

Definition at line 1504 of file tv_play.cpp.

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

§ GetOSDL() [1/2]

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

Definition at line 13480 of file tv_play.cpp.

§ GetOSDL() [2/2]

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

Definition at line 13491 of file tv_play.cpp.

§ ReturnOSDLock()

void TV::ReturnOSDLock ( const PlayerContext ctx,
OSD *&  osd 
)
private

§ GetPlayerWriteLock()

PlayerContext * TV::GetPlayerWriteLock ( int  which,
const char *  file,
int  location 
)
private

Definition at line 13544 of file tv_play.cpp.

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

§ GetPlayerReadLock() [1/2]

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

§ GetPlayerReadLock() [2/2]

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

Definition at line 13574 of file tv_play.cpp.

§ GetPlayerHaveLock() [1/2]

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

Definition at line 13590 of file tv_play.cpp.

§ GetPlayerHaveLock() [2/2]

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

Definition at line 13606 of file tv_play.cpp.

§ ReturnPlayerLock() [1/2]

void TV::ReturnPlayerLock ( PlayerContext *&  ctx)
private

§ ReturnPlayerLock() [2/2]

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

Definition at line 13628 of file tv_play.cpp.

§ ToggleAutoExpire()

void TV::ToggleAutoExpire ( PlayerContext ctx)
private

Definition at line 12612 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ QuickRecord()

void TV::QuickRecord ( PlayerContext ctx)
private

Definition at line 9903 of file tv_play.cpp.

Referenced by BrowseHandleAction(), and ToggleHandleAction().

§ StateIsRecording()

bool TV::StateIsRecording ( TVState  state)
staticprivate

Definition at line 2189 of file tv_play.cpp.

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

§ StateIsPlaying()

bool TV::StateIsPlaying ( TVState  state)
staticprivate

§ StateIsLiveTV()

bool TV::StateIsLiveTV ( TVState  state)
staticprivate

§ GetState() [1/2]

TVState TV::GetState ( int  player_idx) const
private

§ GetState() [2/2]

TVState TV::GetState ( const PlayerContext actx) const
private

get tv state of active player context

Definition at line 1722 of file tv_play.cpp.

§ HandleStateChange()

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

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

§ GetStatus()

void TV::GetStatus ( void  )
private

Definition at line 1541 of file tv_play.cpp.

Referenced by customEvent().

§ ForceNextStateNone()

void TV::ForceNextStateNone ( PlayerContext ctx)
private

§ ScheduleStateChange()

void TV::ScheduleStateChange ( PlayerContext ctx)
private

§ SetErrored()

void TV::SetErrored ( PlayerContext ctx)
private

Definition at line 3330 of file tv_play.cpp.

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

§ setInPlayList()

void TV::setInPlayList ( bool  setting)
inlineprivate

Definition at line 472 of file tv_play.h.

Referenced by OSDDialogEvent(), and StartTV().

§ setUnderNetworkControl()

void TV::setUnderNetworkControl ( bool  setting)
inlineprivate

Definition at line 473 of file tv_play.h.

Referenced by StartTV().

§ PrepToSwitchToRecordedProgram()

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

Definition at line 3340 of file tv_play.cpp.

Referenced by customEvent(), and HandleJumpToProgramAction().

§ PrepareToExitPlayer()

void TV::PrepareToExitPlayer ( PlayerContext ctx,
int  line,
BookmarkAction  bookmark = kBookmarkAuto 
)
private

§ SetExitPlayer()

void TV::SetExitPlayer ( bool  set_it,
bool  wants_to 
)
private

§ RequestNextRecorder()

bool TV::RequestNextRecorder ( PlayerContext ctx,
bool  showDialogs,
const ChannelInfoList sel = ChannelInfoList() 
)
private

Definition at line 1771 of file tv_play.cpp.

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

§ DeleteRecorder()

void TV::DeleteRecorder ( )
private

§ StartRecorder()

bool TV::StartRecorder ( PlayerContext ctx,
int  maxWait = -1 
)
private

Starts recorder, must be called before StartPlayer().

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

Definition at line 2648 of file tv_play.cpp.

Referenced by HandleStateChange(), and SwitchInputs().

§ StopStuff()

void TV::StopStuff ( PlayerContext mctx,
PlayerContext ctx,
bool  stopRingbuffers,
bool  stopPlayers,
bool  stopRecorders 
)
private

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

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

Parameters
stopRingBufferSet to true if ringbuffer must be shut down.
stopPlayerSet to true if player must be shut down.
stopRecorderSet to true if recorder must be shut down.

Definition at line 2700 of file tv_play.cpp.

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

§ TeardownPlayer()

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

Definition at line 2748 of file tv_play.cpp.

Referenced by timerEvent().

§ StartPlayer()

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

Definition at line 5811 of file tv_play.cpp.

Referenced by HandleStateChange(), and RestartAllPlayers().

§ TeardownAllPlayers()

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

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

§ RestartAllPlayers()

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

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

§ RestartMainPlayer()

void TV::RestartMainPlayer ( PlayerContext mctx)
private

Definition at line 6368 of file tv_play.cpp.

Referenced by timerEvent().

§ IsSwitchingCards()

bool TV::IsSwitchingCards ( void  ) const
inlineprivate

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

Definition at line 505 of file tv_play.h.

§ getAllowRerecord()

bool TV::getAllowRerecord ( void  ) const
inlineprivate

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

Definition at line 507 of file tv_play.h.

Referenced by StartTV().

§ getEndOfRecording()

bool TV::getEndOfRecording ( void  ) const
inlineprivate

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

Definition at line 510 of file tv_play.h.

Referenced by PrepareToExitPlayer(), and StartTV().

§ getJumpToProgram()

bool TV::getJumpToProgram ( void  ) const
inlineprivate

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

Definition at line 513 of file tv_play.h.

Referenced by StartTV().

§ IsDeleteAllowed()

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

Definition at line 13124 of file tv_play.cpp.

Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().

§ ToggleChannelFavorite() [1/2]

void TV::ToggleChannelFavorite ( PlayerContext ctx)
private

Definition at line 7396 of file tv_play.cpp.

Referenced by ToggleHandleAction().

§ ToggleChannelFavorite() [2/2]

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

Definition at line 7404 of file tv_play.cpp.

§ ChangeChannel() [2/3]

void TV::ChangeChannel ( PlayerContext ctx,
ChannelChangeDirection  direction 
)
private

Definition at line 7642 of file tv_play.cpp.

§ ChangeChannel() [3/3]

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

Definition at line 7735 of file tv_play.cpp.

§ ShowPreviousChannel()

void TV::ShowPreviousChannel ( PlayerContext ctx)
private

Definition at line 7908 of file tv_play.cpp.

Referenced by PopPreviousChannel().

§ PopPreviousChannel()

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

Definition at line 7921 of file tv_play.cpp.

Referenced by ActivePostQHandleAction(), and OSDDialogEvent().

§ AddKeyToInputQueue()

void TV::AddKeyToInputQueue ( PlayerContext ctx,
char  key 
)
private

§ ClearInputQueues()

void TV::ClearInputQueues ( const PlayerContext ctx,
bool  hideosd 
)
private

Clear channel key buffer of input keys.

Parameters
hideosdif true, hides "channel_number" OSDSet.

Definition at line 7452 of file tv_play.cpp.

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

§ CommitQueuedInput()

bool TV::CommitQueuedInput ( PlayerContext ctx)
private

§ ProcessSmartChannel()

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

Definition at line 7515 of file tv_play.cpp.

Referenced by AddKeyToInputQueue().

§ HasQueuedInput()

bool TV::HasQueuedInput ( void  ) const
inlineprivate

§ HasQueuedChannel()

bool TV::HasQueuedChannel ( void  ) const
inlineprivate

Definition at line 534 of file tv_play.h.

Referenced by ClearOSD(), and timerEvent().

§ GetQueuedInput()

QString TV::GetQueuedInput ( void  ) const
private

Definition at line 7410 of file tv_play.cpp.

Referenced by AddKeyToInputQueue(), and CommitQueuedInput().

§ GetQueuedInputAsInt()

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

Definition at line 7418 of file tv_play.cpp.

Referenced by DoArbSeek(), and HandleTrackAction().

§ GetQueuedChanNum()

QString TV::GetQueuedChanNum ( void  ) const
private

Definition at line 7424 of file tv_play.cpp.

Referenced by CommitQueuedInput(), and ProcessSmartChannel().

§ GetQueuedChanID()

uint TV::GetQueuedChanID ( void  ) const
inlineprivate

Definition at line 541 of file tv_play.h.

Referenced by ChangeChannel(), and CommitQueuedInput().

§ SwitchSource()

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

Definition at line 7176 of file tv_play.cpp.

Referenced by ActivePostQHandleAction().

§ SwitchInputs()

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

Definition at line 7240 of file tv_play.cpp.

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

§ PauseLiveTV()

void TV::PauseLiveTV ( PlayerContext ctx)
private

Used in ChangeChannel() to temporarily stop video output.

Definition at line 12894 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and ChangeChannel().

§ UnpauseLiveTV()

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

Used in ChangeChannel() to restart video output.

Definition at line 12934 of file tv_play.cpp.

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

§ DoPlay()

void TV::DoPlay ( PlayerContext ctx)
private

Definition at line 6398 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

§ DoTogglePauseStart()

float TV::DoTogglePauseStart ( PlayerContext ctx)
private

Definition at line 6432 of file tv_play.cpp.

Referenced by DoSetPauseState(), and DoTogglePause().

§ DoTogglePauseFinish()

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

Definition at line 6463 of file tv_play.cpp.

Referenced by DoSetPauseState(), and DoTogglePause().

§ DoTogglePause()

void TV::DoTogglePause ( PlayerContext ctx,
bool  showOSD 
)
private

§ DoSetPauseState()

vector< bool > TV::DoSetPauseState ( PlayerContext lctx,
const vector< bool > &  pause 
)
private

Definition at line 8672 of file tv_play.cpp.

Referenced by customEvent(), and DoEditSchedule().

§ ContextIsPaused()

bool TV::ContextIsPaused ( PlayerContext ctx,
const char *  file,
int  location 
)
private

§ SetLastProgram()

void TV::SetLastProgram ( const ProgramInfo rcinfo)
private

§ GetLastProgram()

ProgramInfo * TV::GetLastProgram ( void  ) const
private

Definition at line 13421 of file tv_play.cpp.

Referenced by FillOSDMenuJumpRec(), and StartTV().

§ DoSeek()

void TV::DoSeek ( PlayerContext ctx,
float  time,
const QString &  mesg,
bool  timeIsOffset,
bool  honorCutlist 
)
private

§ DoPlayerSeek()

bool TV::DoPlayerSeek ( PlayerContext ctx,
float  time 
)
private

§ DoPlayerSeekToFrame()

bool TV::DoPlayerSeekToFrame ( PlayerContext ctx,
uint64_t  target 
)
private

Definition at line 6584 of file tv_play.cpp.

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

§ DoSeekAbsolute()

void TV::DoSeekAbsolute ( PlayerContext ctx,
long long  seconds,
bool  honorCutlist 
)
private

Definition at line 6738 of file tv_play.cpp.

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

§ DoArbSeek()

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

Definition at line 6755 of file tv_play.cpp.

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

§ DoJumpFFWD()

void TV::DoJumpFFWD ( PlayerContext ctx)
private

Definition at line 12987 of file tv_play.cpp.

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

§ DoJumpRWND()

void TV::DoJumpRWND ( PlayerContext ctx)
private

Definition at line 12999 of file tv_play.cpp.

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

§ NormalSpeed()

void TV::NormalSpeed ( PlayerContext ctx)
private

§ ChangeSpeed()

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

Definition at line 6805 of file tv_play.cpp.

Referenced by ActiveHandleAction().

§ ToggleTimeStretch()

void TV::ToggleTimeStretch ( PlayerContext ctx)
private

Definition at line 8896 of file tv_play.cpp.

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

§ ChangeTimeStretch()

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

§ DVDJumpBack()

void TV::DVDJumpBack ( PlayerContext ctx)
private

Definition at line 13014 of file tv_play.cpp.

Referenced by DoJumpRWND().

§ DVDJumpForward()

void TV::DVDJumpForward ( PlayerContext ctx)
private

Definition at line 13053 of file tv_play.cpp.

Referenced by DoJumpFFWD().

§ StopFFRew()

float TV::StopFFRew ( PlayerContext ctx)
private

§ ChangeFFRew()

void TV::ChangeFFRew ( PlayerContext ctx,
int  direction 
)
private

Definition at line 6876 of file tv_play.cpp.

Referenced by SeekHandleAction().

§ SetFFRew()

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

Definition at line 6909 of file tv_play.cpp.

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

§ EnableUpmix()

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

Definition at line 8961 of file tv_play.cpp.

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

§ ChangeAudioSync()

void TV::ChangeAudioSync ( PlayerContext ctx,
int  dir,
int  newsync = -9999 
)
private

§ AudioSyncHandleAction()

bool TV::AudioSyncHandleAction ( PlayerContext ctx,
const QStringList &  actions 
)
private

Definition at line 4444 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ PauseAudioUntilBuffered()

void TV::PauseAudioUntilBuffered ( PlayerContext ctx)
private

§ GetNumChapters()

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

Definition at line 7006 of file tv_play.cpp.

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

§ GetChapterTimes()

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

Definition at line 7016 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetCurrentChapter()

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

Definition at line 7024 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetNumTitles()

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

Definition at line 7050 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetCurrentTitle()

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

Definition at line 7060 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetTitleDuration()

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

Definition at line 7100 of file tv_play.cpp.

Referenced by MenuItemDisplayPlayback().

§ GetTitleName()

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

Definition at line 7111 of file tv_play.cpp.

Referenced by MenuItemDisplayPlayback().

§ DoSwitchTitle()

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

Definition at line 7121 of file tv_play.cpp.

Referenced by customEvent(), and OSDDialogEvent().

§ GetNumAngles()

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

Definition at line 7070 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetCurrentAngle()

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

Definition at line 7080 of file tv_play.cpp.

Referenced by PlaybackMenuInit().

§ GetAngleName()

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

Definition at line 7090 of file tv_play.cpp.

Referenced by MenuItemDisplayPlayback().

§ DoSwitchAngle()

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

Definition at line 7137 of file tv_play.cpp.

Referenced by customEvent(), and OSDDialogEvent().

§ DoJumpChapter()

void TV::DoJumpChapter ( PlayerContext ctx,
int  chapter 
)
private

§ DoSkipCommercials()

void TV::DoSkipCommercials ( PlayerContext ctx,
int  direction 
)
private

Definition at line 7153 of file tv_play.cpp.

Referenced by ActiveHandleAction().

§ SetAutoCommercialSkip()

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

Definition at line 12635 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

§ DoQueueTranscode()

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

Definition at line 6956 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

§ IsBookmarkAllowed()

bool TV::IsBookmarkAllowed ( const PlayerContext ctx) const
private

§ SetBookmark()

void TV::SetBookmark ( PlayerContext ctx,
bool  clear = false 
)
private

§ ClearOSD()

bool TV::ClearOSD ( const PlayerContext ctx)
private

§ ToggleOSD()

void TV::ToggleOSD ( PlayerContext ctx,
bool  includeStatusOSD 
)
private

Cycle through the available Info OSDs.

Definition at line 7981 of file tv_play.cpp.

Referenced by ActiveHandleAction().

§ ToggleOSDDebug()

void TV::ToggleOSDDebug ( PlayerContext ctx)
private

Definition at line 8049 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and OSDDialogEvent().

§ UpdateOSDDebug()

void TV::UpdateOSDDebug ( const PlayerContext ctx)
private

Definition at line 8075 of file tv_play.cpp.

Referenced by timerEvent(), and ToggleOSDDebug().

§ UpdateOSDProgInfo()

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

Update and display the passed OSD set with programinfo.

Definition at line 8091 of file tv_play.cpp.

Referenced by ToggleOSD(), and UnpauseLiveTV().

§ UpdateOSDStatus() [1/2]

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

§ UpdateOSDStatus() [2/2]

void TV::UpdateOSDStatus ( const PlayerContext ctx,
osdInfo info,
int  type,
enum OSDTimeout  timeout 
)
private

Definition at line 8110 of file tv_play.cpp.

§ UpdateOSDSeekMessage()

void TV::UpdateOSDSeekMessage ( const PlayerContext ctx,
const QString &  mesg,
enum OSDTimeout  timeout 
)
private

§ UpdateOSDInput()

void TV::UpdateOSDInput ( const PlayerContext ctx,
QString  inputname = QString::null 
)
private

Definition at line 8159 of file tv_play.cpp.

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

§ UpdateOSDSignal()

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

Updates Signal portion of OSD...

Definition at line 8180 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

§ UpdateOSDTimeoutMessage()

void TV::UpdateOSDTimeoutMessage ( PlayerContext ctx)
private

Definition at line 8339 of file tv_play.cpp.

Referenced by customEvent(), and timerEvent().

§ UpdateOSDAskAllowDialog()

void TV::UpdateOSDAskAllowDialog ( PlayerContext )
private

§ SetUpdateOSDPosition()

void TV::SetUpdateOSDPosition ( bool  set_it)
private

§ SubtitleZoomHandleAction()

bool TV::SubtitleZoomHandleAction ( PlayerContext ctx,
const QStringList &  actions 
)
private

Definition at line 4470 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ ChangeSubtitleZoom()

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

Definition at line 8982 of file tv_play.cpp.

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

§ SubtitleDelayHandleAction()

bool TV::SubtitleDelayHandleAction ( PlayerContext ctx,
const QStringList &  actions 
)
private

Definition at line 4496 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ ChangeSubtitleDelay()

void TV::ChangeSubtitleDelay ( PlayerContext ctx,
int  dir 
)
private

Definition at line 9016 of file tv_play.cpp.

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

§ CreatePBP()

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

Setup Picture by Picture.

right side will be the current video.

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

Definition at line 5668 of file tv_play.cpp.

Referenced by HandleJumpToProgramAction(), and PxPCreateView().

§ CreatePIP()

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

create PIP.

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

Definition at line 5754 of file tv_play.cpp.

Referenced by HandleJumpToProgramAction(), and PxPCreateView().

§ ResizePIPWindow()

bool TV::ResizePIPWindow ( PlayerContext ctx)
private

resize PIP Window.

done when changing channels or swapping PIP

Definition at line 6117 of file tv_play.cpp.

Referenced by PIPAddPlayer().

§ IsPBPSupported()

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

§ IsPIPSupported()

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

Definition at line 6167 of file tv_play.cpp.

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

§ PxPToggleView()

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

start/stop PIP/PBP

Definition at line 5934 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

§ PxPCreateView()

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

start PIP/PBP

Definition at line 5950 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent(), and PxPToggleView().

§ PxPTeardownView()

void TV::PxPTeardownView ( PlayerContext actx)
private

stop PIP/PBP

Definition at line 5994 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and PxPToggleView().

§ PxPToggleType()

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

Change PIP View from PIP to PBP and visa versa.

Definition at line 6030 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

§ PxPSwap()

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

Definition at line 6317 of file tv_play.cpp.

Referenced by HandlePxPTimerEvent().

§ PIPAddPlayer()

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

Maps Player of software scaled PIP to the main player.

Definition at line 5870 of file tv_play.cpp.

Referenced by StartPlayer(), and SwitchInputs().

§ PIPRemovePlayer()

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

Unmaps Player of software scaled PIP from the main player.

Definition at line 5916 of file tv_play.cpp.

Referenced by SwitchInputs(), and TeardownPlayer().

§ PBPRestartMainPlayer()

void TV::PBPRestartMainPlayer ( PlayerContext mctx)
private

tear down remaining PBP video and restore fullscreen display

Definition at line 6210 of file tv_play.cpp.

Referenced by TeardownPlayer().

§ SetActive()

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

§ ToggleAspectOverride()

void TV::ToggleAspectOverride ( PlayerContext ctx,
AspectOverrideMode  aspectMode = kAspect_Toggle 
)
private

Definition at line 9269 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ ToggleAdjustFill()

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

Definition at line 9284 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ DoToggleStudioLevels()

void TV::DoToggleStudioLevels ( const PlayerContext ctx)
private

Definition at line 10053 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ DoToggleNightMode()

void TV::DoToggleNightMode ( const PlayerContext ctx)
private

Definition at line 10060 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ DoTogglePictureAttribute()

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

Definition at line 10067 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ DoChangePictureAttribute()

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

Definition at line 10117 of file tv_play.cpp.

Referenced by customEvent(), and PictureAttributeHandleAction().

§ PictureAttributeHandleAction()

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

Definition at line 4395 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ NextPictureAdjustType()

PictureAttribute TV::NextPictureAdjustType ( PictureAdjustType  type,
MythPlayer mp,
PictureAttribute  attr 
)
staticprivate

Definition at line 10022 of file tv_play.cpp.

Referenced by DoTogglePictureAttribute().

§ HandleDeinterlacer()

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

Definition at line 12600 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ ITVRestart()

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

Restart the MHEG/MHP engine.

Definition at line 12965 of file tv_play.cpp.

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

§ EnableVisualisation()

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

Definition at line 4944 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ SetManualZoom()

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

Definition at line 12652 of file tv_play.cpp.

Referenced by ManualZoomHandleAction(), and OSDDialogEvent().

§ ManualZoomHandleAction()

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

Definition at line 4281 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ StartChannelEditMode()

void TV::StartChannelEditMode ( PlayerContext ctx)
private

Starts channel editing mode.

Definition at line 10364 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ HandleOSDChannelEdit()

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

Definition at line 10407 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ ChannelEditAutoFill() [1/2]

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

Automatically fills in as much information as possible.

Definition at line 10443 of file tv_play.cpp.

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

§ ChannelEditAutoFill() [2/2]

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

§ ChannelEditXDSFill()

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

Definition at line 10490 of file tv_play.cpp.

Referenced by ChannelEditAutoFill().

§ ChannelEditDDFill()

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

Definition at line 10526 of file tv_play.cpp.

Referenced by ChannelEditAutoFill().

§ GetDataDirect()

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

Definition at line 10586 of file tv_play.cpp.

Referenced by ChannelEditDDFill().

§ LoadDDMap()

bool TV::LoadDDMap ( uint  sourceid)
private

Definition at line 10674 of file tv_play.cpp.

Referenced by RunLoadDDMap().

§ RunLoadDDMap()

void TV::RunLoadDDMap ( uint  sourceid)
private

Definition at line 10649 of file tv_play.cpp.

§ DialogIsVisible()

bool TV::DialogIsVisible ( PlayerContext ctx,
const QString &  dialog 
)
private

§ HandleOSDInfo()

void TV::HandleOSDInfo ( PlayerContext ctx,
QString  action 
)
private

Definition at line 11093 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ ShowNoRecorderDialog()

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

Definition at line 12853 of file tv_play.cpp.

Referenced by ChangeChannel(), and RequestNextRecorder().

§ ShowOSDAskAllow()

void TV::ShowOSDAskAllow ( PlayerContext ctx)
private

Definition at line 1882 of file tv_play.cpp.

Referenced by AskAllowRecording().

§ HandleOSDAskAllow()

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

Definition at line 2118 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ AskAllowRecording()

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

Definition at line 1836 of file tv_play.cpp.

Referenced by customEvent().

§ ShowOSDCutpoint()

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

Definition at line 10200 of file tv_play.cpp.

Referenced by ProcessKeypressOrGesture().

§ HandleOSDCutpoint()

bool TV::HandleOSDCutpoint ( PlayerContext ctx,
QString  action 
)
private

Definition at line 10258 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ StartProgramEditMode()

void TV::StartProgramEditMode ( PlayerContext ctx)
private

Starts Program Cut Map Editing mode.

Definition at line 10283 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and ToggleHandleAction().

§ ShowOSDAlreadyEditing()

void TV::ShowOSDAlreadyEditing ( PlayerContext ctx)
private

Definition at line 10301 of file tv_play.cpp.

Referenced by StartProgramEditMode().

§ HandleOSDAlreadyEditing()

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

Definition at line 10322 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ ShowOSDSleep()

void TV::ShowOSDSleep ( void  )
private

Definition at line 9144 of file tv_play.cpp.

Referenced by timerEvent().

§ HandleOSDSleep()

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

Definition at line 9169 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ SleepDialogTimeout()

void TV::SleepDialogTimeout ( void  )
private

Definition at line 9190 of file tv_play.cpp.

Referenced by timerEvent().

§ ShowOSDIdle()

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

Referenced by timerEvent().

§ HandleOSDIdle()

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

Definition at line 9232 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ IdleDialogTimeout()

void TV::IdleDialogTimeout ( void  )
private

Definition at line 9255 of file tv_play.cpp.

Referenced by timerEvent().

§ ShowOSDStopWatchingRecording()

void TV::ShowOSDStopWatchingRecording ( PlayerContext ctx)
private

Definition at line 13139 of file tv_play.cpp.

Referenced by ActiveHandleAction().

§ ShowOSDPromptDeleteRecording()

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

§ HandleOSDVideoExit()

bool TV::HandleOSDVideoExit ( PlayerContext ctx,
QString  action 
)
private

Definition at line 13318 of file tv_play.cpp.

Referenced by OSDDialogEvent().

§ ShowOSDMenu()

void TV::ShowOSDMenu ( const PlayerContext ctx,
bool  isCompact = false 
)
private

Definition at line 12456 of file tv_play.cpp.

Referenced by ActiveHandleAction(), and ToggleHandleAction().

§ FillOSDMenuJumpRec()

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

Definition at line 12479 of file tv_play.cpp.

Referenced by OSDDialogEvent(), and timerEvent().

§ PlaybackMenuShow()

void TV::PlaybackMenuShow ( const MenuBase menu,
const QDomNode &  node,
const QDomNode &  selected 
)
private

Definition at line 12374 of file tv_play.cpp.

Referenced by customEvent(), ShowOSDCutpoint(), and ShowOSDMenu().

§ CutlistMenuShow()

void TV::CutlistMenuShow ( const MenuBase menu,
const QDomNode &  node,
const QDomNode &  selected 
)
private

§ MenuItemDisplay()

bool TV::MenuItemDisplay ( const MenuItemContext c)
privatevirtual

Implements MenuItemDisplayer.

Definition at line 11363 of file tv_play.cpp.

§ MenuItemDisplayPlayback()

bool TV::MenuItemDisplayPlayback ( const MenuItemContext c)
private

Definition at line 11528 of file tv_play.cpp.

Referenced by MenuItemDisplay().

§ MenuItemDisplayCutlist()

bool TV::MenuItemDisplayCutlist ( const MenuItemContext c)
private

Definition at line 11378 of file tv_play.cpp.

Referenced by MenuItemDisplay().

§ PlaybackMenuInit()

void TV::PlaybackMenuInit ( const MenuBase menu)
private

Definition at line 12216 of file tv_play.cpp.

Referenced by PlaybackMenuShow().

§ PlaybackMenuDeinit()

void TV::PlaybackMenuDeinit ( const MenuBase menu)
private

Definition at line 12366 of file tv_play.cpp.

Referenced by PlaybackMenuShow().

§ MenuStrings()

void TV::MenuStrings ( void  ) const
private

Definition at line 12410 of file tv_play.cpp.

§ MenuLazyInit()

void TV::MenuLazyInit ( void *  field)
private

Definition at line 12207 of file tv_play.cpp.

Referenced by MenuItemDisplayPlayback().

§ UpdateLCD()

void TV::UpdateLCD ( void  )
private

Definition at line 8399 of file tv_play.cpp.

Referenced by HandleStateChange(), and UnpauseLiveTV().

§ ShowLCDChannelInfo()

void TV::ShowLCDChannelInfo ( const PlayerContext ctx)
private

Definition at line 8408 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().

§ ShowLCDDVDInfo()

void TV::ShowLCDDVDInfo ( const PlayerContext ctx)
private

Definition at line 8445 of file tv_play.cpp.

Referenced by HandleLCDTimerEvent().

§ GetLastRecorderNum()

int TV::GetLastRecorderNum ( int  player_idx) const
private

Definition at line 1763 of file tv_play.cpp.

§ GetValidRecorderList() [1/3]

static QStringList TV::GetValidRecorderList ( uint  chanid)
staticprivate

§ GetValidRecorderList() [2/3]

static QStringList TV::GetValidRecorderList ( const QString &  channum)
staticprivate

§ GetValidRecorderList() [3/3]

TV::GetValidRecorderList ( uint  ,
const QString &   
)
staticprivate

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

Parameters
chanidChannel ID of channel we are querying recorders for.
channumChannel "number" we are querying recorders for.
Returns
List of inputid's for recorders with channel.

§ RemoveRecording()

TVState TV::RemoveRecording ( TVState  state)
staticprivate

Definition at line 2209 of file tv_play.cpp.

§ RestoreScreenSaver()

void TV::RestoreScreenSaver ( const PlayerContext ctx)
private

Definition at line 13462 of file tv_play.cpp.

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

§ find_player_index()

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

§ GetLiveTVIndex()

QString TV::GetLiveTVIndex ( const PlayerContext ctx) const
private

Definition at line 13634 of file tv_play.cpp.

Referenced by ToggleOSD(), and UpdateOSDSeekMessage().

Friends And Related Function Documentation

§ PlaybackBox

friend class PlaybackBox
friend

Definition at line 292 of file tv_play.h.

§ GuideGrid

friend class GuideGrid
friend

Definition at line 293 of file tv_play.h.

§ ProgFinder

friend class ProgFinder
friend

Definition at line 294 of file tv_play.h.

§ ViewScheduled

friend class ViewScheduled
friend

Definition at line 295 of file tv_play.h.

§ ScheduleEditor

friend class ScheduleEditor
friend

Definition at line 296 of file tv_play.h.

§ TvPlayWindow

friend class TvPlayWindow
friend

Definition at line 297 of file tv_play.h.

Referenced by Init().

§ TVBrowseHelper

friend class TVBrowseHelper
friend

Definition at line 298 of file tv_play.h.

Referenced by InitFromDB().

§ DDLoader

friend class DDLoader
friend

Definition at line 299 of file tv_play.h.

Member Data Documentation

§ lastProgramStringList

QStringList TV::lastProgramStringList = QStringList()
staticprotected

stores last program info.

maintains info so long as mythfrontend is active

Definition at line 349 of file tv_play.h.

Referenced by timerEvent().

§ RunPlaybackBoxPtr

EMBEDRETURNVOID TV::RunPlaybackBoxPtr = NULL
staticprotected

function pointer for RunPlaybackBox in playbackbox.cpp

Definition at line 350 of file tv_play.h.

Referenced by DoEditSchedule(), and HandleJumpToProgramAction().

§ RunViewScheduledPtr

EMBEDRETURNVOID TV::RunViewScheduledPtr = NULL
staticprotected

function pointer for RunViewScheduled in viewscheduled.cpp

Definition at line 351 of file tv_play.h.

Referenced by DoEditSchedule().

§ RunProgramGuidePtr

EMBEDRETURNVOIDEPG TV::RunProgramGuidePtr = NULL
staticprotected

function pointer for RunProgramGuide in guidegrid.cpp

Definition at line 352 of file tv_play.h.

Referenced by DoEditSchedule().

§ RunProgramFinderPtr

EMBEDRETURNVOIDFINDER TV::RunProgramFinderPtr = NULL
staticprotected

function pointer for RunProgramFinder in progfind.cpp

Definition at line 353 of file tv_play.h.

Referenced by DoEditSchedule().

§ RunScheduleEditorPtr

EMBEDRETURNVOIDSCHEDIT TV::RunScheduleEditorPtr = NULL
staticprotected

function pointer for RunScheduleEditor in scheduleeditor.cpp

Definition at line 354 of file tv_play.h.

Referenced by DoEditSchedule().

§ gTVLock

QMutex * TV::gTVLock = new QMutex()
staticprivate

Definition at line 361 of file tv_play.h.

Referenced by IsPaused(), and multi_lock().

§ gTV

TV * TV::gTV = NULL
staticprivate

Definition at line 362 of file tv_play.h.

Referenced by IsPaused(), and multi_lock().

§ baseFilters

QString TV::baseFilters
private

Definition at line 783 of file tv_play.h.

Referenced by InitFromDB().

§ db_channel_format

QString TV::db_channel_format
private

Definition at line 784 of file tv_play.h.

Referenced by InitFromDB(), and ShowOSDAskAllow().

§ db_idle_timeout

uint TV::db_idle_timeout
private

Definition at line 785 of file tv_play.h.

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

§ db_playback_exit_prompt

int TV::db_playback_exit_prompt
private

Definition at line 786 of file tv_play.h.

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

§ db_autoexpire_default

uint TV::db_autoexpire_default
private

Definition at line 787 of file tv_play.h.

Referenced by InitFromDB(), and QuickRecord().

§ db_auto_set_watched

bool TV::db_auto_set_watched
private

Definition at line 788 of file tv_play.h.

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

§ db_end_of_rec_exit_prompt

bool TV::db_end_of_rec_exit_prompt
private

Definition at line 789 of file tv_play.h.

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

§ db_jump_prefer_osd

bool TV::db_jump_prefer_osd
private

Definition at line 790 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and InitFromDB().

§ db_use_gui_size_for_tv

bool TV::db_use_gui_size_for_tv
private

Definition at line 791 of file tv_play.h.

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

§ db_start_in_guide

bool TV::db_start_in_guide
private

Definition at line 792 of file tv_play.h.

§ db_clear_saved_position

bool TV::db_clear_saved_position
private

Definition at line 793 of file tv_play.h.

Referenced by InitFromDB(), and PrepareToExitPlayer().

§ db_toggle_bookmark

bool TV::db_toggle_bookmark
private

Definition at line 794 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and InitFromDB().

§ db_run_jobs_on_remote

bool TV::db_run_jobs_on_remote
private

Definition at line 795 of file tv_play.h.

Referenced by DoQueueTranscode(), and InitFromDB().

§ db_continue_embedded

bool TV::db_continue_embedded
private

Definition at line 796 of file tv_play.h.

Referenced by DoEditSchedule(), and InitFromDB().

§ db_use_fixed_size

bool TV::db_use_fixed_size
private

Definition at line 797 of file tv_play.h.

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

§ db_browse_always

bool TV::db_browse_always
private

Definition at line 798 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and InitFromDB().

§ db_browse_all_tuners

bool TV::db_browse_all_tuners
private

Definition at line 799 of file tv_play.h.

Referenced by InitFromDB().

§ db_use_channel_groups

bool TV::db_use_channel_groups
private

§ db_remember_last_channel_group

bool TV::db_remember_last_channel_group
private

Definition at line 801 of file tv_play.h.

Referenced by InitFromDB(), and UpdateChannelList().

§ db_channel_groups

ChannelGroupList TV::db_channel_groups
private

Definition at line 802 of file tv_play.h.

Referenced by InitFromDB(), and MenuItemDisplayPlayback().

§ autoCommercialSkip

CommSkipMode TV::autoCommercialSkip
private

Definition at line 804 of file tv_play.h.

§ tryUnflaggedSkip

bool TV::tryUnflaggedSkip
private

Definition at line 805 of file tv_play.h.

Referenced by InitFromDB().

§ smartForward

bool TV::smartForward
private

Definition at line 807 of file tv_play.h.

Referenced by InitFromDB(), and SeekHandleAction().

§ ff_rew_repos

float TV::ff_rew_repos
private

Definition at line 808 of file tv_play.h.

Referenced by InitFromDB(), and StopFFRew().

§ ff_rew_reverse

bool TV::ff_rew_reverse
private

Definition at line 809 of file tv_play.h.

Referenced by ChangeFFRew(), and InitFromDB().

§ jumped_back

bool TV::jumped_back
private

Used by PromptDeleteRecording.

Definition at line 810 of file tv_play.h.

§ ff_rew_speeds

vector<int> TV::ff_rew_speeds
private

§ vbimode

uint TV::vbimode
private

Definition at line 813 of file tv_play.h.

§ ctorTime

QTime TV::ctorTime
private

Definition at line 815 of file tv_play.h.

Referenced by StartPlayer(), and TV().

§ switchToInputId

uint TV::switchToInputId
private

Definition at line 816 of file tv_play.h.

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

§ initFromDBLock

QMutex TV::initFromDBLock
private

Definition at line 818 of file tv_play.h.

Referenced by Init(), and InitFromDB().

§ initFromDBDone

bool TV::initFromDBDone
private

Definition at line 819 of file tv_play.h.

Referenced by Init(), and InitFromDB().

§ initFromDBWait

QWaitCondition TV::initFromDBWait
private

Definition at line 820 of file tv_play.h.

Referenced by Init(), and InitFromDB().

§ wantsToQuit

bool TV::wantsToQuit
mutableprivate

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

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

§ stretchAdjustment

bool TV::stretchAdjustment
private

True if time stretch is turned on.

Definition at line 825 of file tv_play.h.

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

§ audiosyncAdjustment

bool TV::audiosyncAdjustment
private

True if audiosync is turned on.

Definition at line 826 of file tv_play.h.

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

§ subtitleZoomAdjustment

bool TV::subtitleZoomAdjustment
private

True if subtitle zoom is turned on.

Definition at line 827 of file tv_play.h.

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

§ subtitleDelayAdjustment

bool TV::subtitleDelayAdjustment
private

True if subtitle delay is turned on.

Definition at line 828 of file tv_play.h.

Referenced by ChangeSubtitleDelay(), HandleOSDClosed(), and SubtitleDelayHandleAction().

§ editmode

bool TV::editmode
private

§ zoomMode

bool TV::zoomMode
private

Definition at line 830 of file tv_play.h.

Referenced by ManualZoomHandleAction(), and SetManualZoom().

§ sigMonMode

bool TV::sigMonMode
private

Are we in signal monitoring mode?

Definition at line 831 of file tv_play.h.

Referenced by ActiveHandleAction().

§ endOfRecording

bool TV::endOfRecording
private

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

Definition at line 832 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().

§ requestDelete

bool TV::requestDelete
private

User wants last video deleted.

Definition at line 833 of file tv_play.h.

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

§ allowRerecord

bool TV::allowRerecord
private

User wants to rerecord the last video if deleted.

Definition at line 834 of file tv_play.h.

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

§ doSmartForward

bool TV::doSmartForward
private

Definition at line 835 of file tv_play.h.

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

§ queuedTranscode

bool TV::queuedTranscode
private

Definition at line 836 of file tv_play.h.

Referenced by DoQueueTranscode().

§ adjustingPicture

PictureAdjustType TV::adjustingPicture
private

Picture attribute type to modify.

Definition at line 838 of file tv_play.h.

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

§ adjustingPictureAttribute

PictureAttribute TV::adjustingPictureAttribute
private

Picture attribute to modify (on arrow left or right)

Definition at line 840 of file tv_play.h.

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

§ askAllowPrograms

QMap<QString,AskProgramInfo> TV::askAllowPrograms
private

Definition at line 843 of file tv_play.h.

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

§ askAllowLock

QMutex TV::askAllowLock
private

Definition at line 844 of file tv_play.h.

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

§ changePxP

MythDeque<QString> TV::changePxP
private

Definition at line 846 of file tv_play.h.

Referenced by HandlePxPTimerEvent(), and PxPHandleAction().

§ progListsLock

QMutex TV::progListsLock
private

Definition at line 847 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

§ progLists

QMap<QString,ProgramList> TV::progLists
private

Definition at line 848 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().

§ chanEditMapLock

QMutex TV::chanEditMapLock
mutableprivate

Lock for chanEditMap and ddMap.

Definition at line 850 of file tv_play.h.

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

§ chanEditMap

InfoMap TV::chanEditMap
private

Channel Editing initial map.

Definition at line 851 of file tv_play.h.

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

§ ddMap

DDKeyMap TV::ddMap
private

DataDirect channel map.

Definition at line 853 of file tv_play.h.

Referenced by GetDataDirect(), and LoadDDMap().

§ ddMapSourceId

uint TV::ddMapSourceId
private

DataDirect channel map sourceid.

Definition at line 854 of file tv_play.h.

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

§ ddMapLoader

DDLoader* TV::ddMapLoader
private

DataDirect map loader runnable.

Definition at line 855 of file tv_play.h.

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

§ sleep_times

vector<SleepTimerInfo> TV::sleep_times
private

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

Definition at line 859 of file tv_play.h.

Referenced by ToggleSleepTimer(), and TV().

§ sleep_index

uint TV::sleep_index
private

Index into sleep_times.

Definition at line 860 of file tv_play.h.

Referenced by Init(), and ToggleSleepTimer().

§ sleepTimerTimeout

uint TV::sleepTimerTimeout
private

Current sleep timeout in msec.

Definition at line 861 of file tv_play.h.

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

§ sleepTimerId

int TV::sleepTimerId
private

Timer for turning off playback.

Definition at line 862 of file tv_play.h.

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

§ sleepDialogTimerId

int TV::sleepDialogTimerId
private

Timer for sleep dialog.

Definition at line 863 of file tv_play.h.

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

§ idleTimerId

int TV::idleTimerId
private

Timer for turning off playback after idle period.

Definition at line 865 of file tv_play.h.

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

§ idleDialogTimerId

int TV::idleDialogTimerId
private

Timer for idle dialog.

Definition at line 866 of file tv_play.h.

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

§ keyRepeatTimer

MythTimer TV::keyRepeatTimer
private

Queue of unprocessed key presses.

Timeout timer for repeat key filtering

Definition at line 869 of file tv_play.h.

Referenced by DoSeek(), and TV().

§ ccInputMode

bool TV::ccInputMode
private

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

Definition at line 873 of file tv_play.h.

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

§ asInputMode

bool TV::asInputMode
private

Are we in Arbitrary seek input mode?

Definition at line 877 of file tv_play.h.

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

§ queuedInput

QString TV::queuedInput
private

Input key presses queued up so far...

Definition at line 881 of file tv_play.h.

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

§ queuedChanNum

QString TV::queuedChanNum
mutableprivate

§ queuedChanID

uint TV::queuedChanID
private

Queued ChanID (from EPG channel selector)

Definition at line 885 of file tv_play.h.

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

§ initialChanID

uint TV::initialChanID
private

Initial chanid override for Live TV.

Definition at line 887 of file tv_play.h.

Referenced by HandleStateChange(), and RequestNextRecorder().

§ screenPressRegionCount

const int TV::screenPressRegionCount = 12
staticprivate

screen area to keypress translation region is now 0..11 0 1 2 3 4 5 6 7 8 9 10 11

Definition at line 894 of file tv_play.h.

Referenced by ConvertScreenPressKeyMap().

§ screenPressKeyMapPlayback

QList<QKeyEvent> TV::screenPressKeyMapPlayback
private

Definition at line 895 of file tv_play.h.

Referenced by InitFromDB(), and TranslateGesture().

§ screenPressKeyMapLiveTV

QList<QKeyEvent> TV::screenPressKeyMapLiveTV
private

Definition at line 896 of file tv_play.h.

Referenced by InitFromDB(), and TranslateGesture().

§ lockTimer

QTime TV::lockTimer
private

Definition at line 899 of file tv_play.h.

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

§ lockTimerOn

bool TV::lockTimerOn
private

§ lastLockSeenTime

QDateTime TV::lastLockSeenTime
private

Definition at line 901 of file tv_play.h.

Referenced by HandleStateChange(), and UpdateOSDSignal().

§ browsehelper

TVBrowseHelper* TV::browsehelper
private

§ lastProgramLock

QMutex TV::lastProgramLock
mutableprivate

Definition at line 908 of file tv_play.h.

Referenced by GetLastProgram(), and SetLastProgram().

§ lastProgram

ProgramInfo* TV::lastProgram
private

last program played with this player

Definition at line 909 of file tv_play.h.

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

§ inPlaylist

bool TV::inPlaylist
private

§ underNetworkControl

bool TV::underNetworkControl
private

initial show started via by the network control interface

Definition at line 911 of file tv_play.h.

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

§ jumpToProgramPIPState

PIPState TV::jumpToProgramPIPState
private

Definition at line 914 of file tv_play.h.

Referenced by HandleJumpToProgramAction().

§ jumpToProgram

bool TV::jumpToProgram
private

§ player

vector<PlayerContext*> TV::player
private

§ playerActive

int TV::playerActive
private

Video Player to which events are sent to.

Definition at line 920 of file tv_play.h.

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

§ playerLock

QReadWriteLock TV::playerLock
mutableprivate

lock on player and playerActive changes

Definition at line 922 of file tv_play.h.

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

§ noHardwareDecoders

bool TV::noHardwareDecoders
private

Definition at line 924 of file tv_play.h.

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

§ switchToRec

RemoteEncoder* TV::switchToRec
private

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

Definition at line 928 of file tv_play.h.

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

§ osd_lctx

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

Definition at line 931 of file tv_play.h.

Referenced by GetOSDL(), and ReturnOSDLock().

§ lcdTitle

QString TV::lcdTitle
private

Definition at line 934 of file tv_play.h.

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

§ lcdSubtitle

QString TV::lcdSubtitle
private

Definition at line 935 of file tv_play.h.

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

§ lcdCallsign

QString TV::lcdCallsign
private

Definition at line 936 of file tv_play.h.

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

§ myWindow

TvPlayWindow* TV::myWindow
private

Our screen, if it exists.

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

Definition at line 939 of file tv_play.h.

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

§ player_bounds

QRect TV::player_bounds
private

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

Definition at line 941 of file tv_play.h.

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

§ saved_gui_bounds

QRect TV::saved_gui_bounds
private

Definition at line 943 of file tv_play.h.

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

§ weDisabledGUI

bool TV::weDisabledGUI
private

true if this instance disabled MythUI drawing.

Definition at line 945 of file tv_play.h.

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

§ disableDrawUnusedRects

bool TV::disableDrawUnusedRects
private

true if video chromakey and frame should not be drawn

Definition at line 947 of file tv_play.h.

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

§ isEmbedded

bool TV::isEmbedded
private

are we currently embedded

Definition at line 950 of file tv_play.h.

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

§ ignoreKeyPresses

bool TV::ignoreKeyPresses
private

should we ignore keypresses

Definition at line 951 of file tv_play.h.

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

§ saved_pause

vector<bool> TV::saved_pause
private

saved pause state before embedding

Definition at line 952 of file tv_play.h.

Referenced by customEvent(), and DoEditSchedule().

§ channelGroupLock

QMutex TV::channelGroupLock
mutableprivate

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

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

§ channelGroupId

volatile int TV::channelGroupId
private

§ channelGroupChannelList

ChannelInfoList TV::channelGroupChannelList
private

§ networkControlCommands

MythDeque<QString> TV::networkControlCommands
private

Definition at line 963 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

§ timerIdLock

QMutex TV::timerIdLock
mutableprivate

§ lcdTimerId

volatile int TV::lcdTimerId
private

Definition at line 969 of file tv_play.h.

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

§ lcdVolumeTimerId

volatile int TV::lcdVolumeTimerId
private

Definition at line 970 of file tv_play.h.

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

§ networkControlTimerId

volatile int TV::networkControlTimerId
private

Definition at line 971 of file tv_play.h.

Referenced by customEvent(), and timerEvent().

§ jumpMenuTimerId

volatile int TV::jumpMenuTimerId
private

Definition at line 972 of file tv_play.h.

Referenced by HandleJumpToProgramAction(), and timerEvent().

§ pipChangeTimerId

volatile int TV::pipChangeTimerId
private

Definition at line 973 of file tv_play.h.

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

§ switchToInputTimerId

volatile int TV::switchToInputTimerId
private

Definition at line 974 of file tv_play.h.

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

§ ccInputTimerId

volatile int TV::ccInputTimerId
private

Definition at line 975 of file tv_play.h.

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

§ asInputTimerId

volatile int TV::asInputTimerId
private

Definition at line 976 of file tv_play.h.

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

§ queueInputTimerId

volatile int TV::queueInputTimerId
private

§ browseTimerId

volatile int TV::browseTimerId
private

§ updateOSDPosTimerId

volatile int TV::updateOSDPosTimerId
private

Definition at line 979 of file tv_play.h.

Referenced by SetUpdateOSDPosition(), and timerEvent().

§ updateOSDDebugTimerId

volatile int TV::updateOSDDebugTimerId
private

Definition at line 980 of file tv_play.h.

Referenced by timerEvent(), and ToggleOSDDebug().

§ endOfPlaybackTimerId

volatile int TV::endOfPlaybackTimerId
private

Definition at line 981 of file tv_play.h.

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

§ embedCheckTimerId

volatile int TV::embedCheckTimerId
private

Definition at line 982 of file tv_play.h.

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

§ endOfRecPromptTimerId

volatile int TV::endOfRecPromptTimerId
private

Definition at line 983 of file tv_play.h.

Referenced by HandleStateChange(), and timerEvent().

§ videoExitDialogTimerId

volatile int TV::videoExitDialogTimerId
private

§ pseudoChangeChanTimerId

volatile int TV::pseudoChangeChanTimerId
private

Definition at line 985 of file tv_play.h.

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

§ speedChangeTimerId

volatile int TV::speedChangeTimerId
private

Definition at line 986 of file tv_play.h.

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

§ errorRecoveryTimerId

volatile int TV::errorRecoveryTimerId
private

Definition at line 987 of file tv_play.h.

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

§ exitPlayerTimerId

volatile int TV::exitPlayerTimerId
mutableprivate

§ saveLastPlayPosTimerId

volatile int TV::saveLastPlayPosTimerId
private

Definition at line 989 of file tv_play.h.

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

§ stateChangeTimerId

TimerContextMap TV::stateChangeTimerId
private

Definition at line 990 of file tv_play.h.

Referenced by ScheduleStateChange(), and timerEvent().

§ signalMonitorTimerId

TimerContextMap TV::signalMonitorTimerId
private

Definition at line 991 of file tv_play.h.

Referenced by timerEvent(), and UpdateOSDSignal().

§ m_tvmCtx

PlayerContext* TV::m_tvmCtx
private

§ m_tvmOsd

OSD* TV::m_tvmOsd
private

§ m_tvm_tracks

QStringList TV::m_tvm_tracks[kTrackTypeCount]
private

Definition at line 1001 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_curtrack

int TV::m_tvm_curtrack[kTrackTypeCount]
private

Definition at line 1002 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_avsync

bool TV::m_tvm_avsync
private

Definition at line 1005 of file tv_play.h.

Referenced by PlaybackMenuInit().

§ m_tvm_visual

bool TV::m_tvm_visual
private

Definition at line 1006 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_active

QString TV::m_tvm_active
private

Definition at line 1007 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_upmixing

bool TV::m_tvm_upmixing
private

Definition at line 1008 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_canupmix

bool TV::m_tvm_canupmix
private

Definition at line 1009 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_visualisers

QStringList TV::m_tvm_visualisers
private

Definition at line 1010 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_aspectoverride

AspectOverrideMode TV::m_tvm_aspectoverride
private

Definition at line 1013 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_adjustfill

AdjustFillMode TV::m_tvm_adjustfill
private

Definition at line 1014 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_fill_autodetect

bool TV::m_tvm_fill_autodetect
private

Definition at line 1015 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_sup

uint TV::m_tvm_sup
private

Definition at line 1016 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_studio_levels

bool TV::m_tvm_studio_levels
private

Definition at line 1017 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_stereoallowed

bool TV::m_tvm_stereoallowed
private

Definition at line 1018 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_stereomode

StereoscopicMode TV::m_tvm_stereomode
private

Definition at line 1019 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_scan_type

FrameScanType TV::m_tvm_scan_type
private

Definition at line 1020 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_scan_type_unlocked

FrameScanType TV::m_tvm_scan_type_unlocked
private

Definition at line 1021 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_scan_type_locked

bool TV::m_tvm_scan_type_locked
private

Definition at line 1022 of file tv_play.h.

Referenced by PlaybackMenuInit().

§ m_tvm_cur_mode

QString TV::m_tvm_cur_mode
private

Definition at line 1023 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_deinterlacers

QStringList TV::m_tvm_deinterlacers
private

Definition at line 1024 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_currentdeinterlacer

QString TV::m_tvm_currentdeinterlacer
private

Definition at line 1025 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_doublerate

bool TV::m_tvm_doublerate
private

Definition at line 1026 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_speedX100

int TV::m_tvm_speedX100
private

Definition at line 1029 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_state

TVState TV::m_tvm_state
private

Definition at line 1030 of file tv_play.h.

Referenced by PlaybackMenuInit().

§ m_tvm_isrecording

bool TV::m_tvm_isrecording
private

Definition at line 1031 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_isrecorded

bool TV::m_tvm_isrecorded
private

Definition at line 1032 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_isvideo

bool TV::m_tvm_isvideo
private

Definition at line 1033 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_curskip

CommSkipMode TV::m_tvm_curskip
private

Definition at line 1034 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_ispaused

bool TV::m_tvm_ispaused
private

Definition at line 1035 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_allowPIP

bool TV::m_tvm_allowPIP
private

Definition at line 1036 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_allowPBP

bool TV::m_tvm_allowPBP
private

Definition at line 1037 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_hasPIP

bool TV::m_tvm_hasPIP
private

Definition at line 1038 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_hasPBP

bool TV::m_tvm_hasPBP
private

Definition at line 1039 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_freerecordercount

int TV::m_tvm_freerecordercount
private

Definition at line 1040 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), MenuLazyInit(), and PlaybackMenuInit().

§ m_tvm_isdvd

bool TV::m_tvm_isdvd
private

Definition at line 1041 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_isbd

bool TV::m_tvm_isbd
private

Definition at line 1042 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_jump

bool TV::m_tvm_jump
private

Definition at line 1043 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_islivetv

bool TV::m_tvm_islivetv
private

Definition at line 1044 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_previouschan

bool TV::m_tvm_previouschan
private

Definition at line 1045 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_num_chapters

int TV::m_tvm_num_chapters
private

Definition at line 1048 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_current_chapter

int TV::m_tvm_current_chapter
private

Definition at line 1049 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_chapter_times

QList<long long> TV::m_tvm_chapter_times
private

Definition at line 1050 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_num_angles

int TV::m_tvm_num_angles
private

Definition at line 1051 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_current_angle

int TV::m_tvm_current_angle
private

Definition at line 1052 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_num_titles

int TV::m_tvm_num_titles
private

Definition at line 1053 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_current_title

int TV::m_tvm_current_title
private

Definition at line 1054 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_subs_capmode

uint TV::m_tvm_subs_capmode
private

Definition at line 1057 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_subs_havetext

bool TV::m_tvm_subs_havetext
private

Definition at line 1058 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_subs_forcedon

bool TV::m_tvm_subs_forcedon
private

Definition at line 1059 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_subs_enabled

bool TV::m_tvm_subs_enabled
private

Definition at line 1060 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_subs_have_subs

bool TV::m_tvm_subs_have_subs
private

Definition at line 1061 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_is_on

bool TV::m_tvm_is_on
private

Definition at line 1063 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_transcoding

bool TV::m_tvm_transcoding
private

Definition at line 1064 of file tv_play.h.

Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().

§ m_tvm_jumprec_back_hack

QVariant TV::m_tvm_jumprec_back_hack
private

Definition at line 1066 of file tv_play.h.

Referenced by FillOSDMenuJumpRec(), and MenuItemDisplayPlayback().

§ m_playbackMenu

MenuBase TV::m_playbackMenu
private

Definition at line 1069 of file tv_play.h.

Referenced by MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().

§ m_playbackCompactMenu

MenuBase TV::m_playbackCompactMenu
private

Definition at line 1070 of file tv_play.h.

Referenced by MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().

§ m_cutlistMenu

MenuBase TV::m_cutlistMenu
private

Definition at line 1071 of file tv_play.h.

Referenced by MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().

§ m_cutlistCompactMenu

MenuBase TV::m_cutlistCompactMenu
private

Definition at line 1072 of file tv_play.h.

Referenced by MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().

§ kInitFFRWSpeed

const int TV::kInitFFRWSpeed = 0
static

1x, default to normal speed

Definition at line 1076 of file tv_play.h.

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

§ kInputKeysMax

const uint TV::kInputKeysMax = 6
static

When to start discarding early keys.

Definition at line 1077 of file tv_play.h.

Referenced by AddKeyToInputQueue().

§ kNextSource

const uint TV::kNextSource = 1
static

Definition at line 1078 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

§ kPreviousSource

const uint TV::kPreviousSource = 2
static

Definition at line 1079 of file tv_play.h.

Referenced by ActivePostQHandleAction(), and SwitchSource().

§ kMaxPIPCount

const uint TV::kMaxPIPCount = 4
static

Definition at line 1080 of file tv_play.h.

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

§ kMaxPBPCount

const uint TV::kMaxPBPCount = 2
static

Timeout for entry modes in msec.

Definition at line 1081 of file tv_play.h.

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

§ kInputModeTimeout

const uint TV::kInputModeTimeout = 5000
static

Definition at line 1084 of file tv_play.h.

Referenced by ActiveHandleAction(), and HandleTrackAction().

§ kLCDTimeout

const uint TV::kLCDTimeout = 1000
static

Timeout for updating LCD info in msec.

Definition at line 1086 of file tv_play.h.

Referenced by HandleLCDTimerEvent().

§ kBrowseTimeout

const uint TV::kBrowseTimeout = 30000
static

Timeout for browse mode exit in msec.

Definition at line 1088 of file tv_play.h.

Referenced by TVBrowseHelper::BrowseDispInfo().

§ kKeyRepeatTimeout

const uint TV::kKeyRepeatTimeout = 300
static

Seek key repeat timeout in msec.

Definition at line 1090 of file tv_play.h.

Referenced by DoSeek().

§ kPrevChanTimeout

const uint TV::kPrevChanTimeout = 750
static

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

Definition at line 1092 of file tv_play.h.

§ kSleepTimerDialogTimeout

const uint TV::kSleepTimerDialogTimeout = 45000
static

How long to display sleep timer dialog in msec.

Definition at line 1094 of file tv_play.h.

Referenced by ShowOSDSleep().

§ kIdleTimerDialogTimeout

const uint TV::kIdleTimerDialogTimeout = 45000
static

How long to display idle timer dialog in seconds.

Definition at line 1096 of file tv_play.h.

Referenced by ShowOSDIdle().

§ kVideoExitDialogTimeout

const uint TV::kVideoExitDialogTimeout = 120000
static

How long to display idle timer dialog in msec.

Definition at line 1098 of file tv_play.h.

Referenced by ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().

§ kEndOfPlaybackCheckFrequency

const uint TV::kEndOfPlaybackCheckFrequency = 250
static

Definition at line 1100 of file tv_play.h.

Referenced by HandleEndOfPlaybackTimerEvent().

§ kEmbedCheckFrequency

const uint TV::kEmbedCheckFrequency = 250
static

Definition at line 1101 of file tv_play.h.

Referenced by StartEmbedding().

§ kSpeedChangeCheckFrequency

const uint TV::kSpeedChangeCheckFrequency = 250
static

Definition at line 1102 of file tv_play.h.

Referenced by HandleSpeedChangeTimerEvent(), and Init().

§ kErrorRecoveryCheckFrequency

const uint TV::kErrorRecoveryCheckFrequency = 250
static

Definition at line 1103 of file tv_play.h.

Referenced by Init(), and timerEvent().

§ kEndOfRecPromptCheckFrequency

const uint TV::kEndOfRecPromptCheckFrequency = 250
static

Definition at line 1104 of file tv_play.h.

Referenced by HandleStateChange().

§ kEndOfPlaybackFirstCheckTimer

const uint TV::kEndOfPlaybackFirstCheckTimer = 60000
static

Definition at line 1105 of file tv_play.h.

Referenced by HandleStateChange().

§ kSaveLastPlayPosTimeout

const uint TV::kSaveLastPlayPosTimeout = 30000
static

Definition at line 1106 of file tv_play.h.

Referenced by HandleSaveLastPlayPosEvent(), and Init().


The documentation for this class was generated from the following files: