MythTV
master
|
#include <tv_play.h>
Classes | |
class | SleepTimerInfo |
Public Slots | |
bool | event (QEvent *Event) override |
This handles all standard events. More... | |
bool | eventFilter (QObject *Object, QEvent *Event) override |
Prevent events from being sent to another object. More... | |
void | timerEvent (QTimerEvent *Event) override |
void | StopPlayback () |
void | HandleOSDClosed (int OSDType) |
![]() | |
void | OverlayStateChanged (MythOverlayState OverlayState) |
void | AudioPlayerStateChanged (const MythAudioPlayerState &AudioPlayerState) |
void | AudioStateChanged (const MythAudioState &AudioState) |
void | CaptionsStateChanged (MythCaptionsState CaptionsState) |
void | VideoBoundsStateChanged (const MythVideoBoundsState &VideoBoundsState) |
void | VideoColourStateChanged (const MythVideoColourState &ColourState) |
void | VisualiserStateChanged (const MythVisualiserState &VisualiserState) |
void | EditorStateChanged (const MythEditorState &EditorState) |
Signals | |
void | PlaybackExiting (TV *Player) |
![]() | |
void | InitialisePlayerState () |
void | UpdateBookmark (bool Clear=false) |
void | UpdateLastPlayPosition (uint64_t frame) |
void | IsOSDVisible (bool &Visible) |
void | ChangeOSDPositionUpdates (bool Enable) |
void | ChangeOSDDebug () |
void | ChangeOSDText (const QString &Window, const InfoMap &Map, OSDTimeout Timeout) |
void | ChangeOSDDialog (const MythOSDDialogData &Data) |
void | ChangeOSDMessage (const QString &Message) |
void | DialogQuit () |
void | HideAll (bool KeepSubs=true, MythScreenType *Except=nullptr, bool DropNotification=false) |
void | ReinitAudio () |
void | ResetAudio () |
void | PauseAudioUntilReady () |
void | ChangeMuteState (bool CycleChannels=false) |
void | ChangeVolume (bool Direction, int Volume) |
void | ChangeUpmix (bool Enable, bool Toggle=false) |
void | ChangeAudioOffset (std::chrono::milliseconds Delta, std::chrono::milliseconds Value=-9999ms) |
void | SetTrack (uint Type, uint TrackNo) |
void | ChangeTrack (uint Type, int Direction) |
void | ChangeAllowForcedSubtitles (bool Allow) |
void | ToggleCaptions () |
void | ToggleCaptionsByType (uint Type) |
void | SetCaptionsEnabled (bool Enable, bool UpdateOSD=true) |
void | DisableCaptions (uint Mode, bool UpdateOSD=true) |
void | EnableCaptions (uint Mode, bool UpdateOSD=true) |
void | ChangeCaptionTrack (int Direction) |
void | ResetCaptions () |
void | EnableTeletext (int Page=0x100) |
void | ResetTeletext () |
void | SetTeletextPage (uint Page) |
void | HandleTeletextAction (const QString &Action, bool &Handled) |
void | RestartITV (uint Chanid, uint Cardid, bool IsLiveTV) |
void | HandleITVAction (const QString &Action, bool &Handled) |
void | AdjustSubtitleZoom (int Delta) |
void | AdjustSubtitleDelay (std::chrono::milliseconds Delta) |
void | RequestEmbedding (bool Embed, const QRect &Rect={}, const QStringList &Data={}) |
void | EmbedPlayback (bool Embed, const QRect &Rect={}) |
void | ResizeScreenForVideo (QSize Size={}) |
void | WindowResized (const QSize &Size) |
void | ChangeStereoOverride (StereoscopicMode Mode) |
void | ChangePictureAttribute (PictureAttribute Attribute, bool Direction, int Value) |
void | ToggleDetectLetterBox () |
void | ChangeAdjustFill (AdjustFillMode FillMode=kAdjustFill_Toggle) |
void | ChangeAspectOverride (AspectOverrideMode AspectMode=kAspect_Toggle) |
void | ChangeZoom (ZoomDirection Zoom) |
void | ToggleMoveBottomLine () |
void | SaveBottomLine () |
void | EnableVisualiser (bool Enable, bool Toggle=false, const QString &Name=QString()) |
void | GoToMenu (const QString &Menu) |
void | GoToDVDProgram (bool Direction) |
void | EnableEdit () |
void | DisableEdit (int HowToSave) |
void | RefreshEditorState (bool CheckSaved=false) |
Public Member Functions | |
void | ReloadKeys () |
bool | IsSameProgram (const ProgramInfo *ProgInfo) const |
![]() | |
TVPlaybackState ()=default | |
![]() | |
virtual | ~MythTVMenuItemDisplayer ()=default |
![]() | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Static Public Member Functions | |
static bool | IsTVRunning () |
Check whether media is currently playing. More... | |
static bool | StartTV (ProgramInfo *TVRec, uint Flags, const ChannelInfoList &Selection=ChannelInfoList()) |
Start playback of media. More... | |
static bool | IsPaused () |
Check whether playback is paused. More... | |
static void | InitKeys () |
static void | SetFuncPtr (const char *Name, void *Pointer) |
Import pointers to functions used to embed the TV window into other containers e.g. More... | |
static int | ConfiguredTunerCards () |
If any cards are configured, return the number. More... | |
static bool | IsTunable (uint ChanId) |
![]() | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Static Public Attributes | |
static const int | kInitFFRWSpeed = 0 |
static const uint | kInputKeysMax = 6 |
static const uint | kNextSource = 1 |
static const uint | kPreviousSource = 2 |
static const std::chrono::milliseconds | kInputModeTimeout = 5s |
static const std::chrono::milliseconds | kLCDTimeout = 1s |
static const std::chrono::milliseconds | kBrowseTimeout = 30s |
static const std::chrono::milliseconds | kKeyRepeatTimeout = 300ms |
static const std::chrono::milliseconds | kPrevChanTimeout = 750ms |
static const std::chrono::milliseconds | kSleepTimerDialogTimeout = 45s |
static const std::chrono::milliseconds | kIdleTimerDialogTimeout = 45s |
static const std::chrono::milliseconds | kVideoExitDialogTimeout = 2min |
static const std::chrono::milliseconds | kEndOfPlaybackCheckFrequency = 250ms |
static const std::chrono::milliseconds | kEmbedCheckFrequency = 250ms |
static const std::chrono::milliseconds | kSpeedChangeCheckFrequency = 250ms |
static const std::chrono::milliseconds | kErrorRecoveryCheckFrequency = 250ms |
static const std::chrono::milliseconds | kEndOfRecPromptCheckFrequency = 250ms |
static const std::chrono::milliseconds | kSaveLastPlayPosTimeout = 5s |
static const std::chrono::milliseconds | kEndOfPlaybackFirstCheckTimer = 5s |
Protected Slots | |
void | onApplicationStateChange (Qt::ApplicationState State) |
void | customEvent (QEvent *Event) override |
This handles all custom events. More... | |
void | VolumeChange (bool Up, int NewVolume=-1) |
Private Types | |
enum | BookmarkAction { kBookmarkAlways, kBookmarkNever, kBookmarkAuto } |
enum | ArbSeekWhence { ARBSEEK_SET = 0, ARBSEEK_REWIND, ARBSEEK_FORWARD, ARBSEEK_END } |
Private Slots | |
void | Embed (bool Embed, QRect Rect={}, const QStringList &Data={}) |
Private Member Functions | |
TV (MythMainWindow *MainWindow) | |
~TV () override | |
PlayerContext * | GetPlayerContext () |
Return a pointer to TV::m_playerContext. More... | |
bool | CreatePlayer (TVState State, bool Muted=false) |
bool | StartPlaying (std::chrono::milliseconds MaxWait=-1ms) |
bool | Init () |
Performs instance initialization, returns true on success. More... | |
void | InitFromDB () |
bool | LiveTV (bool ShowDialogs, const ChannelInfoList &Selection) |
Starts LiveTV. More... | |
int | Playback (const ProgramInfo &ProgInfo) |
void | PlaybackLoop () |
The main playback loop. More... | |
bool | ProcessKeypressOrGesture (QEvent *Event) |
bool | TranslateKeyPressOrGesture (const QString &Context, QEvent *Event, QStringList &Actions, bool IsLiveTV, bool AllowJumps=true) |
bool | TranslateGesture (const QString &Context, MythGestureEvent *Event, QStringList &Actions, bool IsLiveTV) |
void | ProcessNetworkControlCommand (const QString &Command) |
bool | HandleTrackAction (const QString &Action) |
bool | ActiveHandleAction (const QStringList &Actions, bool IsDVD, bool IsDVDStillFrame) |
bool | BrowseHandleAction (const QStringList &Actions) |
void | OSDDialogEvent (int Result, const QString &Text, QString Action) |
bool | ToggleHandleAction (const QStringList &Actions, bool IsDVD) |
bool | FFRewHandleAction (const QStringList &Actions) |
bool | ActivePostQHandleAction (const QStringList &Actions) |
bool | HandleJumpToProgramAction (const QStringList &Actions) |
bool | SeekHandleAction (const QStringList &Actions, bool IsDVD) |
bool | TimeStretchHandleAction (const QStringList &Actions) |
bool | DiscMenuHandleAction (const QStringList &Actions) const |
int | StartTimer (std::chrono::milliseconds Interval, int Line) |
void | KillTimer (int Id) |
void | SetSpeedChangeTimer (std::chrono::milliseconds When, int Line) |
void | HandleEndOfPlaybackTimerEvent () |
void | HandleEndOfRecordingExitPromptTimerEvent () |
void | HandleVideoExitDialogTimerEvent () |
void | HandlePseudoLiveTVTimerEvent () |
void | HandleSpeedChangeTimerEvent () |
void | ToggleSleepTimer () |
void | ToggleSleepTimer (const QString &Time) |
bool | HandleLCDTimerEvent () |
void | HandleLCDVolumeTimerEvent () |
void | HandleSaveLastPlayPosEvent () |
void | EditSchedule (int EditType=kScheduleProgramGuide) |
bool | IsTunablePriv (uint ChanId) |
void | ChangeChannel (const ChannelInfoList &Options) |
void | DoEditSchedule (int EditType=kScheduleProgramGuide) |
QString | GetRecordingGroup () const |
void | UpdateChannelList (int GroupID) |
update the channel list with channels from the selected channel group More... | |
OSD * | GetOSDL () |
void | ReturnOSDLock () const |
void | GetPlayerWriteLock () const |
void | GetPlayerReadLock () const |
void | ReturnPlayerLock () const |
void | ToggleAutoExpire () |
void | QuickRecord () |
TVState | GetState () const |
void | HandleStateChange () |
Changes the state to the state on the front of the state change queue. More... | |
void | GetStatus () |
void | ForceNextStateNone () |
void | ScheduleStateChange () |
void | ScheduleInputChange () |
void | SetErrored () |
void | SetInPlayList (bool InPlayList) |
void | setUnderNetworkControl (bool setting) |
void | PrepToSwitchToRecordedProgram (const ProgramInfo &ProgInfo) |
void | PrepareToExitPlayer (int Line) |
void | SetExitPlayer (bool SetIt, bool WantsTo) |
bool | RequestNextRecorder (bool ShowDialogs, const ChannelInfoList &Selection=ChannelInfoList()) |
void | DeleteRecorder () |
bool | StartRecorder (std::chrono::milliseconds MaxWait=-1ms) |
Starts recorder, must be called before StartPlayer(). More... | |
void | StopStuff (bool StopRingBuffer, bool StopPlayer, bool StopRecorder) |
Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders. More... | |
bool | StartPlayer (TVState desiredState) |
bool | IsSwitchingCards () const |
Returns true if we are currently in the process of switching recorders. More... | |
bool | GetAllowRerecord () const |
Returns true if the user told Mythtv to allow re-recording of the show. More... | |
bool | GetEndOfRecording () 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 () const |
This is set if the user asked MythTV to jump to the previous recording in the playlist. More... | |
bool | IsDeleteAllowed () |
void | ToggleChannelFavorite (const QString &ChangroupName) const |
void | ChangeChannel (ChannelChangeDirection Direction) |
void | ChangeChannel (uint Chanid, const QString &Channum) |
void | ShowPreviousChannel () |
void | PopPreviousChannel (bool ImmediateChange) |
void | AddKeyToInputQueue (char Key) |
void | ClearInputQueues (bool Hideosd) |
Clear channel key buffer of input keys. More... | |
bool | CommitQueuedInput () |
bool | ProcessSmartChannel (QString &InputStr) |
bool | HasQueuedInput () const |
bool | HasQueuedChannel () const |
QString | GetQueuedInput () const |
int | GetQueuedInputAsInt (bool *OK=nullptr, int Base=10) const |
QString | GetQueuedChanNum () const |
uint | GetQueuedChanID () const |
void | SwitchSource (uint Direction) |
void | SwitchInputs (uint ChanID=0, QString ChanNum="", uint InputID=0) |
void | PauseLiveTV () |
Used in ChangeChannel() to temporarily stop video output. More... | |
void | UnpauseLiveTV (bool Quietly=false) |
Used in ChangeChannel() to restart video output. More... | |
void | DoPlay () |
float | DoTogglePauseStart () |
void | DoTogglePauseFinish (float Time, bool ShowOSD) |
void | DoTogglePause (bool ShowOSD) |
bool | DoSetPauseState (bool Pause) |
bool | ContextIsPaused (const char *File, int Location) |
void | SetLastProgram (const ProgramInfo *ProgInfo) |
ProgramInfo * | GetLastProgram () const |
void | DoSeek (float Time, const QString &Msg, bool TimeIsOffset, bool HonorCutlist) |
void | DoSeek (std::chrono::seconds TimeInSec, const QString &Msg, bool TimeIsOffset, bool HonorCutlist) |
bool | DoPlayerSeek (float Time) |
bool | DoPlayerSeekToFrame (uint64_t FrameNum) |
void | DoSeekAbsolute (long long Seconds, bool HonorCutlist) |
void | DoArbSeek (ArbSeekWhence Whence, bool HonorCutlist) |
void | DoJumpFFWD () |
void | DoJumpRWND () |
void | DoSeekFFWD () |
void | DoSeekRWND () |
void | NormalSpeed () |
void | ChangeSpeed (int Direction) |
void | ToggleTimeStretch () |
void | ChangeTimeStretch (int Dir, bool AllowEdit=true) |
void | DVDJumpBack () |
void | DVDJumpForward () |
float | StopFFRew () |
void | ChangeFFRew (int Direction) |
void | SetFFRew (int Index) |
bool | AudioSyncHandleAction (const QStringList &Actions) |
int | GetNumChapters () |
void | GetChapterTimes (QList< std::chrono::seconds > &Times) |
int | GetCurrentChapter () |
int | GetNumTitles () |
int | GetCurrentTitle () |
std::chrono::seconds | GetTitleDuration (int Title) |
QString | GetTitleName (int Title) |
void | DoSwitchTitle (int Title) |
int | GetNumAngles () |
int | GetCurrentAngle () |
QString | GetAngleName (int Angle) |
void | DoSwitchAngle (int Angle) |
void | DoJumpChapter (int Chapter) |
void | DoSkipCommercials (int Direction) |
void | SetAutoCommercialSkip (CommSkipMode SkipMode=kCommSkipOff) |
void | DoQueueTranscode (const QString &Profile) |
bool | IsBookmarkAllowed () |
void | SetBookmark (bool Clear=false) |
void | ClearOSD () |
void | ToggleOSD (bool IncludeStatusOSD) |
Cycle through the available Info OSDs. More... | |
void | UpdateOSDProgInfo (const char *WhichInfo) |
Update and display the passed OSD set with programinfo. More... | |
void | UpdateOSDStatus (const QString &Title, const QString &Desc, const QString &Value, int Type, const QString &Units, int Position=0, enum OSDTimeout Timeout=kOSDTimeout_Med) |
void | UpdateOSDStatus (osdInfo &Info, int Type, enum OSDTimeout Timeout) |
void | UpdateOSDSeekMessage (const QString &Msg, enum OSDTimeout Timeout) |
void | UpdateOSDInput () |
void | UpdateOSDSignal (const QStringList &List) |
Updates Signal portion of OSD... More... | |
void | UpdateOSDTimeoutMessage () |
bool | CalcPlayerSliderPosition (osdInfo &info, bool paddedFields=false) const |
void | HideOSDWindow (const char *window) |
bool | SubtitleZoomHandleAction (const QStringList &Actions) |
bool | SubtitleDelayHandleAction (const QStringList &Actions) |
void | DoTogglePictureAttribute (PictureAdjustType Type) |
bool | PictureAttributeHandleAction (const QStringList &Actions) |
PictureAttribute | NextPictureAdjustType (PictureAdjustType Type, PictureAttribute Attr) |
void | OverrideScan (FrameScanType Scan) |
void | ITVRestart (bool IsLive) |
Restart the MHEG/MHP engine. More... | |
void | SetManualZoom (bool ZoomON, const QString &Desc) |
bool | ManualZoomHandleAction (const QStringList &Actions) |
void | StartChannelEditMode () |
Starts channel editing mode. More... | |
bool | HandleOSDChannelEdit (const QString &Action) |
Processes channel editing key. More... | |
void | ChannelEditAutoFill (InfoMap &Info) |
Automatically fills in as much information as possible. More... | |
void | ChannelEditXDSFill (InfoMap &Info) |
bool | DialogIsVisible (const QString &Dialog) |
void | HandleOSDInfo (const QString &Action) |
void | ShowNoRecorderDialog (NoRecorderMsg MsgType=kNoRecorders) |
void | ShowOSDAskAllow () |
void | HandleOSDAskAllow (const QString &Action) |
void | AskAllowRecording (const QStringList &Msg, int Timeuntil, bool HasRec, bool HasLater) |
void | ShowOSDCutpoint (const QString &Type) |
bool | HandleOSDCutpoint (const QString &Action) |
void | StartProgramEditMode () |
Starts Program Cut Map Editing mode. More... | |
void | ShowOSDAlreadyEditing () |
void | HandleOSDAlreadyEditing (const QString &Action, bool WasPaused) |
void | ShowOSDSleep () |
void | HandleOSDSleep (const QString &Action) |
void | SleepDialogTimeout () |
void | ShowOSDIdle () |
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 (const QString &Action) |
void | IdleDialogTimeout () |
void | ShowOSDStopWatchingRecording () |
void | ShowOSDPromptDeleteRecording (const QString &Title, bool Force=false) |
bool | HandleOSDVideoExit (const QString &Action) |
void | StartOsdNavigation () |
void | ShowOSDMenu (bool isCompact=false) |
void | FillOSDMenuJumpRec (const QString &Category="", int Level=0, const QString &Selected="") |
void | PlaybackMenuShow (const MythTVMenu &Menu, const QDomNode &Node, const QDomNode &Selected) |
bool | MenuItemDisplay (const MythTVMenuItemContext &Context, MythOSDDialogData *Menu) override |
bool | MenuItemDisplayPlayback (const MythTVMenuItemContext &Context, MythOSDDialogData *Menu) |
bool | MenuItemDisplayCutlist (const MythTVMenuItemContext &Context, MythOSDDialogData *Menu) |
void | PlaybackMenuInit (const MythTVMenu &Menu) |
void | PlaybackMenuDeinit (const MythTVMenu &Menu) |
void | MenuLazyInit (void *Field) |
const MythTVMenu & | getMenuFromId (MenuTypeId id) |
void | UpdateLCD () |
void | ShowLCDChannelInfo () |
void | ShowLCDDVDInfo () |
Static Private Member Functions | |
static TV * | AcquireRelease (int &RefCount, bool Acquire, bool Create=false) |
Statically create, destroy or check the existence of the TV instance. More... | |
static QList< QKeyEvent * > | ConvertScreenPressKeyMap (const QString &KeyList) |
static QVector< uint > | IsTunableOn (PlayerContext *Context, uint ChanId) |
static bool | StateIsRecording (TVState State) |
static bool | StateIsPlaying (TVState State) |
static bool | StateIsLiveTV (TVState State) |
static void | ToggleChannelFavorite () |
static void | MenuStrings () |
Static Private Attributes | |
static QStringList | lastProgramStringList = {} |
static EMBEDRETURNVOID | RunPlaybackBoxPtr = nullptr |
static EMBEDRETURNVOID | RunViewScheduledPtr = nullptr |
static EMBEDRETURNVOIDEPG | RunProgramGuidePtr = nullptr |
static EMBEDRETURNVOIDFINDER | RunProgramFinderPtr = nullptr |
static EMBEDRETURNVOIDSCHEDIT | RunScheduleEditorPtr = nullptr |
static const std::vector< SleepTimerInfo > | s_sleepTimes |
static const int | kScreenPressRegionCount = 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 | TVBrowseHelper |
Additional Inherited Members | |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
![]() | |
TVBrowseHelper (TV *Parent) | |
~TVBrowseHelper () override | |
void | BrowseInit (std::chrono::seconds BrowseMaxForward, bool BrowseAllTuners, bool UseChannelGroups, const QString &DBChannelOrdering) |
void | BrowseStop () |
void | BrowseWait () |
bool | BrowseStart (bool SkipBrowse=false) |
Begins channel browsing. More... | |
void | BrowseEnd (bool ChangeChannel) |
Ends channel browsing. More... | |
void | BrowseDispInfo (const BrowseInfo &Browseinfo) |
void | BrowseDispInfo (BrowseDirection Direction) |
void | BrowseChannel (const QString &Channum) |
BrowseInfo | GetBrowsedInfo () const |
uint | GetBrowseChanId (const QString &Channum, uint PrefCardid, uint PrefSourceid) const |
Returns a chanid for the channum, or 0 if none is available. More... | |
![]() | |
int | exec (void) |
Enters the qt event loop. call exit or quit to exit thread. More... | |
MThread (const QString &objectName) | |
Standard constructor. More... | |
MThread (const QString &objectName, QRunnable *runnable) | |
Use this constructor if you want the default run() method to run the QRunnable's run() method instead of entering the Qt event loop. More... | |
virtual | ~MThread () |
MThread (const MThread &)=delete | |
MThread & | operator= (const MThread &)=delete |
void | RunProlog (void) |
Sets up a thread, call this if you reimplement run(). More... | |
void | RunEpilog (void) |
Cleans up a thread's resources, call this if you reimplement run(). More... | |
QThread * | qthread (void) |
Returns the thread, this will always return the same pointer no matter how often you restart the thread. More... | |
void | setObjectName (const QString &name) |
QString | objectName (void) const |
void | setPriority (QThread::Priority priority) |
QThread::Priority | priority (void) const |
bool | isFinished (void) const |
bool | isRunning (void) const |
void | setStackSize (uint stackSize) |
uint | stackSize (void) const |
void | exit (int retcode=0) |
Use this to exit from the thread if you are using a Qt event loop. More... | |
void | start (QThread::Priority p=QThread::InheritPriority) |
Tell MThread to start running the thread in the near future. More... | |
void | terminate (void) |
Kill a thread unsafely. More... | |
void | quit (void) |
calls exit(0) More... | |
bool | wait (std::chrono::milliseconds time=std::chrono::milliseconds::max()) |
Wait for the MThread to exit, with a maximum timeout. More... | |
![]() | |
static void | setTerminationEnabled (bool enabled=true) |
static void | usleep (std::chrono::microseconds time) |
template<typename R , typename P > | |
static std::enable_if_t< std::chrono::treat_as_floating_point< R >::value, void > | usleep (std::chrono::duration< R, P > time) |
static void | ThreadSetup (const QString &name) |
This is to be called on startup in those few threads that haven't been ported to MThread. More... | |
static void | ThreadCleanup (void) |
This is to be called on exit in those few threads that haven't been ported to MThread. More... | |
static void | Cleanup (void) |
This will print out all the running threads, call exit(1) on each and then wait up to 5 seconds total for all the threads to exit. More... | |
static void | GetAllThreadNames (QStringList &list) |
static void | GetAllRunningThreadNames (QStringList &list) |
![]() | |
MythOverlayState | m_overlayState { } |
MythAudioPlayerState | m_audioPlayerState { } |
MythAudioState | m_audioState { } |
MythCaptionsState | m_captionsState { } |
MythVideoBoundsState | m_videoBoundsState { } |
MythVideoColourState | m_videoColourState { } |
MythVisualiserState | m_visualiserState { } |
MythEditorState | m_editorState { } |
![]() | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
![]() | |
int | m_browseTimerId { 0 } |
![]() | |
MThreadInternal * | m_thread {nullptr} |
QRunnable * | m_runnable {nullptr} |
bool | m_prologExecuted {true} |
bool | m_epilogExecuted {true} |
Control TV playback.
|
private |
|
private |
|
explicitprivate |
This list is not complete:)
Remove m_playerLock. m_playerContext is always present and we should be using the lower level locks in PlayerContext (around player etc)
Move TV only state currently held in PlayerContext into TV
Try and remove friend class usage. This is a blunt tool and allows potentially unsafe calls into TV
Definition at line 968 of file tv_play.cpp.
|
overrideprivate |
Definition at line 1186 of file tv_play.cpp.
|
static |
Check whether media is currently playing.
This is currently used by the frontend service API and MythAirplayServer
Definition at line 140 of file tv_play.cpp.
Referenced by MythAirplayServer::HandleResponse(), MythAirplayServer::PausePlayback(), Frontend::PlayVideo(), MythFrontendService::PlayVideo(), MythAirplayServer::SeekPosition(), MythAirplayServer::StartPlayback(), MythAirplayServer::StopPlayback(), and MythAirplayServer::UnpausePlayback().
|
static |
Start playback of media.
This is the single global entry point for playing media.
This is a 'blocking' call i.e. we do not actually return to the main event loop until this function returns. Playback is handled manually from this function with regular calls to QCoreApplication::processEvents from within PlaybackLoop.
Definition at line 254 of file tv_play.cpp.
Referenced by GuideGrid::customEvent(), internal_play_media(), main(), PlaybackBox::Play(), and startTVNormal().
|
static |
Check whether playback is paused.
This is currently used by MythAirplayServer.
Definition at line 4768 of file tv_play.cpp.
Referenced by MythAirplayServer::PausePlayback().
|
static |
Definition at line 457 of file tv_play.cpp.
Referenced by main(), and ReloadKeys().
|
static |
Import pointers to functions used to embed the TV window into other containers e.g.
playbackbox
Definition at line 442 of file tv_play.cpp.
Referenced by SetFuncPtrs().
|
static |
If any cards are configured, return the number.
Definition at line 85 of file tv_play.cpp.
Referenced by isLiveTVAvailable(), and StartTV().
Definition at line 6636 of file tv_play.cpp.
Referenced by GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::run(), GuideGrid::RunProgramGuide(), and GuideGrid::updateChannelsNonUI().
void TV::ReloadKeys | ( | ) |
Definition at line 928 of file tv_play.cpp.
bool TV::IsSameProgram | ( | const ProgramInfo * | ProgInfo | ) | const |
Definition at line 10043 of file tv_play.cpp.
Referenced by extract_main_state(), PlaybackBox::PlayX(), and PlaybackBox::ShowActionPopup().
|
overrideslot |
This handles all standard events.
Definition at line 2967 of file tv_play.cpp.
Referenced by eventFilter().
|
overrideslot |
Prevent events from being sent to another object.
Selectively block certain KeyPress and Resize events from being sent to the specified object. This function is called by Qt before it calls Object->event(Event). It can be used by the TV object to either block events from being sent to the specified object, or for it to handle the events instead of sending them to the specified object. As of mid 2021, this filter is only used to redirect some events from the MythMainWindow object to the TV object.
Object | The QObject whose events are being filtered. |
Event | The QEvent that is about to be passed to Object->event(). |
Definition at line 2920 of file tv_play.cpp.
|
overrideslot |
Definition at line 2363 of file tv_play.cpp.
|
slot |
Definition at line 235 of file tv_play.cpp.
Referenced by InitFromDB(), and onApplicationStateChange().
|
slot |
Definition at line 7624 of file tv_play.cpp.
Referenced by OSD::OSD().
|
signal |
Referenced by GuideGrid::GuideGrid(), and StopStuff().
|
protectedslot |
Definition at line 10105 of file tv_play.cpp.
Referenced by TV().
|
overrideprotectedslot |
This handles all custom events.
Definition at line 7135 of file tv_play.cpp.
Referenced by eventFilter().
|
protectedslot |
Definition at line 6882 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), GuideGrid::GuideGrid(), and PictureAttributeHandleAction().
|
privateslot |
Definition at line 6713 of file tv_play.cpp.
Referenced by TV().
|
private |
Return a pointer to TV::m_playerContext.
Definition at line 160 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseStart(), GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::GetNextProgram(), IsPaused(), IsTunable(), StartTV(), and GuideGrid::updateChannelsNonUI().
Definition at line 165 of file tv_play.cpp.
Referenced by StartPlayer(), and SwitchInputs().
|
private |
Definition at line 201 of file tv_play.cpp.
Referenced by CreatePlayer().
Statically create, destroy or check the existence of the TV instance.
RefCount | Will be set to the reference count for the return object |
Acquire | Increase refcount (or create) if true; reduce refcount (and possibly delete) for false |
Create | If false (default) do not create TV if it does not exist and retun nullptr |
Definition at line 107 of file tv_play.cpp.
Referenced by IsPaused(), IsTunable(), IsTVRunning(), and StartTV().
|
private |
Performs instance initialization, returns true on success.
Definition at line 1104 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 996 of file tv_play.cpp.
Referenced by TV().
|
staticprivate |
Definition at line 3153 of file tv_play.cpp.
Referenced by InitFromDB().
|
private |
Starts LiveTV.
ShowDialogs | if true error dialogs are shown, if false they are not |
Selection | What channel to tune. |
Definition at line 1482 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 1861 of file tv_play.cpp.
Referenced by StartTV().
|
private |
|
private |
Definition at line 3231 of file tv_play.cpp.
Referenced by event().
|
private |
Definition at line 3218 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3187 of file tv_play.cpp.
Referenced by TranslateKeyPressOrGesture().
|
private |
Definition at line 4173 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 3034 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and OSDDialogEvent().
|
private |
Definition at line 3729 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 3468 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7970 of file tv_play.cpp.
Referenced by customEvent().
Definition at line 4006 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3969 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 4093 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 9408 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
Definition at line 4878 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 3619 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3713 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 2635 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), TVBrowseHelper::BrowseDispInfo(), ChangeChannel(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleLCDTimerEvent(), HandleOSDIdle(), HandleOSDSleep(), HandlePseudoLiveTVTimerEvent(), HandleSpeedChangeTimerEvent(), HandleStateChange(), HandleTrackAction(), Init(), LiveTV(), OSDDialogEvent(), PopPreviousChannel(), ProcessKeypressOrGesture(), ProcessSmartChannel(), SetErrored(), SetExitPlayer(), SetSpeedChangeTimer(), ShowOSDIdle(), ShowOSDPromptDeleteRecording(), ShowOSDSleep(), timerEvent(), ToggleSleepTimer(), UpdateLCD(), UpdateOSDSignal(), and VolumeChange().
|
private |
Definition at line 2643 of file tv_play.cpp.
Referenced by ActiveHandleAction(), TVBrowseHelper::BrowseDispInfo(), TVBrowseHelper::BrowseEnd(), ClearInputQueues(), HandleEndOfPlaybackTimerEvent(), HandleLCDTimerEvent(), HandleLCDVolumeTimerEvent(), HandleOSDIdle(), HandleOSDSleep(), HandlePseudoLiveTVTimerEvent(), HandleSpeedChangeTimerEvent(), HandleStateChange(), HandleTrackAction(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), ProcessKeypressOrGesture(), SetErrored(), SetExitPlayer(), SetSpeedChangeTimer(), ShowOSDIdle(), ShowOSDPromptDeleteRecording(), ShowOSDSleep(), SleepDialogTimeout(), timerEvent(), ToggleSleepTimer(), UpdateLCD(), and VolumeChange().
|
private |
Definition at line 2876 of file tv_play.cpp.
Referenced by ChangeSpeed(), ChangeTimeStretch(), DoPlay(), DoTogglePauseFinish(), NormalSpeed(), PauseLiveTV(), SetFFRew(), StartPlayer(), StopFFRew(), SwitchInputs(), and UnpauseLiveTV().
|
private |
Definition at line 2756 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2787 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2817 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2842 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2883 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 6980 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 9480 of file tv_play.cpp.
|
private |
Definition at line 2579 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2620 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 9989 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 6874 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), HandleJumpToProgramAction(), and OSDDialogEvent().
Definition at line 6652 of file tv_play.cpp.
Referenced by ChangeChannel(), and HandleStateChange().
|
staticprivate |
Definition at line 6669 of file tv_play.cpp.
Referenced by ChangeChannel(), IsTunable(), IsTunablePriv(), and RequestNextRecorder().
|
private |
Definition at line 6112 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), TVBrowseHelper::BrowseEnd(), ChangeChannel(), GuideGrid::channelUpdate(), CommitQueuedInput(), HandlePseudoLiveTVTimerEvent(), and ProcessNetworkControlCommand().
|
private |
Definition at line 6757 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 10027 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and PlaybackBox::PlaybackBox().
|
private |
update the channel list with channels from the selected channel group
Definition at line 1294 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and GuideGrid::~GuideGrid().
|
private |
Definition at line 10065 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseEnd(), customEvent(), DialogIsVisible(), HandleEndOfRecordingExitPromptTimerEvent(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleVideoExitDialogTimerEvent(), HideOSDWindow(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), ShowOSDPromptDeleteRecording(), StartChannelEditMode(), StartOsdNavigation(), timerEvent(), ToggleOSD(), UpdateOSDSignal(), UpdateOSDStatus(), and UpdateOSDTimeoutMessage().
|
private |
Definition at line 10083 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseEnd(), customEvent(), DialogIsVisible(), HandleEndOfRecordingExitPromptTimerEvent(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleVideoExitDialogTimerEvent(), HideOSDWindow(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), ShowOSDPromptDeleteRecording(), StartChannelEditMode(), StartOsdNavigation(), timerEvent(), ToggleOSD(), UpdateOSDSignal(), UpdateOSDStatus(), and UpdateOSDTimeoutMessage().
|
private |
Definition at line 10090 of file tv_play.cpp.
Referenced by customEvent(), and ScheduleStateChange().
|
private |
Definition at line 10095 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseStart(), CalcPlayerSliderPosition(), GuideGrid::channelUpdate(), customEvent(), DoEditSchedule(), event(), GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::GetNextProgram(), GetRecordingGroup(), GetStatus(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), HandleLCDVolumeTimerEvent(), HandlePseudoLiveTVTimerEvent(), HandleSaveLastPlayPosEvent(), HandleSpeedChangeTimerEvent(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), Init(), IsPaused(), IsSameProgram(), IsTunable(), LiveTV(), OSDDialogEvent(), Playback(), PlaybackLoop(), PlaybackMenuInit(), TVBrowseHelper::run(), ScheduleInputChange(), ScheduleStateChange(), StartTV(), StopPlayback(), timerEvent(), and GuideGrid::updateChannelsNonUI().
|
private |
Definition at line 10100 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseStart(), CalcPlayerSliderPosition(), ChangeChannel(), GuideGrid::channelUpdate(), customEvent(), DoEditSchedule(), event(), GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::GetNextProgram(), GetRecordingGroup(), GetStatus(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), HandleLCDVolumeTimerEvent(), HandlePseudoLiveTVTimerEvent(), HandleSaveLastPlayPosEvent(), HandleSpeedChangeTimerEvent(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), Init(), IsPaused(), IsSameProgram(), IsTunable(), LiveTV(), OSDDialogEvent(), Playback(), PlaybackLoop(), PlaybackMenuDeinit(), TVBrowseHelper::run(), ScheduleInputChange(), ScheduleStateChange(), StartTV(), StopPlayback(), timerEvent(), and GuideGrid::updateChannelsNonUI().
|
private |
Definition at line 9360 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7549 of file tv_play.cpp.
Referenced by BrowseHandleAction(), and ToggleHandleAction().
Definition at line 1891 of file tv_play.cpp.
Referenced by PrepareToExitPlayer().
Definition at line 1896 of file tv_play.cpp.
Referenced by GetRecordingGroup(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleStateChange(), and OSDDialogEvent().
Definition at line 1905 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), AddKeyToInputQueue(), AskAllowRecording(), CommitQueuedInput(), customEvent(), DoEditSchedule(), DoSkipCommercials(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), HandleStateChange(), IdleDialogTimeout(), IsBookmarkAllowed(), IsDeleteAllowed(), OSDDialogEvent(), PlaybackMenuInit(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), SwitchInputs(), ToggleHandleAction(), and VolumeChange().
|
private |
Definition at line 1317 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), AddKeyToInputQueue(), AskAllowRecording(), CommitQueuedInput(), DoEditSchedule(), DoJumpFFWD(), DoJumpRWND(), DoSkipCommercials(), GuideGrid::gestureEvent(), GetRecordingGroup(), GetStatus(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), IsBookmarkAllowed(), IsDeleteAllowed(), GuideGrid::keyPressEvent(), OSDDialogEvent(), PlaybackLoop(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), GuideGrid::ShowMenu(), ShowOSDStopWatchingRecording(), SwitchInputs(), ToggleHandleAction(), and VolumeChange().
|
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 1933 of file tv_play.cpp.
Referenced by LiveTV(), Playback(), and ScheduleStateChange().
|
private |
Definition at line 1326 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 2648 of file tv_play.cpp.
Referenced by HandleEndOfPlaybackTimerEvent(), and timerEvent().
|
private |
Definition at line 2654 of file tv_play.cpp.
Referenced by customEvent(), ForceNextStateNone(), StartPlayer(), and SwitchInputs().
|
private |
Definition at line 2677 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and SwitchSource().
|
private |
Definition at line 2694 of file tv_play.cpp.
Referenced by HandleStateChange(), StartRecorder(), and SwitchInputs().
|
inlineprivate |
Definition at line 286 of file tv_play.h.
Referenced by OSDDialogEvent(), and StartTV().
|
inlineprivate |
|
private |
Definition at line 2701 of file tv_play.cpp.
Referenced by Embed(), and HandleJumpToProgramAction().
|
private |
Definition at line 2711 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), PrepToSwitchToRecordedProgram(), ProcessNetworkControlCommand(), and StopPlayback().
Definition at line 2739 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDIdle(), HandleOSDSleep(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), Init(), OSDDialogEvent(), PrepToSwitchToRecordedProgram(), ProcessNetworkControlCommand(), ShowOSDPromptDeleteRecording(), SleepDialogTimeout(), StartTV(), StopPlayback(), SwitchInputs(), and timerEvent().
|
private |
Definition at line 1510 of file tv_play.cpp.
Referenced by LiveTV().
|
private |
|
private |
Starts recorder, must be called before StartPlayer().
MaxWait | How long to wait for RecorderBase to start recording. If not provided, this defaults to 40 seconds. |
Definition at line 2278 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchInputs().
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...
StopRingBuffer | Set to true if ringbuffer must be shut down. |
StopPlayer | Set to true if player must be shut down. |
StopRecorder | Set to true if recorder must be shut down. |
Definition at line 2328 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchInputs().
Definition at line 4647 of file tv_play.cpp.
Referenced by HandleStateChange().
|
inlineprivate |
|
inlineprivate |
|
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 310 of file tv_play.h.
Referenced by PrepareToExitPlayer(), and StartTV().
|
inlineprivate |
|
private |
Definition at line 9789 of file tv_play.cpp.
Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().
|
staticprivate |
Definition at line 5648 of file tv_play.cpp.
Referenced by ToggleHandleAction().
|
private |
Definition at line 5655 of file tv_play.cpp.
|
private |
Definition at line 5877 of file tv_play.cpp.
|
private |
Definition at line 5971 of file tv_play.cpp.
|
private |
Definition at line 6133 of file tv_play.cpp.
Referenced by PopPreviousChannel().
|
private |
Definition at line 6142 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 5710 of file tv_play.cpp.
Referenced by ActiveHandleAction(), BrowseHandleAction(), HandleTrackAction(), and ProcessKeypressOrGesture().
|
private |
Clear channel key buffer of input keys.
Hideosd | if true, hides "channel_number" OSDSet. |
Definition at line 5695 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), Init(), and timerEvent().
|
private |
Definition at line 5823 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), ProcessNetworkControlCommand(), and timerEvent().
|
private |
Definition at line 5757 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
inlineprivate |
Definition at line 332 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), CommitQueuedInput(), ProcessKeypressOrGesture(), and SeekHandleAction().
|
inlineprivate |
Definition at line 333 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), and timerEvent().
|
private |
Definition at line 5661 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
private |
Definition at line 5666 of file tv_play.cpp.
Referenced by DoArbSeek(), and HandleTrackAction().
|
private |
Definition at line 5671 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessSmartChannel().
|
inlineprivate |
Definition at line 339 of file tv_play.h.
Referenced by ChangeChannel(), and CommitQueuedInput().
|
private |
Definition at line 5433 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
Definition at line 5489 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), ChangeChannel(), and ScheduleInputChange().
|
private |
Used in ChangeChannel() to temporarily stop video output.
Definition at line 9575 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ChangeChannel().
Used in ChangeChannel() to restart video output.
Definition at line 9612 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), and SwitchInputs().
|
private |
Definition at line 4670 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 4704 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 4733 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 4790 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeSpeed(), HandleOSDAlreadyEditing(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().
Definition at line 6746 of file tv_play.cpp.
Referenced by DoEditSchedule(), and Embed().
|
private |
Definition at line 10055 of file tv_play.cpp.
Referenced by ChangeChannel(), ChangeSpeed(), DoSetPauseState(), DoTogglePauseFinish(), HandleOSDAlreadyEditing(), ITVRestart(), OSDDialogEvent(), ProcessNetworkControlCommand(), SeekHandleAction(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), and ToggleOSD().
|
private |
Definition at line 10007 of file tv_play.cpp.
Referenced by customEvent(), FillOSDMenuJumpRec(), PrepToSwitchToRecordedProgram(), StartTV(), and timerEvent().
|
private |
Definition at line 10019 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and StartTV().
Definition at line 4963 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoArbSeek(), DoJumpFFWD(), DoJumpRWND(), DoSeekAbsolute(), DoSeekFFWD(), DoSeekRWND(), DVDJumpBack(), DVDJumpForward(), ProcessNetworkControlCommand(), and SeekHandleAction().
|
private |
Definition at line 4813 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPlay(), DoSeek(), DoTogglePauseFinish(), and FFRewHandleAction().
|
private |
Definition at line 4849 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoSeek(), and SeekHandleAction().
|
private |
Definition at line 4998 of file tv_play.cpp.
Referenced by customEvent(), DoArbSeek(), and ProcessNetworkControlCommand().
|
private |
Definition at line 5012 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and SeekHandleAction().
|
private |
Definition at line 9659 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 9674 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 9669 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9684 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 5049 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), DoJumpChapter(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
private |
Definition at line 5064 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 6914 of file tv_play.cpp.
Referenced by OSDDialogEvent(), TimeStretchHandleAction(), and ToggleHandleAction().
Definition at line 6928 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), ProcessNetworkControlCommand(), TimeStretchHandleAction(), and ToggleTimeStretch().
|
private |
Definition at line 9692 of file tv_play.cpp.
Referenced by DoJumpRWND().
|
private |
Definition at line 9725 of file tv_play.cpp.
Referenced by DoJumpFFWD().
|
private |
Definition at line 5112 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), ChangeSpeed(), DoJumpChapter(), DoPlay(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePauseStart(), FFRewHandleAction(), OSDDialogEvent(), and ProcessNetworkControlCommand().
|
private |
Definition at line 5137 of file tv_play.cpp.
Referenced by SeekHandleAction().
|
private |
Definition at line 5170 of file tv_play.cpp.
Referenced by ChangeFFRew(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
private |
Definition at line 3644 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 5264 of file tv_play.cpp.
Referenced by DoJumpFFWD(), DoJumpRWND(), and PlaybackMenuInit().
|
private |
Definition at line 5274 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5282 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5307 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5317 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5357 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5368 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5378 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 5327 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5337 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5347 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5394 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 5292 of file tv_play.cpp.
Referenced by customEvent(), DoJumpFFWD(), DoJumpRWND(), DVDJumpBack(), DVDJumpForward(), and OSDDialogEvent().
|
private |
Definition at line 5410 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 9383 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 5215 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 9763 of file tv_play.cpp.
Definition at line 4075 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
|
private |
Definition at line 6173 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AudioSyncHandleAction(), TVBrowseHelper::BrowseStart(), DoEditSchedule(), HandleVideoExitDialogTimerEvent(), ProcessNetworkControlCommand(), SetManualZoom(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), SubtitleDelayHandleAction(), SubtitleZoomHandleAction(), and TimeStretchHandleAction().
|
private |
Cycle through the available Info OSDs.
Definition at line 6189 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and StartOsdNavigation().
|
private |
Update and display the passed OSD set with programinfo.
Definition at line 6255 of file tv_play.cpp.
Referenced by ToggleOSD(), and UnpauseLiveTV().
|
private |
Definition at line 6281 of file tv_play.cpp.
Referenced by ChangeTimeStretch(), DoSkipCommercials(), DoTogglePictureAttribute(), PictureAttributeHandleAction(), SetBookmark(), ToggleOSD(), and UpdateOSDSeekMessage().
|
private |
Definition at line 6267 of file tv_play.cpp.
|
private |
Definition at line 6295 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), DoJumpChapter(), DoPlay(), DoSeek(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePauseFinish(), DVDJumpBack(), DVDJumpForward(), FFRewHandleAction(), HandleSpeedChangeTimerEvent(), SeekHandleAction(), SetAutoCommercialSkip(), SetFFRew(), SetManualZoom(), and ToggleAutoExpire().
|
private |
Definition at line 6309 of file tv_play.cpp.
Referenced by ChangeChannel(), HandleStateChange(), and SwitchInputs().
|
private |
Updates Signal portion of OSD...
Definition at line 6320 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 6478 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
Definition at line 6537 of file tv_play.cpp.
Referenced by DoSkipCommercials(), GetStatus(), HandleLCDTimerEvent(), ProcessNetworkControlCommand(), SetBookmark(), ToggleOSD(), and UpdateOSDSeekMessage().
|
private |
Definition at line 6550 of file tv_play.cpp.
Referenced by ChangeChannel(), ClearInputQueues(), CommitQueuedInput(), OSDDialogEvent(), and PopPreviousChannel().
|
private |
Definition at line 3667 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3690 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7675 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 3590 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7653 of file tv_play.cpp.
Referenced by DoTogglePictureAttribute().
|
private |
Definition at line 9344 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Restart the MHEG/MHP engine.
Definition at line 9640 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchInputs(), and UnpauseLiveTV().
|
private |
Definition at line 9399 of file tv_play.cpp.
Referenced by ManualZoomHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 3513 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Starts channel editing mode.
Definition at line 7844 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Processes channel editing key.
Definition at line 7888 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Automatically fills in as much information as possible.
Definition at line 7924 of file tv_play.cpp.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Definition at line 7934 of file tv_play.cpp.
Referenced by ChannelEditAutoFill().
|
private |
Definition at line 8315 of file tv_play.cpp.
Referenced by HandleOSDAlreadyEditing(), HandleOSDAskAllow(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleOSDIdle(), HandleOSDInfo(), HandleOSDSleep(), and HandleOSDVideoExit().
|
private |
Definition at line 8325 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9544 of file tv_play.cpp.
Referenced by ChangeChannel(), and RequestNextRecorder().
|
private |
Definition at line 1604 of file tv_play.cpp.
Referenced by AskAllowRecording().
|
private |
Definition at line 1823 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 1563 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 7711 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7755 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Starts Program Cut Map Editing mode.
Definition at line 7778 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 7793 of file tv_play.cpp.
Referenced by StartProgramEditMode().
|
private |
Definition at line 7807 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7006 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7022 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7043 of file tv_play.cpp.
Referenced by timerEvent().
|
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 7061 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7077 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7100 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 9804 of file tv_play.cpp.
Referenced by ActiveHandleAction().
Definition at line 9844 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleOSDVideoExit().
|
private |
Definition at line 9945 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7873 of file tv_play.cpp.
Referenced by ToggleHandleAction().
Definition at line 9219 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 9237 of file tv_play.cpp.
Referenced by HandleJumpToProgramAction(), and OSDDialogEvent().
|
private |
Definition at line 9145 of file tv_play.cpp.
Referenced by customEvent(), ShowOSDCutpoint(), and ShowOSDMenu().
|
overrideprivatevirtual |
Implements MythTVMenuItemDisplayer.
Definition at line 8343 of file tv_play.cpp.
|
private |
Definition at line 8487 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 8352 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 9050 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
private |
Definition at line 9140 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
staticprivate |
Definition at line 9173 of file tv_play.cpp.
|
private |
Definition at line 9043 of file tv_play.cpp.
|
private |
Definition at line 7118 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 6558 of file tv_play.cpp.
Referenced by HandleStateChange(), and UnpauseLiveTV().
|
private |
Definition at line 6566 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().
|
private |
Definition at line 6592 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent().
|
friend |
|
friend |
|
inlinestaticprivate |
Definition at line 193 of file tv_play.h.
Referenced by StartTV(), and timerEvent().
|
inlinestaticprivate |
Definition at line 194 of file tv_play.h.
Referenced by DoEditSchedule(), HandleJumpToProgramAction(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 195 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 196 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 197 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 198 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
private |
Definition at line 505 of file tv_play.h.
Referenced by ActiveHandleAction(), CreatePlayer(), DoEditSchedule(), Embed(), eventFilter(), HandleStateChange(), Init(), MenuItemDisplayCutlist(), MenuItemDisplayPlayback(), ProcessKeypressOrGesture(), ReloadKeys(), TranslateGesture(), TranslateKeyPressOrGesture(), TV(), and ~TV().
|
private |
Definition at line 508 of file tv_play.h.
Referenced by InitFromDB(), and ShowOSDAskAllow().
|
private |
Definition at line 509 of file tv_play.h.
Referenced by HandleOSDIdle(), InitFromDB(), LiveTV(), ProcessKeypressOrGesture(), and ShowOSDIdle().
|
private |
Definition at line 510 of file tv_play.h.
Referenced by ActiveHandleAction(), and InitFromDB().
|
private |
Definition at line 511 of file tv_play.h.
Referenced by InitFromDB(), and QuickRecord().
Definition at line 512 of file tv_play.h.
Referenced by InitFromDB(), and PrepareToExitPlayer().
Definition at line 513 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and InitFromDB().
Definition at line 514 of file tv_play.h.
Referenced by HandleJumpToProgramAction(), and InitFromDB().
Definition at line 515 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and InitFromDB().
Definition at line 516 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and InitFromDB().
Definition at line 517 of file tv_play.h.
Referenced by DoQueueTranscode(), and InitFromDB().
Definition at line 518 of file tv_play.h.
Referenced by DoEditSchedule(), and InitFromDB().
Definition at line 519 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and InitFromDB().
Definition at line 520 of file tv_play.h.
Referenced by InitFromDB().
Definition at line 521 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), MenuItemDisplayPlayback(), OSDDialogEvent(), and UpdateChannelList().
Definition at line 522 of file tv_play.h.
Referenced by InitFromDB(), and UpdateChannelList().
|
private |
Definition at line 523 of file tv_play.h.
Referenced by InitFromDB(), and MenuItemDisplayPlayback().
Definition at line 525 of file tv_play.h.
Referenced by InitFromDB(), and SeekHandleAction().
|
private |
Definition at line 526 of file tv_play.h.
Referenced by InitFromDB(), and StopFFRew().
Definition at line 527 of file tv_play.h.
Referenced by ChangeFFRew(), and InitFromDB().
|
private |
Definition at line 528 of file tv_play.h.
Referenced by ChangeFFRew(), FFRewHandleAction(), InitFromDB(), ProcessNetworkControlCommand(), SetFFRew(), and StopFFRew().
|
private |
Definition at line 530 of file tv_play.h.
Referenced by AddKeyToInputQueue(), HandleTrackAction(), and InitFromDB().
|
private |
Definition at line 531 of file tv_play.h.
Referenced by OSDDialogEvent(), ScheduleInputChange(), and SwitchSource().
True if the user told MythTV to stop playback.
If this is false when we exit the player, we display an error screen.
Definition at line 535 of file tv_play.h.
Referenced by Playback(), PlaybackLoop(), SetExitPlayer(), and StartTV().
True if time stretch is turned on.
Definition at line 536 of file tv_play.h.
Referenced by ChangeTimeStretch(), HandleOSDClosed(), and TimeStretchHandleAction().
True if audiosync is turned on.
Definition at line 537 of file tv_play.h.
Referenced by AudioSyncHandleAction(), HandleOSDClosed(), and TV().
True if subtitle zoom is turned on.
Definition at line 538 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleZoomHandleAction(), and TV().
True if subtitle delay is turned on.
Definition at line 539 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleDelayHandleAction(), and TV().
Definition at line 540 of file tv_play.h.
Referenced by ManualZoomHandleAction(), and SetManualZoom().
Are we in signal monitoring mode?
Definition at line 541 of file tv_play.h.
Referenced by ActiveHandleAction().
!player->IsPlaying() && StateIsPlaying()
Definition at line 542 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().
User wants last video deleted.
Definition at line 543 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), LiveTV(), Playback(), and StartTV().
User wants to rerecord the last video if deleted.
Definition at line 544 of file tv_play.h.
Referenced by HandleOSDVideoExit(), LiveTV(), and Playback().
Definition at line 545 of file tv_play.h.
Referenced by HandleOSDClosed(), SeekHandleAction(), and UpdateOSDSeekMessage().
Definition at line 546 of file tv_play.h.
Referenced by DoQueueTranscode().
False until first timer event.
Definition at line 547 of file tv_play.h.
Referenced by HandleSaveLastPlayPosEvent(), and PrepareToExitPlayer().
False unless requested by user on playback exit.
Definition at line 548 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDVideoExit(), and PrepareToExitPlayer().
|
private |
Picture attribute type to modify.
Definition at line 550 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), and PictureAttributeHandleAction().
|
private |
Picture attribute to modify (on arrow left or right)
Definition at line 552 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), OSDDialogEvent(), and PictureAttributeHandleAction().
|
private |
Definition at line 555 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
|
private |
Definition at line 559 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
|
private |
Definition at line 562 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
private |
Definition at line 563 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
mutableprivate |
Lock for chanEditMap and ddMap.
Definition at line 568 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Channel Editing initial map.
Definition at line 570 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
staticprivate |
Definition at line 572 of file tv_play.h.
Referenced by ToggleSleepTimer().
|
private |
Index into sleep_times.
Definition at line 574 of file tv_play.h.
Referenced by Init(), and ToggleSleepTimer().
|
private |
Current sleep timeout in msec.
Definition at line 575 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), and ToggleSleepTimer().
|
private |
Timer for turning off playback.
Definition at line 576 of file tv_play.h.
Referenced by HandleOSDSleep(), MenuItemDisplayPlayback(), ShowOSDSleep(), timerEvent(), and ToggleSleepTimer().
|
private |
Timer for sleep dialog.
Definition at line 577 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), SleepDialogTimeout(), and timerEvent().
|
private |
Timer for turning off playback after idle period.
Definition at line 579 of file tv_play.h.
Referenced by HandleOSDIdle(), LiveTV(), ProcessKeypressOrGesture(), ShowOSDIdle(), and timerEvent().
|
private |
Timer for idle dialog.
Definition at line 580 of file tv_play.h.
Referenced by HandleOSDIdle(), IdleDialogTimeout(), ShowOSDIdle(), and timerEvent().
|
private |
Are we in CC/Teletext page/stream selection mode?
Definition at line 587 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
Are we in Arbitrary seek input mode?
Definition at line 591 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
|
private |
Input key presses queued up so far...
Definition at line 595 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedInput(), GetQueuedInputAsInt(), OSDDialogEvent(), and PopPreviousChannel().
|
mutableprivate |
Input key presses queued up so far to form a valid ChanNum.
Definition at line 597 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), ProcessSmartChannel(), timerEvent(), and UpdateOSDSignal().
|
private |
Queued ChanID (from EPG channel selector)
Definition at line 599 of file tv_play.h.
Referenced by ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), and timerEvent().
|
private |
Initial chanid override for Live TV.
Definition at line 601 of file tv_play.h.
Referenced by HandleStateChange(), and RequestNextRecorder().
|
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 608 of file tv_play.h.
Referenced by ConvertScreenPressKeyMap().
|
private |
Definition at line 609 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
|
private |
Definition at line 610 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
|
private |
Definition at line 613 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), SwitchInputs(), and UpdateOSDTimeoutMessage().
Definition at line 614 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDInfo(), HandleStateChange(), PauseLiveTV(), SwitchInputs(), UpdateOSDSignal(), and UpdateOSDTimeoutMessage().
|
private |
Definition at line 615 of file tv_play.h.
Referenced by HandleStateChange(), and UpdateOSDSignal().
|
mutableprivate |
Definition at line 619 of file tv_play.h.
Referenced by GetLastProgram(), and SetLastProgram().
|
private |
last program played with this player
Definition at line 620 of file tv_play.h.
Referenced by GetLastProgram(), MenuItemDisplayPlayback(), SetLastProgram(), timerEvent(), and ~TV().
show is part of a playlist
Definition at line 621 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleStateChange(), and MenuItemDisplayPlayback().
initial show started via by the network control interface
Definition at line 622 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleStateChange().
Definition at line 625 of file tv_play.h.
Referenced by customEvent(), HandleJumpToProgramAction(), LiveTV(), Playback(), PrepToSwitchToRecordedProgram(), ScheduleStateChange(), and timerEvent().
|
private |
Definition at line 628 of file tv_play.h.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeChannel(), ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), ChannelEditXDSFill(), CommitQueuedInput(), ContextIsPaused(), CreatePlayer(), customEvent(), DiscMenuHandleAction(), DoArbSeek(), DoEditSchedule(), DoJumpChapter(), DoJumpFFWD(), DoJumpRWND(), DoPlay(), DoPlayerSeek(), DoPlayerSeekToFrame(), DoQueueTranscode(), DoSeek(), DoSeekAbsolute(), DoSeekFFWD(), DoSeekRWND(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePause(), DoTogglePauseFinish(), DoTogglePauseStart(), DoTogglePictureAttribute(), DVDJumpBack(), DVDJumpForward(), event(), FFRewHandleAction(), FillOSDMenuJumpRec(), ForceNextStateNone(), GetAngleName(), GetChapterTimes(), GetCurrentAngle(), GetCurrentChapter(), GetCurrentTitle(), GetNumAngles(), GetNumChapters(), GetNumTitles(), GetOSDL(), GetPlayerContext(), GetRecordingGroup(), GetState(), GetStatus(), GetTitleDuration(), GetTitleName(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleLCDTimerEvent(), HandleOSDAlreadyEditing(), HandleOSDAskAllow(), HandleOSDChannelEdit(), HandleOSDVideoExit(), HandlePseudoLiveTVTimerEvent(), HandleSaveLastPlayPosEvent(), HandleSpeedChangeTimerEvent(), HandleStateChange(), IdleDialogTimeout(), Init(), IsBookmarkAllowed(), IsDeleteAllowed(), IsSameProgram(), IsTunablePriv(), ITVRestart(), LiveTV(), MenuItemDisplayPlayback(), NormalSpeed(), OSDDialogEvent(), OverrideScan(), PauseLiveTV(), PictureAttributeHandleAction(), Playback(), PlaybackLoop(), PlaybackMenuInit(), PopPreviousChannel(), PrepareToExitPlayer(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), ProcessSmartChannel(), QuickRecord(), RequestNextRecorder(), ReturnOSDLock(), ScheduleStateChange(), SeekHandleAction(), SetAutoCommercialSkip(), SetErrored(), SetFFRew(), ShowLCDChannelInfo(), ShowLCDDVDInfo(), ShowOSDAskAllow(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), ShowPreviousChannel(), StartChannelEditMode(), StartPlaying(), StartProgramEditMode(), StartRecorder(), StopFFRew(), StopStuff(), SwitchInputs(), SwitchSource(), timerEvent(), ToggleAutoExpire(), ToggleChannelFavorite(), ToggleTimeStretch(), UnpauseLiveTV(), UpdateOSDInput(), UpdateOSDProgInfo(), UpdateOSDSignal(), UpdateOSDTimeoutMessage(), VolumeChange(), and ~TV().
|
private |
Definition at line 631 of file tv_play.h.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), CalcPlayerSliderPosition(), ChangeChannel(), ChangeSpeed(), ChangeTimeStretch(), ChannelEditXDSFill(), ContextIsPaused(), CreatePlayer(), customEvent(), DiscMenuHandleAction(), DoArbSeek(), DoEditSchedule(), DoJumpChapter(), DoPlay(), DoPlayerSeek(), DoPlayerSeekToFrame(), DoSeek(), DoSeekAbsolute(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePause(), DoTogglePauseStart(), GetAngleName(), GetChapterTimes(), GetCurrentAngle(), GetCurrentChapter(), GetCurrentTitle(), GetNumAngles(), GetNumChapters(), GetNumTitles(), GetOSDL(), GetStatus(), GetTitleDuration(), GetTitleName(), HandleEndOfRecordingExitPromptTimerEvent(), HandleOSDCutpoint(), HandleOSDVideoExit(), HandleSaveLastPlayPosEvent(), HandleStateChange(), MenuItemDisplayPlayback(), NormalSpeed(), OverrideScan(), PauseLiveTV(), PlaybackLoop(), PlaybackMenuInit(), PrepareToExitPlayer(), ProcessKeypressOrGesture(), ProcessNetworkControlCommand(), ReturnOSDLock(), ScheduleStateChange(), SeekHandleAction(), SetAutoCommercialSkip(), SetFFRew(), ShowOSDPromptDeleteRecording(), StartPlaying(), StopFFRew(), SwitchInputs(), UnpauseLiveTV(), UpdateOSDProgInfo(), UpdateOSDSignal(), and ~TV().
|
mutableprivate |
lock on player and playerActive changes
Definition at line 633 of file tv_play.h.
Referenced by GetPlayerReadLock(), GetPlayerWriteLock(), ReturnPlayerLock(), and ~TV().
|
private |
Main recorder to use after a successful SwitchCards() call.
Definition at line 639 of file tv_play.h.
Referenced by Init(), LiveTV(), and RequestNextRecorder().
|
private |
Definition at line 642 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 643 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 644 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Our screen, if it exists.
player bounds, for after DoEditSchedule() returns to normal playing.
Definition at line 647 of file tv_play.h.
Referenced by customEvent(), HandleStateChange(), Init(), and ~TV().
|
private |
Prior GUI window bounds, for DoEditSchedule() and player exit().
Definition at line 649 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and Init().
|
private |
Definition at line 651 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and ~TV().
true if this instance disabled MythUI drawing.
Definition at line 653 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), HandleStateChange(), and ~TV().
should we ignore keypresses
Definition at line 656 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), and eventFilter().
saved pause state before embedding
Definition at line 657 of file tv_play.h.
Referenced by DoEditSchedule(), and Embed().
|
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 663 of file tv_play.h.
Referenced by ChangeChannel(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 664 of file tv_play.h.
Referenced by ChangeChannel(), DoEditSchedule(), InitFromDB(), MenuItemDisplayPlayback(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 665 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 668 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 671 of file tv_play.h.
Referenced by HandleLCDTimerEvent(), Init(), timerEvent(), and UpdateLCD().
|
private |
Definition at line 672 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), timerEvent(), and VolumeChange().
|
private |
Definition at line 673 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 674 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 675 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 676 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessSmartChannel(), and timerEvent().
|
private |
Definition at line 677 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and timerEvent().
|
private |
Definition at line 678 of file tv_play.h.
Referenced by HandleStateChange(), and timerEvent().
|
private |
Definition at line 679 of file tv_play.h.
Referenced by HandleVideoExitDialogTimerEvent(), ShowOSDPromptDeleteRecording(), and timerEvent().
|
private |
Definition at line 680 of file tv_play.h.
Referenced by customEvent(), HandlePseudoLiveTVTimerEvent(), and timerEvent().
|
private |
Definition at line 681 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), Init(), SetSpeedChangeTimer(), and timerEvent().
|
private |
Definition at line 682 of file tv_play.h.
Referenced by Init(), SetErrored(), and timerEvent().
|
mutableprivate |
Definition at line 683 of file tv_play.h.
Referenced by HandleEndOfRecordingExitPromptTimerEvent(), SetExitPlayer(), ShowOSDPromptDeleteRecording(), StartRecorder(), and timerEvent().
|
private |
Definition at line 684 of file tv_play.h.
Referenced by Init(), and timerEvent().
|
private |
Definition at line 685 of file tv_play.h.
Referenced by timerEvent(), and UpdateOSDSignal().
|
private |
Definition at line 691 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 692 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 695 of file tv_play.h.
Referenced by PlaybackMenuInit().
Definition at line 698 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 701 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 702 of file tv_play.h.
Referenced by PlaybackMenuInit().
Definition at line 703 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 704 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 705 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 706 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 707 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 708 of file tv_play.h.
Referenced by MenuLazyInit(), and PlaybackMenuInit().
Definition at line 709 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 710 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 711 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 712 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 713 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 716 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 717 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 718 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 719 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 720 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 721 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 722 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 724 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 725 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 727 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 728 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 730 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and MenuItemDisplayPlayback().
|
private |
Definition at line 733 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 734 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 735 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
private |
Definition at line 736 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
inlinestatic |
Definition at line 739 of file tv_play.h.
Referenced by ChangeFFRew(), PlayerContext::HandlePlayerSpeedChangeFFRew(), Init(), ProcessNetworkControlCommand(), and StopFFRew().
|
inlinestatic |
Definition at line 740 of file tv_play.h.
Referenced by AddKeyToInputQueue().
|
inlinestatic |
Definition at line 741 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
Definition at line 742 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
Definition at line 744 of file tv_play.h.
Referenced by ActiveHandleAction(), and HandleTrackAction().
|
inlinestatic |
Definition at line 745 of file tv_play.h.
Referenced by HandleLCDTimerEvent().
|
inlinestatic |
Definition at line 746 of file tv_play.h.
Referenced by TVBrowseHelper::BrowseDispInfo().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 749 of file tv_play.h.
Referenced by ShowOSDSleep().
|
inlinestatic |
Definition at line 750 of file tv_play.h.
Referenced by ShowOSDIdle().
|
inlinestatic |
Definition at line 751 of file tv_play.h.
Referenced by ShowOSDPromptDeleteRecording().
|
inlinestatic |
Definition at line 752 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent().
|
inlinestatic |
|
inlinestatic |
Definition at line 754 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), and Init().
|
inlinestatic |
Definition at line 755 of file tv_play.h.
Referenced by Init(), and timerEvent().
|
inlinestatic |
Definition at line 756 of file tv_play.h.
Referenced by HandleStateChange().
|
inlinestatic |
|
inlinestatic |
Definition at line 761 of file tv_play.h.
Referenced by HandleStateChange().