MythTV
master
|
#include <libmythtv/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 } |
using | string_pair = QPair< QString, QString > |
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, const QString &arg="") |
bool | IsTunablePriv (uint ChanId) |
void | ChangeChannel (const ChannelInfoList &Options) |
void | DoEditSchedule (int EditType=kScheduleProgramGuide, const QString &EditArg="") |
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 | FillOSDMenuCast (void) |
void | FillOSDMenuActorShows (const QString &actor, int person_id, const QString &category="") |
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 () |
void | RetrieveCast (const ProgramInfo &ProgInfo) |
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 | FillOSDMenuCastButton (MythOSDDialogData &dialog, const QVector< string_pair > &people) |
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 EMBEDRETURNVOIDPROGLIST | RunProgramListPtr = 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 |
|
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 1008 of file tv_play.cpp.
|
overrideprivate |
Definition at line 1226 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 173 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 287 of file tv_play.cpp.
Referenced by GuideGrid::customEvent(), anonymous_namespace{mythfrontend.cpp}::BookmarkDialog::customEvent(), internal_play_media(), main(), PlaybackBox::Play(), and startTVNormal().
|
static |
Check whether playback is paused.
This is currently used by MythAirplayServer.
Definition at line 4883 of file tv_play.cpp.
Referenced by MythAirplayServer::PausePlayback().
|
static |
Definition at line 494 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 477 of file tv_play.cpp.
Referenced by SetFuncPtrs().
|
static |
If any cards are configured, return the number.
Definition at line 118 of file tv_play.cpp.
Referenced by isLiveTVAvailable(), and StartTV().
Definition at line 6757 of file tv_play.cpp.
Referenced by GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::run(), GuideGrid::RunProgramGuide(), and GuideGrid::updateChannelsNonUI().
void TV::ReloadKeys | ( | ) |
Definition at line 968 of file tv_play.cpp.
bool TV::IsSameProgram | ( | const ProgramInfo * | ProgInfo | ) | const |
Definition at line 10439 of file tv_play.cpp.
Referenced by extract_main_state(), PlaybackBox::PlayX(), and PlaybackBox::ShowActionPopup().
|
overrideslot |
This handles all standard events.
Definition at line 3028 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 2981 of file tv_play.cpp.
|
overrideslot |
Definition at line 2410 of file tv_play.cpp.
|
slot |
Definition at line 268 of file tv_play.cpp.
Referenced by InitFromDB(), and onApplicationStateChange().
|
slot |
Definition at line 7739 of file tv_play.cpp.
Referenced by OSD::OSD().
|
signal |
Referenced by GuideGrid::GuideGrid(), and StopStuff().
|
protectedslot |
Definition at line 10501 of file tv_play.cpp.
Referenced by TV().
|
overrideprotectedslot |
This handles all custom events.
Definition at line 7266 of file tv_play.cpp.
Referenced by eventFilter().
|
protectedslot |
Definition at line 7013 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), GuideGrid::GuideGrid(), and PictureAttributeHandleAction().
|
privateslot |
Definition at line 6834 of file tv_play.cpp.
Referenced by TV().
|
private |
Return a pointer to TV::m_playerContext.
Definition at line 193 of file tv_play.cpp.
Referenced by TVBrowseHelper::BrowseChannel(), TVBrowseHelper::BrowseStart(), GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::GetNextProgram(), IsPaused(), IsTunable(), StartTV(), and GuideGrid::updateChannelsNonUI().
Definition at line 198 of file tv_play.cpp.
Referenced by StartPlayer(), and SwitchInputs().
|
private |
Definition at line 234 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 140 of file tv_play.cpp.
Referenced by IsPaused(), IsTunable(), IsTVRunning(), and StartTV().
|
private |
Performs instance initialization, returns true on success.
Definition at line 1144 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 1036 of file tv_play.cpp.
Referenced by TV().
|
staticprivate |
Definition at line 3216 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 1522 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 1901 of file tv_play.cpp.
Referenced by StartTV().
|
private |
|
private |
Definition at line 3294 of file tv_play.cpp.
Referenced by event().
|
private |
Definition at line 3281 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3250 of file tv_play.cpp.
Referenced by TranslateKeyPressOrGesture().
|
private |
Definition at line 4292 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 3095 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and OSDDialogEvent().
|
private |
Definition at line 3792 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 3531 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 8086 of file tv_play.cpp.
Referenced by customEvent().
Definition at line 4097 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 4060 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 4184 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 9803 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
Definition at line 4993 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 3682 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3776 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 2685 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 2693 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 2937 of file tv_play.cpp.
Referenced by ChangeSpeed(), ChangeTimeStretch(), DoPlay(), DoTogglePauseFinish(), NormalSpeed(), PauseLiveTV(), SetFFRew(), StartPlayer(), StopFFRew(), SwitchInputs(), and UnpauseLiveTV().
|
private |
Definition at line 2817 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2848 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2878 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2903 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2944 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7111 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 9876 of file tv_play.cpp.
|
private |
Definition at line 2629 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2670 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 10385 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7005 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), FillOSDMenuActorShows(), HandleJumpToProgramAction(), and OSDDialogEvent().
Definition at line 6773 of file tv_play.cpp.
Referenced by ChangeChannel(), and HandleStateChange().
|
staticprivate |
Definition at line 6790 of file tv_play.cpp.
Referenced by ChangeChannel(), IsTunable(), IsTunablePriv(), and RequestNextRecorder().
|
private |
Definition at line 6233 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), TVBrowseHelper::BrowseEnd(), ChangeChannel(), GuideGrid::channelUpdate(), CommitQueuedInput(), HandlePseudoLiveTVTimerEvent(), and ProcessNetworkControlCommand().
|
private |
Definition at line 6878 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 10423 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 1334 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and GuideGrid::~GuideGrid().
|
private |
Definition at line 10461 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 10479 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 10486 of file tv_play.cpp.
Referenced by customEvent(), and ScheduleStateChange().
|
private |
Definition at line 10491 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 10496 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 9755 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7664 of file tv_play.cpp.
Referenced by BrowseHandleAction(), and ToggleHandleAction().
Definition at line 1933 of file tv_play.cpp.
Referenced by PrepareToExitPlayer().
Definition at line 1938 of file tv_play.cpp.
Referenced by GetRecordingGroup(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleStateChange(), and OSDDialogEvent().
Definition at line 1947 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 1357 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 1975 of file tv_play.cpp.
Referenced by LiveTV(), Playback(), and ScheduleStateChange().
|
private |
Definition at line 1366 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 2698 of file tv_play.cpp.
Referenced by HandleEndOfPlaybackTimerEvent(), and timerEvent().
|
private |
Definition at line 2704 of file tv_play.cpp.
Referenced by customEvent(), ForceNextStateNone(), StartPlayer(), and SwitchInputs().
|
private |
Definition at line 2727 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and SwitchSource().
|
private |
Definition at line 2744 of file tv_play.cpp.
Referenced by HandleStateChange(), StartRecorder(), and SwitchInputs().
|
inlineprivate |
Definition at line 291 of file tv_play.h.
Referenced by OSDDialogEvent(), and StartTV().
|
inlineprivate |
|
private |
Definition at line 2751 of file tv_play.cpp.
Referenced by Embed(), and HandleJumpToProgramAction().
|
private |
Definition at line 2761 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), PrepToSwitchToRecordedProgram(), ProcessNetworkControlCommand(), and StopPlayback().
Definition at line 2800 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 1550 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 2325 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 2375 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchInputs().
Definition at line 4762 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 315 of file tv_play.h.
Referenced by PrepareToExitPlayer(), and StartTV().
|
inlineprivate |
|
private |
Definition at line 10185 of file tv_play.cpp.
Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().
|
staticprivate |
Definition at line 5764 of file tv_play.cpp.
Referenced by ToggleHandleAction().
|
private |
Definition at line 5771 of file tv_play.cpp.
|
private |
Definition at line 5997 of file tv_play.cpp.
|
private |
Definition at line 6091 of file tv_play.cpp.
|
private |
Definition at line 6254 of file tv_play.cpp.
Referenced by PopPreviousChannel().
|
private |
Definition at line 6263 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 5826 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 5811 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), Init(), and timerEvent().
|
private |
Definition at line 5943 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), ProcessNetworkControlCommand(), and timerEvent().
|
private |
Definition at line 5873 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
inlineprivate |
Definition at line 337 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), CommitQueuedInput(), ProcessKeypressOrGesture(), and SeekHandleAction().
|
inlineprivate |
Definition at line 338 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), and timerEvent().
|
private |
Definition at line 5777 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
private |
Definition at line 5782 of file tv_play.cpp.
Referenced by DoArbSeek(), and HandleTrackAction().
|
private |
Definition at line 5787 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessSmartChannel().
|
inlineprivate |
Definition at line 344 of file tv_play.h.
Referenced by ChangeChannel(), and CommitQueuedInput().
|
private |
Definition at line 5549 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
Definition at line 5605 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), ChangeChannel(), and ScheduleInputChange().
|
private |
Used in ChangeChannel() to temporarily stop video output.
Definition at line 9971 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ChangeChannel().
Used in ChangeChannel() to restart video output.
Definition at line 10008 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), and SwitchInputs().
|
private |
Definition at line 4785 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 4819 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 4848 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 4905 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeSpeed(), HandleOSDAlreadyEditing(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().
Definition at line 6867 of file tv_play.cpp.
Referenced by DoEditSchedule(), and Embed().
|
private |
Definition at line 10451 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 10403 of file tv_play.cpp.
Referenced by customEvent(), FillOSDMenuJumpRec(), PrepToSwitchToRecordedProgram(), StartTV(), and timerEvent().
|
private |
Definition at line 10415 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and StartTV().
Definition at line 5077 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoArbSeek(), DoJumpFFWD(), DoJumpRWND(), DoSeekAbsolute(), DoSeekFFWD(), DoSeekRWND(), DVDJumpBack(), DVDJumpForward(), ProcessNetworkControlCommand(), and SeekHandleAction().
|
private |
Definition at line 4928 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPlay(), DoSeek(), DoTogglePauseFinish(), and FFRewHandleAction().
|
private |
Definition at line 4964 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoSeek(), and SeekHandleAction().
|
private |
Definition at line 5114 of file tv_play.cpp.
Referenced by customEvent(), DoArbSeek(), and ProcessNetworkControlCommand().
|
private |
Definition at line 5128 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and SeekHandleAction().
|
private |
Definition at line 10055 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 10070 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 10065 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 10080 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 5165 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), DoJumpChapter(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
private |
Definition at line 5180 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 7045 of file tv_play.cpp.
Referenced by OSDDialogEvent(), TimeStretchHandleAction(), and ToggleHandleAction().
Definition at line 7059 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), ProcessNetworkControlCommand(), TimeStretchHandleAction(), and ToggleTimeStretch().
|
private |
Definition at line 10088 of file tv_play.cpp.
Referenced by DoJumpRWND().
|
private |
Definition at line 10121 of file tv_play.cpp.
Referenced by DoJumpFFWD().
|
private |
Definition at line 5228 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 5253 of file tv_play.cpp.
Referenced by SeekHandleAction().
|
private |
Definition at line 5286 of file tv_play.cpp.
Referenced by ChangeFFRew(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
private |
Definition at line 3707 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 5380 of file tv_play.cpp.
Referenced by DoJumpFFWD(), DoJumpRWND(), and PlaybackMenuInit().
|
private |
Definition at line 5390 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5398 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5423 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5433 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5473 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5484 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5494 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 5443 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5453 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5463 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5510 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 5408 of file tv_play.cpp.
Referenced by customEvent(), DoJumpFFWD(), DoJumpRWND(), DVDJumpBack(), DVDJumpForward(), and OSDDialogEvent().
|
private |
Definition at line 5526 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 9778 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 5331 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 10159 of file tv_play.cpp.
Definition at line 4166 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
|
private |
Definition at line 6294 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 6310 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and StartOsdNavigation().
|
private |
Update and display the passed OSD set with programinfo.
Definition at line 6376 of file tv_play.cpp.
Referenced by ToggleOSD(), and UnpauseLiveTV().
|
private |
Definition at line 6402 of file tv_play.cpp.
Referenced by ChangeTimeStretch(), DoSkipCommercials(), DoTogglePictureAttribute(), PictureAttributeHandleAction(), SetBookmark(), ToggleOSD(), and UpdateOSDSeekMessage().
|
private |
Definition at line 6388 of file tv_play.cpp.
|
private |
Definition at line 6416 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 6430 of file tv_play.cpp.
Referenced by ChangeChannel(), HandleStateChange(), and SwitchInputs().
|
private |
Updates Signal portion of OSD...
Definition at line 6441 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 6599 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
Definition at line 6658 of file tv_play.cpp.
Referenced by DoSkipCommercials(), GetStatus(), HandleLCDTimerEvent(), ProcessNetworkControlCommand(), SetBookmark(), ToggleOSD(), and UpdateOSDSeekMessage().
|
private |
Definition at line 6671 of file tv_play.cpp.
Referenced by ChangeChannel(), ClearInputQueues(), CommitQueuedInput(), OSDDialogEvent(), and PopPreviousChannel().
|
private |
Definition at line 3730 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3753 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7790 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 3653 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7768 of file tv_play.cpp.
Referenced by DoTogglePictureAttribute().
|
private |
Definition at line 9739 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Restart the MHEG/MHP engine.
Definition at line 10036 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchInputs(), and UnpauseLiveTV().
|
private |
Definition at line 9794 of file tv_play.cpp.
Referenced by ManualZoomHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 3576 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Starts channel editing mode.
Definition at line 7959 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Processes channel editing key.
Definition at line 8003 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Automatically fills in as much information as possible.
Definition at line 8039 of file tv_play.cpp.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Definition at line 8049 of file tv_play.cpp.
Referenced by ChannelEditAutoFill().
|
private |
Definition at line 8520 of file tv_play.cpp.
Referenced by HandleOSDAlreadyEditing(), HandleOSDAskAllow(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleOSDIdle(), HandleOSDInfo(), HandleOSDSleep(), and HandleOSDVideoExit().
|
private |
Definition at line 8530 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9940 of file tv_play.cpp.
Referenced by ChangeChannel(), and RequestNextRecorder().
|
private |
Definition at line 1644 of file tv_play.cpp.
Referenced by AskAllowRecording().
|
private |
Definition at line 1863 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 1603 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 7826 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 7870 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Starts Program Cut Map Editing mode.
Definition at line 7893 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 7908 of file tv_play.cpp.
Referenced by StartProgramEditMode().
|
private |
Definition at line 7922 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7137 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7153 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7174 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 7192 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7208 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7231 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 10200 of file tv_play.cpp.
Referenced by ActiveHandleAction().
Definition at line 10240 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleOSDVideoExit().
|
private |
Definition at line 10341 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7988 of file tv_play.cpp.
Referenced by ToggleHandleAction().
Definition at line 9442 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 9460 of file tv_play.cpp.
Referenced by HandleJumpToProgramAction(), and OSDDialogEvent().
|
staticprivate |
Definition at line 9635 of file tv_play.cpp.
Referenced by FillOSDMenuCast().
|
private |
Definition at line 9654 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9666 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9360 of file tv_play.cpp.
Referenced by customEvent(), ShowOSDCutpoint(), and ShowOSDMenu().
|
overrideprivatevirtual |
Implements MythTVMenuItemDisplayer.
Definition at line 8548 of file tv_play.cpp.
|
private |
Definition at line 8692 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 8557 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 9265 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
private |
Definition at line 9355 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
staticprivate |
Definition at line 9393 of file tv_play.cpp.
|
private |
Definition at line 9258 of file tv_play.cpp.
|
private |
Definition at line 7249 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 6679 of file tv_play.cpp.
Referenced by HandleStateChange(), and UnpauseLiveTV().
|
private |
Definition at line 6687 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().
|
private |
Definition at line 6713 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent().
|
private |
Definition at line 9567 of file tv_play.cpp.
Referenced by Playback().
|
friend |
|
friend |
|
inlinestaticprivate |
Definition at line 195 of file tv_play.h.
Referenced by StartTV(), and timerEvent().
|
inlinestaticprivate |
Definition at line 196 of file tv_play.h.
Referenced by DoEditSchedule(), HandleJumpToProgramAction(), 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().
|
inlinestaticprivate |
Definition at line 199 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 200 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 201 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
private |
Definition at line 517 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 520 of file tv_play.h.
Referenced by InitFromDB(), and ShowOSDAskAllow().
|
private |
Definition at line 521 of file tv_play.h.
Referenced by HandleOSDIdle(), InitFromDB(), LiveTV(), ProcessKeypressOrGesture(), and ShowOSDIdle().
|
private |
Definition at line 522 of file tv_play.h.
Referenced by ActiveHandleAction(), and InitFromDB().
|
private |
Definition at line 523 of file tv_play.h.
Referenced by InitFromDB(), and QuickRecord().
Definition at line 524 of file tv_play.h.
Referenced by InitFromDB(), and PrepareToExitPlayer().
Definition at line 525 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and InitFromDB().
Definition at line 526 of file tv_play.h.
Referenced by HandleJumpToProgramAction(), and InitFromDB().
Definition at line 527 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and InitFromDB().
Definition at line 528 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and InitFromDB().
Definition at line 529 of file tv_play.h.
Referenced by DoQueueTranscode(), and InitFromDB().
Definition at line 530 of file tv_play.h.
Referenced by DoEditSchedule(), and InitFromDB().
Definition at line 531 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and InitFromDB().
Definition at line 532 of file tv_play.h.
Referenced by InitFromDB().
Definition at line 533 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), MenuItemDisplayPlayback(), OSDDialogEvent(), and UpdateChannelList().
Definition at line 534 of file tv_play.h.
Referenced by InitFromDB(), and UpdateChannelList().
|
private |
Definition at line 535 of file tv_play.h.
Referenced by InitFromDB(), and MenuItemDisplayPlayback().
Definition at line 537 of file tv_play.h.
Referenced by InitFromDB(), and SeekHandleAction().
|
private |
Definition at line 538 of file tv_play.h.
Referenced by InitFromDB(), and StopFFRew().
Definition at line 539 of file tv_play.h.
Referenced by ChangeFFRew(), and InitFromDB().
|
private |
Definition at line 540 of file tv_play.h.
Referenced by ChangeFFRew(), FFRewHandleAction(), InitFromDB(), ProcessNetworkControlCommand(), SetFFRew(), and StopFFRew().
|
private |
Definition at line 542 of file tv_play.h.
Referenced by AddKeyToInputQueue(), HandleTrackAction(), and InitFromDB().
|
private |
Definition at line 543 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 547 of file tv_play.h.
Referenced by Playback(), PlaybackLoop(), SetExitPlayer(), and StartTV().
True if time stretch is turned on.
Definition at line 548 of file tv_play.h.
Referenced by ChangeTimeStretch(), HandleOSDClosed(), and TimeStretchHandleAction().
True if audiosync is turned on.
Definition at line 549 of file tv_play.h.
Referenced by AudioSyncHandleAction(), HandleOSDClosed(), and TV().
True if subtitle zoom is turned on.
Definition at line 550 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleZoomHandleAction(), and TV().
True if subtitle delay is turned on.
Definition at line 551 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleDelayHandleAction(), and TV().
Definition at line 552 of file tv_play.h.
Referenced by ManualZoomHandleAction(), and SetManualZoom().
Are we in signal monitoring mode?
Definition at line 553 of file tv_play.h.
Referenced by ActiveHandleAction().
!player->IsPlaying() && StateIsPlaying()
Definition at line 554 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().
User wants last video deleted.
Definition at line 555 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 556 of file tv_play.h.
Referenced by HandleOSDVideoExit(), LiveTV(), and Playback().
Definition at line 557 of file tv_play.h.
Referenced by HandleOSDClosed(), SeekHandleAction(), and UpdateOSDSeekMessage().
Definition at line 558 of file tv_play.h.
Referenced by DoQueueTranscode().
False until first timer event.
Definition at line 559 of file tv_play.h.
Referenced by HandleSaveLastPlayPosEvent(), and PrepareToExitPlayer().
False unless requested by user on playback exit.
Definition at line 560 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDVideoExit(), and PrepareToExitPlayer().
|
private |
Picture attribute type to modify.
Definition at line 562 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), and PictureAttributeHandleAction().
|
private |
Picture attribute to modify (on arrow left or right)
Definition at line 564 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), OSDDialogEvent(), and PictureAttributeHandleAction().
|
private |
Definition at line 567 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
|
private |
Definition at line 568 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
|
private |
Definition at line 570 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
private |
Definition at line 571 of file tv_play.h.
Referenced by FillOSDMenuActorShows(), FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
private |
Definition at line 573 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
private |
Definition at line 574 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
private |
Definition at line 575 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
mutableprivate |
Lock for chanEditMap and ddMap.
Definition at line 577 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Channel Editing initial map.
Definition at line 578 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
staticprivate |
Definition at line 580 of file tv_play.h.
Referenced by ToggleSleepTimer().
|
private |
Index into sleep_times.
Definition at line 582 of file tv_play.h.
Referenced by Init(), and ToggleSleepTimer().
|
private |
Current sleep timeout in msec.
Definition at line 583 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), and ToggleSleepTimer().
|
private |
Timer for turning off playback.
Definition at line 584 of file tv_play.h.
Referenced by HandleOSDSleep(), MenuItemDisplayPlayback(), ShowOSDSleep(), timerEvent(), and ToggleSleepTimer().
|
private |
Timer for sleep dialog.
Definition at line 585 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), SleepDialogTimeout(), and timerEvent().
|
private |
Timer for turning off playback after idle period.
Definition at line 587 of file tv_play.h.
Referenced by HandleOSDIdle(), LiveTV(), ProcessKeypressOrGesture(), ShowOSDIdle(), and timerEvent().
|
private |
Timer for idle dialog.
Definition at line 588 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 595 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
Are we in Arbitrary seek input mode?
Definition at line 599 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
|
private |
Input key presses queued up so far...
Definition at line 603 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 605 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 607 of file tv_play.h.
Referenced by ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), and timerEvent().
|
private |
Initial chanid override for Live TV.
Definition at line 609 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 616 of file tv_play.h.
Referenced by ConvertScreenPressKeyMap().
|
private |
Definition at line 617 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
|
private |
Definition at line 618 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
|
private |
Definition at line 621 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), SwitchInputs(), and UpdateOSDTimeoutMessage().
Definition at line 622 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDInfo(), HandleStateChange(), PauseLiveTV(), SwitchInputs(), UpdateOSDSignal(), and UpdateOSDTimeoutMessage().
|
private |
Definition at line 623 of file tv_play.h.
Referenced by HandleStateChange(), and UpdateOSDSignal().
|
mutableprivate |
Definition at line 627 of file tv_play.h.
Referenced by GetLastProgram(), and SetLastProgram().
|
private |
last program played with this player
Definition at line 628 of file tv_play.h.
Referenced by GetLastProgram(), MenuItemDisplayPlayback(), SetLastProgram(), timerEvent(), and ~TV().
show is part of a playlist
Definition at line 629 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleStateChange(), and MenuItemDisplayPlayback().
initial show started via by the network control interface
Definition at line 630 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleStateChange().
Definition at line 633 of file tv_play.h.
Referenced by customEvent(), HandleJumpToProgramAction(), LiveTV(), Playback(), PrepToSwitchToRecordedProgram(), ScheduleStateChange(), and timerEvent().
|
private |
Definition at line 636 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(), FillOSDMenuCast(), 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 639 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 641 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 647 of file tv_play.h.
Referenced by Init(), LiveTV(), and RequestNextRecorder().
|
private |
Definition at line 650 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 651 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 652 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 655 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 657 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and Init().
|
private |
Definition at line 659 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and ~TV().
true if this instance disabled MythUI drawing.
Definition at line 661 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), HandleStateChange(), and ~TV().
should we ignore keypresses
Definition at line 664 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), and eventFilter().
saved pause state before embedding
Definition at line 665 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 671 of file tv_play.h.
Referenced by ChangeChannel(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 672 of file tv_play.h.
Referenced by ChangeChannel(), DoEditSchedule(), InitFromDB(), MenuItemDisplayPlayback(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 673 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 676 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 679 of file tv_play.h.
Referenced by HandleLCDTimerEvent(), Init(), timerEvent(), and UpdateLCD().
|
private |
Definition at line 680 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), timerEvent(), and VolumeChange().
|
private |
Definition at line 681 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 682 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 683 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 684 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessSmartChannel(), and timerEvent().
|
private |
Definition at line 685 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and timerEvent().
|
private |
Definition at line 686 of file tv_play.h.
Referenced by HandleStateChange(), and timerEvent().
|
private |
Definition at line 687 of file tv_play.h.
Referenced by HandleVideoExitDialogTimerEvent(), ShowOSDPromptDeleteRecording(), and timerEvent().
|
private |
Definition at line 688 of file tv_play.h.
Referenced by customEvent(), HandlePseudoLiveTVTimerEvent(), and timerEvent().
|
private |
Definition at line 689 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), Init(), SetSpeedChangeTimer(), and timerEvent().
|
private |
Definition at line 690 of file tv_play.h.
Referenced by Init(), SetErrored(), and timerEvent().
|
mutableprivate |
Definition at line 691 of file tv_play.h.
Referenced by HandleEndOfRecordingExitPromptTimerEvent(), SetExitPlayer(), ShowOSDPromptDeleteRecording(), StartRecorder(), and timerEvent().
|
private |
Definition at line 692 of file tv_play.h.
Referenced by Init(), and timerEvent().
|
private |
Definition at line 693 of file tv_play.h.
Referenced by timerEvent(), and UpdateOSDSignal().
|
private |
Definition at line 699 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 700 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 703 of file tv_play.h.
Referenced by PlaybackMenuInit().
Definition at line 706 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 709 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 710 of file tv_play.h.
Referenced by 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 714 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 715 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 716 of file tv_play.h.
Referenced by MenuLazyInit(), and PlaybackMenuInit().
Definition at line 717 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 718 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 719 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 720 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 721 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 724 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 725 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 726 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 727 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 728 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 729 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 730 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 732 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 733 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 735 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 736 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 738 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and MenuItemDisplayPlayback().
|
private |
Definition at line 741 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 742 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 743 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
private |
Definition at line 744 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
inlinestatic |
Definition at line 747 of file tv_play.h.
Referenced by ChangeFFRew(), PlayerContext::HandlePlayerSpeedChangeFFRew(), Init(), ProcessNetworkControlCommand(), and StopFFRew().
|
inlinestatic |
Definition at line 748 of file tv_play.h.
Referenced by AddKeyToInputQueue().
|
inlinestatic |
Definition at line 749 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
Definition at line 750 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
Definition at line 752 of file tv_play.h.
Referenced by ActiveHandleAction(), and HandleTrackAction().
|
inlinestatic |
Definition at line 753 of file tv_play.h.
Referenced by HandleLCDTimerEvent().
|
inlinestatic |
Definition at line 754 of file tv_play.h.
Referenced by TVBrowseHelper::BrowseDispInfo().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 757 of file tv_play.h.
Referenced by ShowOSDSleep().
|
inlinestatic |
Definition at line 758 of file tv_play.h.
Referenced by ShowOSDIdle().
|
inlinestatic |
Definition at line 759 of file tv_play.h.
Referenced by ShowOSDPromptDeleteRecording().
|
inlinestatic |
Definition at line 760 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent().
|
inlinestatic |
|
inlinestatic |
Definition at line 762 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), and Init().
|
inlinestatic |
Definition at line 763 of file tv_play.h.
Referenced by Init(), and timerEvent().
|
inlinestatic |
Definition at line 764 of file tv_play.h.
Referenced by HandleStateChange().
|
inlinestatic |
|
inlinestatic |
Definition at line 769 of file tv_play.h.
Referenced by HandleStateChange().