|
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) |
Public Slots inherited from TVPlaybackState | |
| 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) |
Signals inherited from TVPlaybackState | |
| 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 () |
| MThreadPool * | GetPosThreadPool () |
| bool | IsSameProgram (const ProgramInfo *ProgInfo) const |
Public Member Functions inherited from TVPlaybackState | |
| TVPlaybackState ()=default | |
Public Member Functions inherited from MythTVMenuItemDisplayer | |
| virtual | ~MythTVMenuItemDisplayer ()=default |
| virtual bool | MenuItemDisplay (const MythTVMenuItemContext &Context, MythOSDDialogData *Menu)=0 |
Public Member Functions inherited from ReferenceCounter | |
| 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 Public Member Functions inherited from ReferenceCounter | |
| 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 | |
Protected Member Functions inherited from ReferenceCounter | |
| virtual | ~ReferenceCounter (void) |
| Called on destruction, will warn if object deleted with references in place. More... | |
Protected Member Functions inherited from TVBrowseHelper | |
| 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... | |
Protected Member Functions inherited from MThread | |
| virtual void | run (void) |
| Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead. 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 Protected Member Functions inherited from MThread | |
| static void | setTerminationEnabled (bool enabled=true) |
| 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) |
Protected Attributes inherited from TVPlaybackState | |
| MythOverlayState | m_overlayState |
| MythAudioPlayerState | m_audioPlayerState { } |
| MythAudioState | m_audioState |
| MythCaptionsState | m_captionsState { } |
| MythVideoBoundsState | m_videoBoundsState |
| MythVideoColourState | m_videoColourState |
| MythVisualiserState | m_visualiserState |
| MythEditorState | m_editorState |
Protected Attributes inherited from ReferenceCounter | |
| bool | m_logDebug |
| This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
| QAtomicInt | m_referenceCount {1} |
Protected Attributes inherited from TVBrowseHelper | |
| int | m_browseTimerId { 0 } |
Protected Attributes inherited from MThread | |
| MThreadInternal * | m_thread {nullptr} |
| QRunnable * | m_runnable {nullptr} |
| bool | m_prologExecuted {true} |
| bool | m_epilogExecuted {true} |
Control TV playback.
\qmlsignal TVPlaybackAborted() TV playback failed to start (typically, TV playback was started when another playback is currently going) \qmlsignal TVPlaybackStarted() TV playback has started, video is now playing \qmlsignal TVPlaybackStopped() TV playback has stopped and playback has exited \qmlsignal TVPlaybackUnpaused() TV playback has resumed, following a Pause action \qmlsignal TVPlaybackPaused() TV playback has been paused \qmlsignal TVPlaybackSought(qint position_seconds) Absolute seek has completed to position_seconds
|
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 1227 of file tv_play.cpp.
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 |
Definition at line 3797 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 4189 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ProcessKeypressOrGesture().
|
private |
Definition at line 5831 of file tv_play.cpp.
Referenced by ActiveHandleAction(), BrowseHandleAction(), HandleTrackAction(), and ProcessKeypressOrGesture().
|
private |
Definition at line 1608 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 3712 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3536 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
Definition at line 6663 of file tv_play.cpp.
Referenced by DoSkipCommercials(), GetStatus(), HandleLCDTimerEvent(), ProcessNetworkControlCommand(), SetBookmark(), ToggleOSD(), and UpdateOSDSeekMessage().
|
private |
Definition at line 6002 of file tv_play.cpp.
|
private |
Definition at line 6238 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), TVBrowseHelper::BrowseEnd(), ChangeChannel(), GuideGrid::channelUpdate(), CommitQueuedInput(), HandlePseudoLiveTVTimerEvent(), and ProcessNetworkControlCommand().
|
private |
Definition at line 6096 of file tv_play.cpp.
|
private |
Definition at line 5258 of file tv_play.cpp.
Referenced by SeekHandleAction().
|
private |
Definition at line 5185 of file tv_play.cpp.
Referenced by ActiveHandleAction().
Definition at line 7064 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), ProcessNetworkControlCommand(), TimeStretchHandleAction(), and ToggleTimeStretch().
|
private |
Automatically fills in as much information as possible.
Definition at line 8044 of file tv_play.cpp.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Definition at line 8054 of file tv_play.cpp.
Referenced by ChannelEditAutoFill().
|
private |
Clear channel key buffer of input keys.
| Hideosd | if true, hides "channel_number" OSDSet. |
Definition at line 5816 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), Init(), and timerEvent().
|
private |
Definition at line 6299 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AudioSyncHandleAction(), TVBrowseHelper::BrowseStart(), DoEditSchedule(), HandleVideoExitDialogTimerEvent(), ProcessNetworkControlCommand(), SetManualZoom(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), SubtitleDelayHandleAction(), SubtitleZoomHandleAction(), and TimeStretchHandleAction().
|
private |
Definition at line 5948 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), ProcessNetworkControlCommand(), and timerEvent().
|
static |
If any cards are configured, return the number.
Definition at line 118 of file tv_play.cpp.
Referenced by isLiveTVAvailable(), and StartTV().
|
private |
Definition at line 10456 of file tv_play.cpp.
Referenced by ChangeChannel(), ChangeSpeed(), DoSetPauseState(), DoTogglePauseFinish(), HandleOSDAlreadyEditing(), ITVRestart(), OSDDialogEvent(), ProcessNetworkControlCommand(), SeekHandleAction(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), and ToggleOSD().
|
staticprivate |
Definition at line 3221 of file tv_play.cpp.
Referenced by InitFromDB().
Definition at line 198 of file tv_play.cpp.
Referenced by StartPlayer(), and SwitchInputs().
|
overrideprotectedslot |
This handles all custom events.
Definition at line 7271 of file tv_play.cpp.
Referenced by eventFilter().
|
private |
|
private |
Definition at line 8525 of file tv_play.cpp.
Referenced by HandleOSDAlreadyEditing(), HandleOSDAskAllow(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleOSDIdle(), HandleOSDInfo(), HandleOSDSleep(), and HandleOSDVideoExit().
|
private |
Definition at line 3781 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 5133 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and SeekHandleAction().
|
private |
Definition at line 6883 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 5413 of file tv_play.cpp.
Referenced by customEvent(), DoJumpFFWD(), DoJumpRWND(), DVDJumpBack(), DVDJumpForward(), and OSDDialogEvent().
|
private |
Definition at line 10059 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 10074 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 4790 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 4933 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPlay(), DoSeek(), DoTogglePauseFinish(), and FFRewHandleAction().
|
private |
Definition at line 4969 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoSeek(), and SeekHandleAction().
|
private |
Definition at line 5336 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
Definition at line 5082 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoArbSeek(), DoJumpFFWD(), DoJumpRWND(), DoSeekAbsolute(), DoSeekFFWD(), DoSeekRWND(), DVDJumpBack(), DVDJumpForward(), ProcessNetworkControlCommand(), and SeekHandleAction().
|
private |
Definition at line 5119 of file tv_play.cpp.
Referenced by customEvent(), DoArbSeek(), and ProcessNetworkControlCommand().
|
private |
Definition at line 10069 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 10084 of file tv_play.cpp.
Referenced by OSDDialogEvent().
Definition at line 6872 of file tv_play.cpp.
Referenced by DoEditSchedule(), and Embed().
|
private |
Definition at line 5531 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 5515 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 5499 of file tv_play.cpp.
Referenced by customEvent(), and OSDDialogEvent().
|
private |
Definition at line 4910 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeSpeed(), HandleOSDAlreadyEditing(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().
|
private |
Definition at line 4853 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 4824 of file tv_play.cpp.
Referenced by DoSetPauseState(), and DoTogglePause().
|
private |
Definition at line 7795 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 10092 of file tv_play.cpp.
Referenced by DoJumpRWND().
|
private |
Definition at line 10125 of file tv_play.cpp.
Referenced by DoJumpFFWD().
|
private |
Definition at line 7010 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), FillOSDMenuActorShows(), HandleJumpToProgramAction(), and OSDDialogEvent().
|
privateslot |
Definition at line 6839 of file tv_play.cpp.
|
overrideslot |
This handles all standard events.
Definition at line 3033 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 2986 of file tv_play.cpp.
|
private |
Definition at line 4065 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 9670 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 9658 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
staticprivate |
Definition at line 9639 of file tv_play.cpp.
Referenced by FillOSDMenuCast().
|
private |
Definition at line 9465 of file tv_play.cpp.
Referenced by HandleJumpToProgramAction(), and OSDDialogEvent().
|
private |
Definition at line 2703 of file tv_play.cpp.
Referenced by HandleEndOfPlaybackTimerEvent(), and timerEvent().
|
inlineprivate |
|
private |
Definition at line 5468 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5395 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5458 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5403 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5438 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
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 317 of file tv_play.h.
Referenced by PrepareToExitPlayer(), and StartTV().
|
inlineprivate |
|
private |
Definition at line 10420 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and StartTV().
|
private |
Definition at line 7254 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 5448 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 5385 of file tv_play.cpp.
Referenced by DoJumpFFWD(), DoJumpRWND(), and PlaybackMenuInit().
|
private |
Definition at line 5428 of file tv_play.cpp.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 10466 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 |
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().
|
private |
Definition at line 10496 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 10491 of file tv_play.cpp.
Referenced by customEvent(), and ScheduleStateChange().
| MThreadPool * TV::GetPosThreadPool | ( | ) |
Definition at line 10521 of file tv_play.cpp.
Referenced by HandleSaveLastPlayPosEvent(), and ~TV().
|
inlineprivate |
Definition at line 346 of file tv_play.h.
Referenced by ChangeChannel(), and CommitQueuedInput().
|
private |
Definition at line 5792 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessSmartChannel().
|
private |
Definition at line 5782 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
private |
Definition at line 5787 of file tv_play.cpp.
Referenced by DoArbSeek(), and HandleTrackAction().
|
private |
Definition at line 10428 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and PlaybackBox::PlaybackBox().
|
private |
Definition at line 1366 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 |
Definition at line 1375 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 5478 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 5489 of file tv_play.cpp.
Referenced by MenuItemDisplayPlayback().
|
private |
Definition at line 2822 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2853 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 9807 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 2634 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2675 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 7927 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 1868 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Processes channel editing key.
Definition at line 8008 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
slot |
Definition at line 7744 of file tv_play.cpp.
Referenced by OSD::OSD().
|
private |
Definition at line 7875 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7213 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 8535 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 7158 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 10345 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
private |
Definition at line 2908 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 10389 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 2949 of file tv_play.cpp.
Referenced by timerEvent().
|
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 1980 of file tv_play.cpp.
Referenced by LiveTV(), Playback(), and ScheduleStateChange().
|
private |
Definition at line 3100 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and OSDDialogEvent().
|
private |
Definition at line 2883 of file tv_play.cpp.
Referenced by timerEvent().
|
inlineprivate |
Definition at line 340 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), and timerEvent().
|
inlineprivate |
Definition at line 339 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), CommitQueuedInput(), ProcessKeypressOrGesture(), and SeekHandleAction().
|
private |
Definition at line 6676 of file tv_play.cpp.
Referenced by ChangeChannel(), ClearInputQueues(), CommitQueuedInput(), OSDDialogEvent(), and PopPreviousChannel().
|
private |
Definition at line 7236 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Performs instance initialization, returns true on success.
Definition at line 1145 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 1037 of file tv_play.cpp.
Referenced by TV().
|
static |
Definition at line 494 of file tv_play.cpp.
Referenced by main(), and ReloadKeys().
|
private |
Definition at line 10163 of file tv_play.cpp.
|
private |
Definition at line 10189 of file tv_play.cpp.
Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().
|
static |
Check whether playback is paused.
This is currently used by MythAirplayServer.
Definition at line 4888 of file tv_play.cpp.
Referenced by MythAirplayServer::PausePlayback().
| bool TV::IsSameProgram | ( | const ProgramInfo * | ProgInfo | ) | const |
Definition at line 10444 of file tv_play.cpp.
Referenced by extract_main_state(), PlaybackBox::PlayX(), and PlaybackBox::ShowActionPopup().
|
inlineprivate |
Definition at line 6762 of file tv_play.cpp.
Referenced by GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::run(), GuideGrid::RunProgramGuide(), and GuideGrid::updateChannelsNonUI().
|
staticprivate |
Definition at line 6795 of file tv_play.cpp.
Referenced by ChangeChannel(), IsTunable(), IsTunablePriv(), and RequestNextRecorder().
Definition at line 6778 of file tv_play.cpp.
Referenced by ChangeChannel(), and HandleStateChange().
|
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(), MythFrontendService::PlayVideo(), Frontend::PlayVideo(), MythAirplayServer::SeekPosition(), MythAirplayServer::StartPlayback(), MythAirplayServer::StopPlayback(), and MythAirplayServer::UnpausePlayback().
|
private |
Restart the MHEG/MHP engine.
Definition at line 10040 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchInputs(), and UnpauseLiveTV().
|
private |
Definition at line 2698 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 |
Starts LiveTV.
| ShowDialogs | if true error dialogs are shown, if false they are not |
| Selection | What channel to tune. |
Definition at line 1527 of file tv_play.cpp.
Referenced by StartTV().
|
private |
Definition at line 3581 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
overrideprivatevirtual |
Implements MythTVMenuItemDisplayer.
Definition at line 8553 of file tv_play.cpp.
|
private |
Definition at line 8562 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 8697 of file tv_play.cpp.
Referenced by MenuItemDisplay().
|
private |
Definition at line 9263 of file tv_play.cpp.
|
staticprivate |
Definition at line 9398 of file tv_play.cpp.
|
private |
Definition at line 7773 of file tv_play.cpp.
Referenced by DoTogglePictureAttribute().
|
private |
Definition at line 5170 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), DoJumpChapter(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
protectedslot |
Definition at line 10506 of file tv_play.cpp.
Referenced by TV().
|
private |
Definition at line 8091 of file tv_play.cpp.
Referenced by customEvent().
|
private |
Definition at line 9743 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
|
private |
Used in ChangeChannel() to temporarily stop video output.
Definition at line 9975 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ChangeChannel().
|
private |
Definition at line 3658 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 1906 of file tv_play.cpp.
Referenced by StartTV().
|
signal |
Referenced by GuideGrid::GuideGrid(), and StopStuff().
|
private |
|
private |
Definition at line 9360 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
private |
Definition at line 9270 of file tv_play.cpp.
Referenced by PlaybackMenuShow().
|
private |
Definition at line 9365 of file tv_play.cpp.
Referenced by customEvent(), ShowOSDCutpoint(), and ShowOSDMenu().
|
private |
Definition at line 6268 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 2766 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), PrepToSwitchToRecordedProgram(), ProcessNetworkControlCommand(), and StopPlayback().
|
private |
Definition at line 2756 of file tv_play.cpp.
Referenced by Embed(), and HandleJumpToProgramAction().
|
private |
Definition at line 3299 of file tv_play.cpp.
Referenced by event().
|
private |
Definition at line 4297 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 5878 of file tv_play.cpp.
Referenced by AddKeyToInputQueue().
|
private |
Definition at line 7669 of file tv_play.cpp.
Referenced by BrowseHandleAction(), and ToggleHandleAction().
| void TV::ReloadKeys | ( | ) |
Definition at line 968 of file tv_play.cpp.
|
private |
Definition at line 1555 of file tv_play.cpp.
Referenced by LiveTV().
|
private |
Definition at line 9572 of file tv_play.cpp.
Referenced by Playback().
|
private |
Definition at line 10484 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 10501 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 2732 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and SwitchSource().
|
private |
Definition at line 2709 of file tv_play.cpp.
Referenced by customEvent(), ForceNextStateNone(), StartPlayer(), and SwitchInputs().
Definition at line 4998 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 9782 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
Definition at line 4171 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
|
private |
Definition at line 2749 of file tv_play.cpp.
Referenced by HandleStateChange(), StartRecorder(), and SwitchInputs().
Definition at line 2805 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 5291 of file tv_play.cpp.
Referenced by ChangeFFRew(), FFRewHandleAction(), and ProcessNetworkControlCommand().
|
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().
|
inlineprivate |
Definition at line 293 of file tv_play.h.
Referenced by OSDDialogEvent(), and StartTV().
|
private |
Definition at line 10408 of file tv_play.cpp.
Referenced by customEvent(), FillOSDMenuJumpRec(), PrepToSwitchToRecordedProgram(), StartTV(), and timerEvent().
|
private |
Definition at line 9798 of file tv_play.cpp.
Referenced by ManualZoomHandleAction(), and OSDDialogEvent().
|
private |
Definition at line 2942 of file tv_play.cpp.
Referenced by ChangeSpeed(), ChangeTimeStretch(), DoPlay(), DoTogglePauseFinish(), NormalSpeed(), PauseLiveTV(), SetFFRew(), StartPlayer(), StopFFRew(), SwitchInputs(), and UnpauseLiveTV().
|
inlineprivate |
|
private |
Definition at line 6692 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent(), and HandleLCDVolumeTimerEvent().
|
private |
Definition at line 6718 of file tv_play.cpp.
Referenced by HandleLCDTimerEvent().
|
private |
Definition at line 9944 of file tv_play.cpp.
Referenced by ChangeChannel(), and RequestNextRecorder().
|
private |
Definition at line 7913 of file tv_play.cpp.
Referenced by StartProgramEditMode().
|
private |
Definition at line 1649 of file tv_play.cpp.
Referenced by AskAllowRecording().
|
private |
Definition at line 7831 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
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 7197 of file tv_play.cpp.
Referenced by timerEvent().
Definition at line 9447 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().
Definition at line 10244 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleOSDVideoExit().
|
private |
Definition at line 7142 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Definition at line 10204 of file tv_play.cpp.
Referenced by ActiveHandleAction().
|
private |
Definition at line 6259 of file tv_play.cpp.
Referenced by PopPreviousChannel().
|
private |
Definition at line 7179 of file tv_play.cpp.
Referenced by timerEvent().
|
private |
Starts channel editing mode.
Definition at line 7964 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 7993 of file tv_play.cpp.
Referenced by ToggleHandleAction().
Definition at line 4767 of file tv_play.cpp.
Referenced by HandleStateChange().
|
private |
Definition at line 234 of file tv_play.cpp.
Referenced by CreatePlayer().
|
private |
Starts Program Cut Map Editing mode.
Definition at line 7898 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
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 2330 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchInputs().
|
private |
Definition at line 2690 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().
|
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().
Definition at line 1952 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().
Definition at line 1943 of file tv_play.cpp.
Referenced by GetRecordingGroup(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleStateChange(), and OSDDialogEvent().
Definition at line 1938 of file tv_play.cpp.
Referenced by PrepareToExitPlayer().
|
private |
Definition at line 5233 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), ChangeSpeed(), DoJumpChapter(), DoPlay(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePauseStart(), FFRewHandleAction(), OSDDialogEvent(), and ProcessNetworkControlCommand().
|
slot |
Definition at line 268 of file tv_play.cpp.
Referenced by InitFromDB(), and onApplicationStateChange().
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 2380 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchInputs().
|
private |
Definition at line 3758 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 3735 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
Definition at line 5610 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), ChangeChannel(), and ScheduleInputChange().
|
private |
Definition at line 5554 of file tv_play.cpp.
Referenced by ActivePostQHandleAction().
|
overrideslot |
Definition at line 2415 of file tv_play.cpp.
|
private |
Definition at line 3687 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Definition at line 9759 of file tv_play.cpp.
Referenced by OSDDialogEvent().
|
staticprivate |
Definition at line 5769 of file tv_play.cpp.
Referenced by ToggleHandleAction().
|
private |
Definition at line 5776 of file tv_play.cpp.
Definition at line 4102 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
|
private |
Cycle through the available Info OSDs.
Definition at line 6315 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and StartOsdNavigation().
|
private |
Definition at line 7116 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
|
private |
Definition at line 9880 of file tv_play.cpp.
|
private |
Definition at line 7050 of file tv_play.cpp.
Referenced by OSDDialogEvent(), TimeStretchHandleAction(), and ToggleHandleAction().
|
private |
Definition at line 3255 of file tv_play.cpp.
Referenced by TranslateKeyPressOrGesture().
|
private |
Definition at line 3286 of file tv_play.cpp.
Referenced by ProcessKeypressOrGesture().
Used in ChangeChannel() to restart video output.
Definition at line 10012 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), and SwitchInputs().
|
private |
update the channel list with channels from the selected channel group
Definition at line 1343 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and GuideGrid::~GuideGrid().
|
private |
Definition at line 6684 of file tv_play.cpp.
Referenced by HandleStateChange(), and UnpauseLiveTV().
|
private |
Definition at line 6435 of file tv_play.cpp.
Referenced by ChangeChannel(), HandleStateChange(), and SwitchInputs().
|
private |
Update and display the passed OSD set with programinfo.
Definition at line 6381 of file tv_play.cpp.
Referenced by ToggleOSD(), and UnpauseLiveTV().
|
private |
Definition at line 6421 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 |
Updates Signal portion of OSD...
Definition at line 6446 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 6407 of file tv_play.cpp.
Referenced by ChangeTimeStretch(), DoSkipCommercials(), DoTogglePictureAttribute(), PictureAttributeHandleAction(), SetBookmark(), ToggleOSD(), UpdateOSDSeekMessage(), and UpdateOSDStatus().
|
private |
Definition at line 6393 of file tv_play.cpp.
|
private |
Definition at line 6604 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
|
protectedslot |
Definition at line 7018 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), GuideGrid::GuideGrid(), and PictureAttributeHandleAction().
|
friend |
|
friend |
|
inlinestatic |
Definition at line 757 of file tv_play.h.
Referenced by TVBrowseHelper::BrowseDispInfo().
|
inlinestatic |
|
inlinestatic |
Definition at line 763 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent().
|
inlinestatic |
Definition at line 772 of file tv_play.h.
Referenced by HandleStateChange().
|
inlinestatic |
Definition at line 767 of file tv_play.h.
Referenced by HandleStateChange().
|
inlinestatic |
Definition at line 766 of file tv_play.h.
Referenced by Init(), and timerEvent().
|
inlinestatic |
Definition at line 761 of file tv_play.h.
Referenced by ShowOSDIdle().
|
inlinestatic |
Definition at line 750 of file tv_play.h.
Referenced by ChangeFFRew(), PlayerContext::HandlePlayerSpeedChangeFFRew(), Init(), ProcessNetworkControlCommand(), and StopFFRew().
|
inlinestatic |
Definition at line 751 of file tv_play.h.
Referenced by AddKeyToInputQueue().
|
inlinestatic |
Definition at line 755 of file tv_play.h.
Referenced by ActiveHandleAction(), and HandleTrackAction().
|
inlinestatic |
|
inlinestatic |
Definition at line 756 of file tv_play.h.
Referenced by HandleLCDTimerEvent().
|
inlinestatic |
Definition at line 752 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
|
inlinestatic |
Definition at line 753 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and SwitchSource().
|
inlinestatic |
|
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 619 of file tv_play.h.
Referenced by ConvertScreenPressKeyMap().
|
inlinestatic |
Definition at line 760 of file tv_play.h.
Referenced by ShowOSDSleep().
|
inlinestatic |
Definition at line 765 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), and Init().
|
inlinestatic |
Definition at line 762 of file tv_play.h.
Referenced by ShowOSDPromptDeleteRecording().
|
inlinestaticprivate |
Definition at line 197 of file tv_play.h.
Referenced by StartTV(), and timerEvent().
|
private |
Definition at line 576 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
private |
Picture attribute type to modify.
Definition at line 565 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), and PictureAttributeHandleAction().
|
private |
Picture attribute to modify (on arrow left or right)
Definition at line 567 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), OSDDialogEvent(), and PictureAttributeHandleAction().
User wants to rerecord the last video if deleted.
Definition at line 559 of file tv_play.h.
Referenced by HandleOSDVideoExit(), LiveTV(), and Playback().
Are we in Arbitrary seek input mode?
Definition at line 602 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 686 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 571 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
|
private |
Definition at line 570 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllow(), and ShowOSDAskAllow().
True if audiosync is turned on.
Definition at line 552 of file tv_play.h.
Referenced by AudioSyncHandleAction(), HandleOSDClosed(), and TV().
Are we in CC/Teletext page/stream selection mode?
Definition at line 598 of file tv_play.h.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and timerEvent().
|
private |
Definition at line 685 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleTrackAction(), and timerEvent().
|
private |
Channel Editing initial map.
Definition at line 581 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
mutableprivate |
Lock for chanEditMap and ddMap.
Definition at line 580 of file tv_play.h.
Referenced by HandleOSDChannelEdit(), and StartChannelEditMode().
|
private |
Definition at line 676 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
|
private |
Definition at line 675 of file tv_play.h.
Referenced by ChangeChannel(), DoEditSchedule(), InitFromDB(), MenuItemDisplayPlayback(), TVBrowseHelper::run(), and UpdateChannelList().
|
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 674 of file tv_play.h.
Referenced by ChangeChannel(), OSDDialogEvent(), TVBrowseHelper::run(), and UpdateChannelList().
False unless requested by user on playback exit.
Definition at line 563 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDVideoExit(), and PrepareToExitPlayer().
|
private |
Definition at line 747 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
private |
Definition at line 746 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuShow(), and ShowOSDCutpoint().
|
private |
Definition at line 526 of file tv_play.h.
Referenced by InitFromDB(), and QuickRecord().
Definition at line 527 of file tv_play.h.
Referenced by InitFromDB(), and PrepareToExitPlayer().
Definition at line 535 of file tv_play.h.
Referenced by InitFromDB().
Definition at line 534 of file tv_play.h.
Referenced by ActivePostQHandleAction(), and InitFromDB().
|
private |
Definition at line 523 of file tv_play.h.
Referenced by InitFromDB(), and ShowOSDAskAllow().
|
private |
Definition at line 538 of file tv_play.h.
Referenced by InitFromDB(), and MenuItemDisplayPlayback().
Definition at line 533 of file tv_play.h.
Referenced by DoEditSchedule(), and InitFromDB().
Definition at line 528 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and InitFromDB().
|
private |
Definition at line 524 of file tv_play.h.
Referenced by HandleOSDIdle(), InitFromDB(), LiveTV(), ProcessKeypressOrGesture(), and ShowOSDIdle().
Definition at line 529 of file tv_play.h.
Referenced by HandleJumpToProgramAction(), and InitFromDB().
|
private |
Definition at line 525 of file tv_play.h.
Referenced by ActiveHandleAction(), and InitFromDB().
Definition at line 537 of file tv_play.h.
Referenced by InitFromDB(), and UpdateChannelList().
Definition at line 532 of file tv_play.h.
Referenced by DoQueueTranscode(), and InitFromDB().
Definition at line 536 of file tv_play.h.
Referenced by ChangeChannel(), InitFromDB(), MenuItemDisplayPlayback(), OSDDialogEvent(), and UpdateChannelList().
Definition at line 530 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and InitFromDB().
Definition at line 531 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and InitFromDB().
Definition at line 560 of file tv_play.h.
Referenced by HandleOSDClosed(), SeekHandleAction(), and UpdateOSDSeekMessage().
|
private |
Definition at line 688 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleStateChange(), and timerEvent().
!player->IsPlaying() && StateIsPlaying()
Definition at line 557 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), and HandleEndOfRecordingExitPromptTimerEvent().
|
private |
Definition at line 689 of file tv_play.h.
Referenced by HandleStateChange(), and timerEvent().
|
private |
Definition at line 693 of file tv_play.h.
Referenced by Init(), SetErrored(), and timerEvent().
|
mutableprivate |
Definition at line 694 of file tv_play.h.
Referenced by HandleEndOfRecordingExitPromptTimerEvent(), SetExitPlayer(), ShowOSDPromptDeleteRecording(), StartRecorder(), and timerEvent().
|
private |
Definition at line 541 of file tv_play.h.
Referenced by InitFromDB(), and StopFFRew().
Definition at line 542 of file tv_play.h.
Referenced by ChangeFFRew(), and InitFromDB().
|
private |
Definition at line 543 of file tv_play.h.
Referenced by ChangeFFRew(), FFRewHandleAction(), InitFromDB(), ProcessNetworkControlCommand(), SetFFRew(), and StopFFRew().
|
private |
Definition at line 577 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
private |
Definition at line 578 of file tv_play.h.
Referenced by FillOSDMenuCast(), MenuItemDisplayPlayback(), and RetrieveCast().
|
private |
Timer for idle dialog.
Definition at line 591 of file tv_play.h.
Referenced by HandleOSDIdle(), IdleDialogTimeout(), ShowOSDIdle(), and timerEvent().
|
private |
Timer for turning off playback after idle period.
Definition at line 590 of file tv_play.h.
Referenced by HandleOSDIdle(), LiveTV(), ProcessKeypressOrGesture(), ShowOSDIdle(), and timerEvent().
should we ignore keypresses
Definition at line 667 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), and eventFilter().
|
private |
Initial chanid override for Live TV.
Definition at line 612 of file tv_play.h.
Referenced by HandleStateChange(), and RequestNextRecorder().
show is part of a playlist
Definition at line 632 of file tv_play.h.
Referenced by HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleStateChange(), and MenuItemDisplayPlayback().
Definition at line 636 of file tv_play.h.
Referenced by customEvent(), HandleJumpToProgramAction(), LiveTV(), Playback(), PrepToSwitchToRecordedProgram(), ScheduleStateChange(), and timerEvent().
|
private |
|
private |
Definition at line 626 of file tv_play.h.
Referenced by HandleStateChange(), and UpdateOSDSignal().
|
private |
last program played with this player
Definition at line 631 of file tv_play.h.
Referenced by GetLastProgram(), MenuItemDisplayPlayback(), SetLastProgram(), timerEvent(), and ~TV().
|
mutableprivate |
Definition at line 630 of file tv_play.h.
Referenced by GetLastProgram(), and SetLastProgram().
|
private |
Definition at line 655 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 654 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 682 of file tv_play.h.
Referenced by HandleLCDTimerEvent(), Init(), timerEvent(), and UpdateLCD().
|
private |
Definition at line 653 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), ShowLCDChannelInfo(), and ShowLCDDVDInfo().
|
private |
Definition at line 683 of file tv_play.h.
Referenced by HandleLCDVolumeTimerEvent(), timerEvent(), and VolumeChange().
|
private |
Definition at line 624 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), SwitchInputs(), and UpdateOSDTimeoutMessage().
Definition at line 625 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDInfo(), HandleStateChange(), PauseLiveTV(), SwitchInputs(), UpdateOSDSignal(), and UpdateOSDTimeoutMessage().
|
private |
Definition at line 519 of file tv_play.h.
Referenced by ActiveHandleAction(), CreatePlayer(), DoEditSchedule(), Embed(), eventFilter(), HandleStateChange(), Init(), MenuItemDisplayCutlist(), MenuItemDisplayPlayback(), ProcessKeypressOrGesture(), ReloadKeys(), TranslateGesture(), TranslateKeyPressOrGesture(), TV(), and ~TV().
|
private |
Our screen, if it exists.
player bounds, for after DoEditSchedule() returns to normal playing.
Definition at line 658 of file tv_play.h.
Referenced by customEvent(), HandleStateChange(), Init(), and ~TV().
|
private |
Definition at line 679 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 684 of file tv_play.h.
Referenced by customEvent(), and timerEvent().
|
private |
Definition at line 745 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 744 of file tv_play.h.
Referenced by getMenuFromId(), MenuItemDisplay(), PlaybackMenuInit(), PlaybackMenuShow(), and ShowOSDMenu().
|
private |
Definition at line 642 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().
|
private |
Prior GUI window bounds, for DoEditSchedule() and player exit().
Definition at line 660 of file tv_play.h.
Referenced by Embed(), HandleStateChange(), and Init().
|
private |
Definition at line 639 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().
|
mutableprivate |
lock on player and playerActive changes
Definition at line 644 of file tv_play.h.
Referenced by GetPlayerReadLock(), GetPlayerWriteLock(), ReturnPlayerLock(), and ~TV().
|
private |
Definition at line 520 of file tv_play.h.
Referenced by GetPosThreadPool(), and ~TV().
|
private |
Definition at line 574 of file tv_play.h.
Referenced by FillOSDMenuActorShows(), FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
private |
Definition at line 573 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
|
private |
Definition at line 691 of file tv_play.h.
Referenced by customEvent(), HandlePseudoLiveTVTimerEvent(), and timerEvent().
|
private |
Queued ChanID (from EPG channel selector)
Definition at line 610 of file tv_play.h.
Referenced by ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), and timerEvent().
|
mutableprivate |
Input key presses queued up so far to form a valid ChanNum.
Definition at line 608 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), OSDDialogEvent(), PopPreviousChannel(), ProcessNetworkControlCommand(), ProcessSmartChannel(), timerEvent(), and UpdateOSDSignal().
|
private |
Input key presses queued up so far...
Definition at line 606 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedInput(), GetQueuedInputAsInt(), OSDDialogEvent(), and PopPreviousChannel().
Definition at line 561 of file tv_play.h.
Referenced by DoQueueTranscode().
|
private |
Definition at line 687 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), OSDDialogEvent(), PopPreviousChannel(), ProcessSmartChannel(), and timerEvent().
User wants last video deleted.
Definition at line 558 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), LiveTV(), Playback(), and StartTV().
|
private |
Definition at line 662 of file tv_play.h.
Referenced by DoEditSchedule(), Init(), and ~TV().
saved pause state before embedding
Definition at line 668 of file tv_play.h.
Referenced by DoEditSchedule(), and Embed().
|
private |
Definition at line 695 of file tv_play.h.
Referenced by Init(), and timerEvent().
False until first timer event.
Definition at line 562 of file tv_play.h.
Referenced by HandleSaveLastPlayPosEvent(), and PrepareToExitPlayer().
|
private |
Definition at line 621 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
|
private |
Definition at line 620 of file tv_play.h.
Referenced by InitFromDB(), TranslateGesture(), and ~TV().
Are we in signal monitoring mode?
Definition at line 556 of file tv_play.h.
Referenced by ActiveHandleAction().
|
private |
Definition at line 696 of file tv_play.h.
Referenced by timerEvent(), and UpdateOSDSignal().
|
private |
Timer for sleep dialog.
Definition at line 588 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), SleepDialogTimeout(), and timerEvent().
|
private |
Index into sleep_times.
Definition at line 585 of file tv_play.h.
Referenced by Init(), and ToggleSleepTimer().
|
private |
Timer for turning off playback.
Definition at line 587 of file tv_play.h.
Referenced by HandleOSDSleep(), MenuItemDisplayPlayback(), ShowOSDSleep(), timerEvent(), and ToggleSleepTimer().
|
private |
Current sleep timeout in msec.
Definition at line 586 of file tv_play.h.
Referenced by HandleOSDSleep(), ShowOSDSleep(), and ToggleSleepTimer().
Definition at line 540 of file tv_play.h.
Referenced by InitFromDB(), and SeekHandleAction().
|
private |
Definition at line 692 of file tv_play.h.
Referenced by HandleSpeedChangeTimerEvent(), Init(), SetSpeedChangeTimer(), and timerEvent().
True if time stretch is turned on.
Definition at line 551 of file tv_play.h.
Referenced by ChangeTimeStretch(), HandleOSDClosed(), and TimeStretchHandleAction().
True if subtitle delay is turned on.
Definition at line 554 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleDelayHandleAction(), and TV().
True if subtitle zoom is turned on.
Definition at line 553 of file tv_play.h.
Referenced by HandleOSDClosed(), SubtitleZoomHandleAction(), and TV().
|
private |
Definition at line 546 of file tv_play.h.
Referenced by OSDDialogEvent(), ScheduleInputChange(), and SwitchSource().
|
private |
Main recorder to use after a successful SwitchCards() call.
Definition at line 650 of file tv_play.h.
Referenced by Init(), LiveTV(), and RequestNextRecorder().
Definition at line 706 of file tv_play.h.
Referenced by PlaybackMenuInit().
|
private |
Definition at line 729 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 731 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 733 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 703 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 709 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 719 of file tv_play.h.
Referenced by MenuLazyInit(), and PlaybackMenuInit().
Definition at line 721 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 723 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 738 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 715 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 714 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 716 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 722 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 741 of file tv_play.h.
Referenced by FillOSDMenuJumpRec(), and MenuItemDisplayPlayback().
|
private |
Definition at line 730 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 732 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 724 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 712 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
|
private |
Definition at line 713 of file tv_play.h.
Referenced by 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 702 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
Definition at line 739 of file tv_play.h.
Referenced by MenuItemDisplayPlayback(), and PlaybackMenuInit().
initial show started via by the network control interface
Definition at line 633 of file tv_play.h.
Referenced by ActiveHandleAction(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleStateChange().
|
private |
Definition at line 545 of file tv_play.h.
Referenced by AddKeyToInputQueue(), HandleTrackAction(), and InitFromDB().
|
private |
Definition at line 690 of file tv_play.h.
Referenced by HandleVideoExitDialogTimerEvent(), ShowOSDPromptDeleteRecording(), and timerEvent().
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 550 of file tv_play.h.
Referenced by Playback(), PlaybackLoop(), SetExitPlayer(), and StartTV().
true if this instance disabled MythUI drawing.
Definition at line 664 of file tv_play.h.
Referenced by DoEditSchedule(), Embed(), HandleStateChange(), and ~TV().
Definition at line 555 of file tv_play.h.
Referenced by ManualZoomHandleAction(), and SetManualZoom().
|
inlinestaticprivate |
Definition at line 198 of file tv_play.h.
Referenced by DoEditSchedule(), HandleJumpToProgramAction(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 201 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 203 of file tv_play.h.
Referenced by DoEditSchedule(), and SetFuncPtr().
|
inlinestaticprivate |
Definition at line 202 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().
|
staticprivate |
Definition at line 584 of file tv_play.h.
Referenced by ToggleSleepTimer().