#include <tv_play.h>
Definition at line 166 of file tv_play.h.
Public Slots | |
| void | HandleOSDClosed (int osdType) |
| void | timerEvent (QTimerEvent *) |
Public Member Functions | |
| TV (void) | |
| ~TV () | |
| void | InitFromDB (void) |
| bool | Init (bool createWindow=true) |
| Performs instance initialization, returns true on success. | |
| void | ProcessKeypress (PlayerContext *, QKeyEvent *e) |
| void | ProcessNetworkControlCommand (PlayerContext *, const QString &command) |
| void | customEvent (QEvent *e) |
| bool | HandleTrackAction (PlayerContext *, const QString &action) |
| bool | LiveTV (bool showDialogs=true, bool startInGuide=false) |
| Starts LiveTV. | |
| bool | StartEmbedding (PlayerContext *, WId wid, const QRect &) |
| void | StopEmbedding (PlayerContext *) |
| bool | IsTunable (const PlayerContext *, uint chanid, bool use_cache=false) |
| void | ClearTunableCache (void) |
| void | ChangeChannel (const PlayerContext *, const DBChanList &options) |
| void | DrawUnusedRects (void) |
| int | PlayFromRecorder (int recordernum) |
| int | Playback (const ProgramInfo &rcinfo) |
| QString | GetRecordingGroup (int player_idx) const |
| void | setInPlayList (bool setting) |
| void | setUnderNetworkControl (bool setting) |
| void | ShowNoRecorderDialog (const PlayerContext *, NoRecorderMsg msgType=kNoRecorders) |
| void | FinishRecording (int player_idx) |
| Finishes player's recording. | |
| void | AskAllowRecording (PlayerContext *, const QStringList &, int, bool, bool) |
| bool | PromptRecGroupPassword (PlayerContext *) |
| bool | CreatePBP (PlayerContext *lctx, const ProgramInfo *info) |
| Setup Picture by Picture. | |
| bool | CreatePIP (PlayerContext *lctx, const ProgramInfo *info) |
| create PIP. | |
| bool | ResizePIPWindow (PlayerContext *) |
| resize PIP Window. | |
| bool | IsSwitchingCards (void) const |
| Returns true if we are currently in the process of switching recorders. | |
| bool | IsRunning (void) const |
| Returns true if the TV event thread is running. | |
| bool | getAllowRerecord (void) const |
| Returns true if the user told Mythtv to allow re-recording of the show. | |
| bool | getEndOfRecording (void) const |
| This is set to true if the player reaches the end of the recording without the user explicitly exiting the player. | |
| bool | getJumpToProgram (void) const |
| This is set if the user asked MythTV to jump to the previous recording in the playlist. | |
| bool | IsSameProgram (int player_idx, const ProgramInfo *p) const |
| true iff program is the same as the one in the selected player | |
| bool | IsBookmarkAllowed (const PlayerContext *) const |
| bool | IsDeleteAllowed (const PlayerContext *) const |
| bool | IsPBPSupported (const PlayerContext *ctx=NULL) const |
| bool | IsPIPSupported (const PlayerContext *ctx=NULL) const |
| int | GetLastRecorderNum (int player_idx) const |
| TVState | GetState (int player_idx) const |
| get tv state of active player context | |
| TVState | GetState (const PlayerContext *) const |
| get tv state of active player context | |
| OSD * | GetOSDL (const char *, int) |
| OSD * | GetOSDL (const PlayerContext *, const char *, int) |
| void | ReturnOSDLock (OSD *&) |
| void | ReturnOSDLock (const PlayerContext *, OSD *&) |
| bool | ActiveHandleAction (PlayerContext *, const QStringList &actions, bool isDVD, bool isDVDStillFrame) |
| void | GetNextProgram (RemoteEncoder *enc, BrowseDirection direction, InfoMap &infoMap) const |
| Fetches information on the desired program from the backend. | |
| void | GetNextProgram (BrowseDirection direction, InfoMap &infoMap) const |
| void | ChangeVolume (PlayerContext *, bool up) |
| void | ToggleMute (PlayerContext *, const bool muteIndividualChannels=false) |
| void | SetNextProgPIPState (PIPState state) |
| bool | HasUDPNotifyEvent (void) const |
| void | HandleUDPNotifyEvent (void) |
| void | SaveChannelGroup (void) |
| save channel group setting to database | |
| void | UpdateChannelList (int groupID) |
| update the channel list with channels from the selected channel group | |
Static Public Member Functions | |
| static void | InitKeys (void) |
| static void | ResetKeys (void) |
| static bool | StartTV (ProgramInfo *tvrec=NULL, uint flags=kStartTVNoFlags) |
| returns true if the recording completed when exiting. | |
| static void | SetFuncPtr (const char *, void *) |
| Import pointers to functions used to embed the TV window into other containers e.g. | |
Static Public Attributes | |
| static const int | kInitFFRWSpeed = 0 |
| 1x, default to normal speed | |
| static const uint | kInputKeysMax = 6 |
| When to start discarding early keys. | |
| static const uint | kNextSource = 1 |
| static const uint | kPreviousSource = 2 |
| static const uint | kMaxPIPCount = 4 |
| static const uint | kMaxPBPCount = 2 |
| Timeout for entry modes in msec. | |
| static const uint | kInputModeTimeout = 5000 |
| static const uint | kLCDTimeout = 1000 |
| Timeout for updating LCD info in msec. | |
| static const uint | kBrowseTimeout = 30000 |
| Timeout for browse mode exit in msec. | |
| static const uint | kKeyRepeatTimeout = 300 |
| Seek key repeat timeout in msec. | |
| static const uint | kPrevChanTimeout = 750 |
| How long to wait before applying all previous channel keypresses in msec. | |
| static const uint | kSleepTimerDialogTimeout = 45000 |
| How long to display sleep timer dialog in msec. | |
| static const uint | kIdleTimerDialogTimeout = 45000 |
| How long to display idle timer dialog in seconds. | |
| static const uint | kVideoExitDialogTimeout = 120000 |
| How long to display idle timer dialog in msec. | |
| static const uint | kEndOfPlaybackCheckFrequency = 250 |
| static const uint | kEmbedCheckFrequency = 250 |
| static const uint | kSpeedChangeCheckFrequency = 250 |
| static const uint | kErrorRecoveryCheckFrequency = 250 |
| static const uint | kEndOfRecPromptCheckFrequency = 250 |
| static const uint | kEndOfPlaybackFirstCheckTimer = 60000 |
Protected Slots | |
| void | AddUDPNotifyEvent (const QString &name, const UDPNotifyOSDSet *) |
| void | ClearUDPNotifyEvents (void) |
Protected Member Functions | |
| void | OSDDialogEvent (int result, QString text, QString action) |
| void | DoEditSchedule (int editType=kScheduleProgramGuide) |
| virtual void | run (void) |
| void | TVEventThreadChecks (void) |
| void | PauseAudioUntilBuffered (PlayerContext *ctx) |
| bool | eventFilter (QObject *o, QEvent *e) |
Static Protected Attributes | |
| static QStringList | lastProgramStringList = QStringList() |
| stores last program info. | |
| static EMBEDRETURNVOID | RunPlaybackBoxPtr = NULL |
| function pointer for RunPlaybackBox in playbackbox.cpp | |
| static EMBEDRETURNVOID | RunViewScheduledPtr = NULL |
| function pointer for RunViewScheduled in viewscheduled.cpp | |
| static EMBEDRETURNVOIDEPG | RunProgramGuidePtr = NULL |
| function pointer for RunProgramGuide in guidegrid.cpp | |
| static EMBEDRETURNVOIDFINDER | RunProgramFinderPtr = NULL |
| function pointer for RunProgramFinder in progfind.cpp | |
| static EMBEDRETURNVOIDSCHEDIT | RunScheduleEditorPtr = NULL |
| function pointer for RunScheduleEditor in scheduleeditor.cpp | |
Private Types | |
| enum | ArbSeekWhence { ARBSEEK_SET = 0, ARBSEEK_REWIND, ARBSEEK_FORWARD, ARBSEEK_END } |
| typedef QMap< int, PlayerContext * > | TimerContextMap |
| typedef QMap< int, const PlayerContext * > | TimerContextConstMap |
Private Member Functions | |
| void | SetActive (PlayerContext *lctx, int index, bool osd_msg) |
| PlayerContext * | GetPlayerWriteLock (int which, const char *file, int location) |
| PlayerContext * | GetPlayerReadLock (int which, const char *file, int location) |
| const PlayerContext * | GetPlayerReadLock (int which, const char *file, int location) const |
| PlayerContext * | GetPlayerHaveLock (PlayerContext *, int which, const char *file, int location) |
| const PlayerContext * | GetPlayerHaveLock (const PlayerContext *, int which, const char *file, int location) const |
| void | ReturnPlayerLock (PlayerContext *&) |
| void | ReturnPlayerLock (const PlayerContext *&) const |
| int | StartTimer (int interval, int line) |
| void | KillTimer (int id) |
| void | ForceNextStateNone (PlayerContext *) |
| void | ScheduleStateChange (PlayerContext *) |
| void | SetErrored (PlayerContext *) |
| void | PrepToSwitchToRecordedProgram (PlayerContext *, const ProgramInfo &) |
| void | PrepareToExitPlayer (PlayerContext *, int line, bool bookmark=true) const |
| void | SetExitPlayer (bool set_it, bool wants_to) const |
| void | SetUpdateOSDPosition (bool set_it) |
| bool | PxPHandleAction (PlayerContext *, const QStringList &actions) |
| bool | ToggleHandleAction (PlayerContext *, const QStringList &actions, bool isDVD) |
| bool | FFRewHandleAction (PlayerContext *, const QStringList &actions) |
| bool | ActivePostQHandleAction (PlayerContext *, const QStringList &actions, bool isDVD) |
| bool | HandleJumpToProgramAction (PlayerContext *ctx, const QStringList &actions) |
| bool | RequestNextRecorder (PlayerContext *, bool) |
| void | DeleteRecorder () |
| bool | StartRecorder (PlayerContext *ctx, int maxWait=-1) |
| Starts recorder, must be called before StartPlayer(). | |
| void | StopStuff (PlayerContext *mctx, PlayerContext *ctx, bool stopRingbuffers, bool stopPlayers, bool stopRecorders) |
| Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders. | |
| void | ToggleChannelFavorite (PlayerContext *, QString) |
| void | ChangeChannel (PlayerContext *, int direction) |
| void | ChangeChannel (PlayerContext *, uint chanid, const QString &channum) |
| void | PauseLiveTV (PlayerContext *) |
| Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output. | |
| void | UnpauseLiveTV (PlayerContext *) |
| Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output. | |
| void | ShowPreviousChannel (PlayerContext *) |
| void | PopPreviousChannel (PlayerContext *, bool immediate_change) |
| void | ToggleAspectOverride (PlayerContext *, AspectOverrideMode aspectMode=kAspect_Toggle) |
| void | ToggleAdjustFill (PlayerContext *, AdjustFillMode adjustfillMode=kAdjustFill_Toggle) |
| void | SetSpeedChangeTimer (uint when, int line) |
| void | HandleEndOfPlaybackTimerEvent (void) |
| void | HandleIsNearEndWhenEmbeddingTimerEvent (void) |
| void | HandleEndOfRecordingExitPromptTimerEvent (void) |
| void | HandleVideoExitDialogTimerEvent (void) |
| void | HandlePseudoLiveTVTimerEvent (void) |
| void | HandleSpeedChangeTimerEvent (void) |
| void | AddKeyToInputQueue (PlayerContext *, char key) |
| void | ClearInputQueues (const PlayerContext *, bool hideosd) |
| Clear channel key buffer of input keys. | |
| bool | CommitQueuedInput (PlayerContext *) |
| bool | ProcessSmartChannel (const PlayerContext *, QString &) |
| bool | HasQueuedInput (void) const |
| bool | HasQueuedChannel (void) const |
| QString | GetQueuedInput (void) const |
| int | GetQueuedInputAsInt (bool *ok=NULL, int base=10) const |
| QString | GetQueuedChanNum (void) const |
| uint | GetQueuedChanID (void) const |
| void | SwitchSource (PlayerContext *, uint source_direction) |
| void | SwitchInputs (PlayerContext *, uint inputid) |
| void | ToggleInputs (PlayerContext *, uint inputid=0) |
| void | SwitchCards (PlayerContext *, uint chanid=0, QString channum="", uint inputid=0) |
| void | ToggleSleepTimer (const PlayerContext *) |
| void | ToggleSleepTimer (const PlayerContext *, const QString &time) |
| void | DoPlay (PlayerContext *) |
| float | DoTogglePauseStart (PlayerContext *) |
| void | DoTogglePauseFinish (PlayerContext *, float time, bool showOSD) |
| void | DoTogglePause (PlayerContext *, bool showOSD) |
| vector< bool > | DoSetPauseState (PlayerContext *lctx, const vector< bool > &) |
| bool | SeekHandleAction (PlayerContext *actx, const QStringList &actions, const bool isDVD) |
| void | DoSeek (PlayerContext *, float time, const QString &mesg) |
| bool | DoPlayerSeek (PlayerContext *, float time) |
| void | DoArbSeek (PlayerContext *, ArbSeekWhence whence) |
| void | NormalSpeed (PlayerContext *) |
| void | ChangeSpeed (PlayerContext *, int direction) |
| void | ToggleTimeStretch (PlayerContext *) |
| void | ChangeTimeStretch (PlayerContext *, int dir, bool allowEdit=true) |
| bool | TimeStretchHandleAction (PlayerContext *, const QStringList &actions) |
| void | ToggleUpmix (PlayerContext *) |
| void | ChangeAudioSync (PlayerContext *, int dir, bool allowEdit=true) |
| bool | AudioSyncHandleAction (PlayerContext *, const QStringList &actions) |
| float | StopFFRew (PlayerContext *) |
| void | ChangeFFRew (PlayerContext *, int direction) |
| void | SetFFRew (PlayerContext *, int index) |
| int | GetNumChapters (const PlayerContext *) const |
| void | GetChapterTimes (const PlayerContext *, QList< long long > ×) const |
| int | GetCurrentChapter (const PlayerContext *) const |
| int | GetNumTitles (const PlayerContext *ctx) const |
| int | GetCurrentTitle (const PlayerContext *ctx) const |
| int | GetTitleDuration (const PlayerContext *ctx, int title) const |
| QString | GetTitleName (const PlayerContext *ctx, int title) const |
| void | DoSwitchTitle (PlayerContext *, int title) |
| int | GetNumAngles (const PlayerContext *ctx) const |
| int | GetCurrentAngle (const PlayerContext *ctx) const |
| QString | GetAngleName (const PlayerContext *ctx, int angle) const |
| void | DoSwitchAngle (PlayerContext *, int angle) |
| void | DoJumpChapter (PlayerContext *, int direction) |
| void | DoSkipCommercials (PlayerContext *, int direction) |
| void | DoQueueTranscode (PlayerContext *, QString profile) |
| void | SetAutoCommercialSkip (const PlayerContext *, CommSkipMode skipMode=kCommSkipOff) |
| void | SetManualZoom (const PlayerContext *, bool enabled, QString msg) |
| bool | ManualZoomHandleAction (PlayerContext *actx, const QStringList &actions) |
| bool | ClearOSD (const PlayerContext *) |
| void | ToggleOSD (const PlayerContext *, bool includeStatusOSD) |
| Cycle through the available Info OSDs. | |
| void | UpdateOSDProgInfo (const PlayerContext *, const char *whichInfo) |
| Update and display the passed OSD set with programinfo. | |
| void | UpdateOSDStatus (const PlayerContext *ctx, QString title, QString desc, QString value, int type, QString units, int position=0, int prev=0, int next=0, enum OSDTimeout timeout=kOSDTimeout_Med) |
| void | UpdateOSDStatus (const PlayerContext *ctx, osdInfo &info, int type, enum OSDTimeout timeout) |
| void | UpdateOSDSeekMessage (const PlayerContext *, const QString &mesg, enum OSDTimeout timeout) |
| void | UpdateOSDInput (const PlayerContext *, QString inputname=QString::null) |
| void | UpdateOSDSignal (const PlayerContext *, const QStringList &strlist) |
| Updates Signal portion of OSD. | |
| void | UpdateOSDTimeoutMessage (PlayerContext *) |
| void | UpdateOSDAskAllowDialog (PlayerContext *) |
| void | EditSchedule (const PlayerContext *, int editType=kScheduleProgramGuide) |
| void | TeardownPlayer (PlayerContext *mctx, PlayerContext *ctx) |
| void | HandleStateChange (PlayerContext *mctx, PlayerContext *ctx) |
| Changes the state to the state on the front of the state change queue. | |
| bool | StartPlayer (PlayerContext *mctx, PlayerContext *ctx, TVState desiredState) |
| vector< long long > | TeardownAllPlayers (PlayerContext *) |
| Teardown all Player's in preparation for PxP Swap or change from PIP -> PBP or PBP -> PIP. | |
| void | RestartAllPlayers (PlayerContext *lctx, const vector< long long > &pos, MuteState mctx_mute) |
| Recreate Main and PIP windows. | |
| void | RestartMainPlayer (PlayerContext *mctx) |
| void | PxPToggleView (PlayerContext *actx, bool wantPBP) |
| start/stop PIP/PBP | |
| void | PxPCreateView (PlayerContext *actx, bool wantPBP) |
| start PIP/PBP | |
| void | PxPTeardownView (PlayerContext *actx) |
| stop PIP/PBP | |
| void | PxPToggleType (PlayerContext *mctx, bool wantPBP) |
| Change PIP View from PIP to PBP and visa versa. | |
| void | PxPSwap (PlayerContext *mctx, PlayerContext *pipctx) |
| bool | HandlePxPTimerEvent (void) |
| bool | PIPAddPlayer (PlayerContext *mctx, PlayerContext *ctx) |
| Maps Player of software scaled PIP to the main player. | |
| bool | PIPRemovePlayer (PlayerContext *mctx, PlayerContext *ctx) |
| Unmaps Player of software scaled PIP from the main player. | |
| void | PBPRestartMainPlayer (PlayerContext *mctx) |
| tear down remaining PBP video and restore fullscreen display | |
| void | ToggleAutoExpire (PlayerContext *) |
| void | BrowseStart (PlayerContext *) |
| Begins channel browsing. | |
| void | BrowseEnd (PlayerContext *, bool change_channel) |
| Ends channel browsing. | |
| void | BrowseDispInfo (PlayerContext *, BrowseDirection direction) |
| Fetches browse info from backend and sends it to the OSD. | |
| void | BrowseChannel (PlayerContext *, const QString &channum) |
| bool | BrowseHandleAction (PlayerContext *, const QStringList &actions) |
| uint | BrowseAllGetChanId (const QString &chan) const |
| void | ToggleRecord (PlayerContext *) |
| void | DoTogglePictureAttribute (const PlayerContext *, PictureAdjustType type) |
| void | DoChangePictureAttribute (PlayerContext *, PictureAdjustType type, PictureAttribute attr, bool up) |
| bool | PictureAttributeHandleAction (PlayerContext *, const QStringList &actions) |
| void | StartChannelEditMode (PlayerContext *) |
| Starts channel editing mode. | |
| bool | HandleOSDChannelEdit (PlayerContext *, QString action) |
| void | ChannelEditAutoFill (const PlayerContext *, InfoMap &) const |
| Automatically fills in as much information as possible. | |
| void | ChannelEditAutoFill (const PlayerContext *, InfoMap &, const QMap< QString, bool > &) const |
| Automatically fills in as much information as possible. | |
| void | ChannelEditXDSFill (const PlayerContext *, InfoMap &) const |
| void | ChannelEditDDFill (InfoMap &, const QMap< QString, bool > &, bool) const |
| QString | GetDataDirect (QString key, QString value, QString field, bool allow_partial=false) const |
| bool | LoadDDMap (uint sourceid) |
| void | RunLoadDDMap (uint sourceid) |
| bool | DialogIsVisible (PlayerContext *ctx, const QString &dialog) |
| void | HandleOSDInfo (PlayerContext *ctx, QString action) |
| void | ShowOSDAskAllow (PlayerContext *ctx) |
| void | HandleOSDAskAllow (PlayerContext *ctx, QString action) |
| void | ShowOSDCutpoint (PlayerContext *ctx, const QString &type) |
| bool | HandleOSDCutpoint (PlayerContext *ctx, QString action, long long frame) |
| void | StartProgramEditMode (PlayerContext *) |
| Starts Program Cut Map Editing mode. | |
| void | ShowOSDAlreadyEditing (PlayerContext *ctx) |
| void | HandleOSDAlreadyEditing (PlayerContext *ctx, QString action) |
| void | ShowOSDSleep (void) |
| void | HandleOSDSleep (PlayerContext *ctx, QString action) |
| void | SleepDialogTimeout (void) |
| void | ShowOSDIdle (void) |
| After idleTimer has expired, display a dialogue warning the user that we will exit LiveTV unless they take action. We change idleTimer, to 45 seconds and when it expires for a second time we quit the player. If the user so decides, they may hit ok and we reset the timer back to the default expiry period. | |
| void | HandleOSDIdle (PlayerContext *ctx, QString action) |
| void | IdleDialogTimeout (void) |
| void | ShowOSDStopWatchingRecording (PlayerContext *ctx) |
| void | ShowOSDPromptDeleteRecording (PlayerContext *ctx, QString title, bool force=false) |
| bool | HandleOSDVideoExit (PlayerContext *ctx, QString action) |
| void | ShowOSDMenu (const PlayerContext *, const QString category="", const QString selected="") |
| void | FillOSDMenuAudio (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuVideo (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuSubtitles (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuNavigate (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuJobs (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuPlayback (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuSchedule (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuSource (const PlayerContext *ctx, OSD *osd, QString category, const QString selected, QString ¤ttext, QString &backaction) |
| void | FillOSDMenuJumpRec (PlayerContext *ctx, const QString category="", int level=0, const QString selected="") |
| void | UpdateLCD (void) |
| bool | HandleLCDTimerEvent (void) |
| void | ShowLCDChannelInfo (const PlayerContext *) |
| void | ShowLCDDVDInfo (const PlayerContext *) |
| void | ITVRestart (PlayerContext *, bool isLive) |
| Restart the MHEG/MHP engine. | |
| bool | ScreenShot (PlayerContext *, long long frameNumber) |
| void | DVDJumpBack (PlayerContext *) |
| void | DVDJumpForward (PlayerContext *) |
| bool | DVDMenuHandleAction (PlayerContext *, const QStringList &actions, bool isDVD, bool isDVDStill) |
| void | SetLastProgram (const ProgramInfo *rcinfo) |
| ProgramInfo * | GetLastProgram (void) const |
| void | RestoreScreenSaver (const PlayerContext *) |
| void | InitUDPNotifyEvent (void) |
| int | find_player_index (const PlayerContext *) const |
Static Private Member Functions | |
| static void * | load_dd_map_thunk (void *) |
| static void * | load_dd_map_post_thunk (void *) |
| static bool | LoadExternalSubtitles (MythPlayer *player, const QString &videoFile) |
| static QStringList | GetValidRecorderList (uint chanid) |
| static QStringList | GetValidRecorderList (const QString &channum) |
| static QStringList | GetValidRecorderList (uint, const QString &) |
| Returns list of the recorders that have chanid or channum in their sources. | |
| static bool | StateIsRecording (TVState state) |
| static bool | StateIsPlaying (TVState state) |
| static bool | StateIsLiveTV (TVState state) |
| static TVState | RemoveRecording (TVState state) |
Private Attributes | |
| QString | baseFilters |
| QString | db_channel_format |
| QString | db_time_format |
| QString | db_short_date_format |
| uint | db_idle_timeout |
| uint | db_udpnotify_port |
| uint | db_browse_max_forward |
| int | db_playback_exit_prompt |
| uint | db_autoexpire_default |
| bool | db_auto_set_watched |
| bool | db_end_of_rec_exit_prompt |
| bool | db_jump_prefer_osd |
| bool | db_use_gui_size_for_tv |
| bool | db_start_in_guide |
| bool | db_toggle_bookmark |
| bool | db_run_jobs_on_remote |
| bool | db_continue_embedded |
| bool | db_use_fixed_size |
| bool | db_browse_always |
| bool | db_browse_all_tuners |
| DBChanList | db_browse_all_channels |
| bool | arrowAccel |
| CommSkipMode | autoCommercialSkip |
| bool | tryUnflaggedSkip |
| bool | smartForward |
| float | ff_rew_repos |
| bool | ff_rew_reverse |
| bool | jumped_back |
| Used by PromptDeleteRecording. | |
| vector< int > | ff_rew_speeds |
| uint | vbimode |
| QTime | ctorTime |
| uint | switchToInputId |
| QMutex | initFromDBLock |
| bool | initFromDBDone |
| QWaitCondition | initFromDBWait |
| bool | wantsToQuit |
| True if the user told MythTV to stop plaback. | |
| bool | stretchAdjustment |
| True if time stretch is turned on. | |
| bool | audiosyncAdjustment |
| True if audiosync is turned on. | |
| int64_t | audiosyncBaseline |
| bool | editmode |
| Are we in video editing mode. | |
| bool | zoomMode |
| bool | sigMonMode |
| Are we in signal monitoring mode? | |
| bool | endOfRecording |
| !player->IsPlaying() && StateIsPlaying() | |
| bool | requestDelete |
| User wants last video deleted. | |
| bool | allowRerecord |
| User wants to rerecord the last video if deleted. | |
| bool | doSmartForward |
| bool | queuedTranscode |
| PictureAdjustType | adjustingPicture |
| Picture attribute type to modify. | |
| PictureAttribute | adjustingPictureAttribute |
| Picture attribute to modify (on arrow left or right). | |
| QMap< QString, AskProgramInfo > | askAllowPrograms |
| QMutex | askAllowLock |
| MythDeque< QString > | changePxP |
| QMutex | progListsLock |
| QMap< QString, ProgramList > | progLists |
| QMutex | chanEditMapLock |
| Lock for chanEditMap and ddMap. | |
| InfoMap | chanEditMap |
| Channel Editing initial map. | |
| DDKeyMap | ddMap |
| DataDirect channel map. | |
| uint | ddMapSourceId |
| DataDirect channel map sourceid. | |
| bool | ddMapLoaderRunning |
| Is DataDirect loader thread running. | |
| pthread_t | ddMapLoader |
| DataDirect map loader thread. | |
| vector< SleepTimerInfo > | sleep_times |
| Vector or sleep timer sleep times in seconds, with the appropriate UI message. | |
| uint | sleep_index |
| Index into sleep_times. | |
| uint | sleepTimerTimeout |
| Current sleep timeout in msec. | |
| int | sleepTimerId |
| Timer for turning off playback. | |
| int | sleepDialogTimerId |
| Timer for sleep dialog. | |
| int | idleTimerId |
| Timer for turning off playback after idle period. | |
| int | idleDialogTimerId |
| Timer for idle dialog. | |
| MythDeque< QKeyEvent * > | keyList |
| Queue of unprocessed key presses. | |
| MythTimer | keyRepeatTimer |
| Timeout timer for repeat key filtering. | |
| bool | ccInputMode |
| Are we in CC/Teletext page/stream selection mode? | |
| bool | asInputMode |
| Are we in Arbitrary seek input mode? | |
| QString | queuedInput |
| Input key presses queued up so far... | |
| QString | queuedChanNum |
| Input key presses queued up so far to form a valid ChanNum. | |
| uint | queuedChanID |
| Queued ChanID (from EPG channel selector). | |
| QTime | lockTimer |
| bool | lockTimerOn |
| QDateTime | lastLockSeenTime |
| bool | browsemode |
| QString | browsechannum |
| uint | browsechanid |
| QString | browsestarttime |
| QMutex | browseLock |
| QMutex | lastProgramLock |
| ProgramInfo * | lastProgram |
| last program played with this player | |
| bool | inPlaylist |
| show is part of a playlist | |
| bool | underNetworkControl |
| initial show started via by the network control interface | |
| PIPState | jumpToProgramPIPState |
| bool | jumpToProgram |
| vector< PlayerContext * > | player |
| int | playerActive |
| Video Player to which events are sent to. | |
| QReadWriteLock | playerLock |
| lock on player and playerActive changes | |
| bool | noHardwareDecoders |
| RemoteEncoder * | switchToRec |
| Main recorder to use after a successful SwitchCards() call. | |
| QMap< OSD *, const PlayerContext * > | osd_lctx |
| UDPNotify * | udpnotify |
| UDPNotify instance which shows messages sent to the "UDPNotifyPort" in an OSD dialog. | |
| MythDeque< QString > | udpnotifyEventName |
| MythDeque< const UDPNotifyOSDSet * > | udpnotifyEventSet |
| QString | lcdTitle |
| QString | lcdSubtitle |
| QString | lcdCallsign |
| TvPlayWindow * | myWindow |
| Our screen, if it exists. | |
| QRect | player_bounds |
| Prior GUI window bounds, for DoEditSchedule() and player exit(). | |
| QRect | saved_gui_bounds |
| bool | weDisabledGUI |
| true if this instance disabled MythUI drawing. | |
| bool | isEmbedded |
| are we currently embedded | |
| bool | ignoreKeyPresses |
| should we ignore keypresses | |
| vector< bool > | saved_pause |
| saved pause state before embedding | |
| QMutex | is_tunable_cache_lock |
| QMap< uint, vector< InputInfo > > | is_tunable_cache_inputs |
| QMutex | recorderPlaybackInfoLock |
| Info requested by PlayFromRecorder. | |
| QWaitCondition | recorderPlaybackInfoWaitCond |
| QMap< int, int > | recorderPlaybackInfoTimerId |
| QMap< int, ProgramInfo > | recorderPlaybackInfo |
| int | channel_group_id |
| uint | browse_changrp |
| ChannelGroupList | m_changrplist |
| DBChanList | m_channellist |
| MythDeque< QString > | networkControlCommands |
| QMutex | timerIdLock |
| volatile int | lcdTimerId |
| volatile int | keyListTimerId |
| volatile int | networkControlTimerId |
| volatile int | jumpMenuTimerId |
| volatile int | pipChangeTimerId |
| volatile int | udpNotifyTimerId |
| volatile int | switchToInputTimerId |
| volatile int | ccInputTimerId |
| volatile int | asInputTimerId |
| volatile int | queueInputTimerId |
| volatile int | browseTimerId |
| volatile int | updateOSDPosTimerId |
| volatile int | endOfPlaybackTimerId |
| volatile int | embedCheckTimerId |
| volatile int | endOfRecPromptTimerId |
| volatile int | videoExitDialogTimerId |
| volatile int | pseudoChangeChanTimerId |
| volatile int | speedChangeTimerId |
| volatile int | errorRecoveryTimerId |
| volatile int | exitPlayerTimerId |
| TimerContextMap | stateChangeTimerId |
| TimerContextMap | signalMonitorTimerId |
| TimerContextMap | tvchainUpdateTimerId |
| QWaitCondition | mainLoopCond |
| Condition to signal that the Event thread is up and running. | |
| QMutex | mainLoopCondLock |
| QWaitCondition | stateChangeCond |
| Condition to signal State changes. | |
| QMutex | stateChangeCondLock |
Friends | |
| class | QTVEventThread |
| class | PlaybackBox |
| class | GuideGrid |
| class | TvPlayWindow |
Classes | |
| class | SleepTimerInfo |
| Helper class for Sleep Timer code. More... | |
typedef QMap<int,PlayerContext*> TV::TimerContextMap [private] |
typedef QMap<int,const PlayerContext*> TV::TimerContextConstMap [private] |
enum TV::ArbSeekWhence [private] |
| TV::TV | ( | void | ) |
| TV::~TV | ( | void | ) |
Definition at line 1188 of file tv_play.cpp.
| void TV::InitFromDB | ( | void | ) |
Definition at line 960 of file tv_play.cpp.
Performs instance initialization, returns true on success.
| createWindow | If true a MythDialog is created for display. |
Definition at line 1078 of file tv_play.cpp.
| void TV::ProcessKeypress | ( | PlayerContext * | actx, | |
| QKeyEvent * | e | |||
| ) |
| void TV::ProcessNetworkControlCommand | ( | PlayerContext * | ctx, | |
| const QString & | command | |||
| ) |
| void TV::customEvent | ( | QEvent * | e | ) |
| bool TV::HandleTrackAction | ( | PlayerContext * | ctx, | |
| const QString & | action | |||
| ) |
Definition at line 3391 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and OSDDialogEvent().
Starts LiveTV.
| showDialogs | if true error dialogs are shown, if false they are not | |
| startInGuide | if true the EPG will be shown upon entering LiveTV |
Definition at line 1315 of file tv_play.cpp.
Referenced by StartTV().
| bool TV::StartEmbedding | ( | PlayerContext * | ctx, | |
| WId | wid, | |||
| const QRect & | embedRect | |||
| ) |
| void TV::StopEmbedding | ( | PlayerContext * | ctx | ) |
| bool TV::IsTunable | ( | const PlayerContext * | ctx, | |
| uint | chanid, | |||
| bool | use_cache = false | |||
| ) |
Definition at line 7654 of file tv_play.cpp.
Referenced by BrowseDispInfo(), ChangeChannel(), GuideGrid::GetAlternateChannelIndex(), and GuideGrid::updateChannels().
| void TV::ClearTunableCache | ( | void | ) |
| void TV::ChangeChannel | ( | const PlayerContext * | ctx, | |
| const DBChanList & | options | |||
| ) |
Definition at line 6928 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), BrowseEnd(), ChangeChannel(), GuideGrid::channelUpdate(), CommitQueuedInput(), HandlePseudoLiveTVTimerEvent(), and ProcessNetworkControlCommand().
| void TV::DrawUnusedRects | ( | void | ) |
Definition at line 7804 of file tv_play.cpp.
Referenced by customEvent(), GuideGrid::EmbedTVWindow(), eventFilter(), and HandleStateChange().
| int TV::PlayFromRecorder | ( | int | recordernum | ) |
Definition at line 1766 of file tv_play.cpp.
| int TV::Playback | ( | const ProgramInfo & | rcinfo | ) |
| QString TV::GetRecordingGroup | ( | int | player_idx | ) | const |
Definition at line 11977 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and PlaybackBox::PlaybackBox().
| void TV::setInPlayList | ( | bool | setting | ) | [inline] |
| void TV::setUnderNetworkControl | ( | bool | setting | ) | [inline] |
| void TV::ShowNoRecorderDialog | ( | const PlayerContext * | ctx, | |
| NoRecorderMsg | msgType = kNoRecorders | |||
| ) |
Definition at line 11424 of file tv_play.cpp.
Referenced by ChangeChannel(), RequestNextRecorder(), and StartTV().
| void TV::FinishRecording | ( | int | player_idx | ) |
| void TV::AskAllowRecording | ( | PlayerContext * | ctx, | |
| const QStringList & | msg, | |||
| int | timeuntil, | |||
| bool | hasrec, | |||
| bool | haslater | |||
| ) |
| bool TV::PromptRecGroupPassword | ( | PlayerContext * | ctx | ) |
Definition at line 12010 of file tv_play.cpp.
Referenced by FillOSDMenuJumpRec(), and HandleJumpToProgramAction().
| bool TV::CreatePBP | ( | PlayerContext * | ctx, | |
| const ProgramInfo * | info | |||
| ) |
Setup Picture by Picture.
right side will be the current video.
| info | programinfo for PBP to use for left Picture. is NULL for Live TV |
Definition at line 4822 of file tv_play.cpp.
Referenced by HandleJumpToProgramAction(), and PxPCreateView().
| bool TV::CreatePIP | ( | PlayerContext * | ctx, | |
| const ProgramInfo * | info | |||
| ) |
create PIP.
| info | programinfo for PIP to create. is NULL for LiveTV PIP |
Definition at line 4910 of file tv_play.cpp.
Referenced by HandleJumpToProgramAction(), and PxPCreateView().
| bool TV::ResizePIPWindow | ( | PlayerContext * | ctx | ) |
resize PIP Window.
done when changing channels or swapping PIP
Definition at line 5272 of file tv_play.cpp.
Referenced by PIPAddPlayer().
| bool TV::IsSwitchingCards | ( | void | ) | const [inline] |
| bool TV::IsRunning | ( | void | ) | const [inline] |
Returns true if the TV event thread is running.
Should always be true between the end of the constructor and the beginning of the destructor.
Definition at line 235 of file tv_play.h.
Referenced by GuideGrid::aboutToShow(), GuideGrid::GuideGrid(), and GuideGrid::refreshVideo().
| bool TV::getAllowRerecord | ( | void | ) | const [inline] |
| bool TV::getEndOfRecording | ( | void | ) | const [inline] |
| bool TV::getJumpToProgram | ( | void | ) | const [inline] |
| bool TV::IsSameProgram | ( | int | player_idx, | |
| const ProgramInfo * | p | |||
| ) | const |
true iff program is the same as the one in the selected player
Definition at line 11996 of file tv_play.cpp.
Referenced by extract_main_state(), PlaybackBox::PlayX(), and PlaybackBox::ShowActionPopup().
| bool TV::IsBookmarkAllowed | ( | const PlayerContext * | ctx | ) | const |
Definition at line 11698 of file tv_play.cpp.
Referenced by HandleOSDVideoExit(), PrepareToExitPlayer(), and ShowOSDStopWatchingRecording().
| bool TV::IsDeleteAllowed | ( | const PlayerContext * | ctx | ) | const |
Definition at line 11726 of file tv_play.cpp.
Referenced by HandleOSDVideoExit(), and ShowOSDStopWatchingRecording().
| bool TV::IsPBPSupported | ( | const PlayerContext * | ctx = NULL |
) | const |
Definition at line 5305 of file tv_play.cpp.
Referenced by CreatePBP(), FillOSDMenuPlayback(), PxPHandleAction(), PxPToggleType(), and PxPToggleView().
| bool TV::IsPIPSupported | ( | const PlayerContext * | ctx = NULL |
) | const |
Definition at line 5321 of file tv_play.cpp.
Referenced by CreatePIP(), FillOSDMenuPlayback(), and PxPHandleAction().
| int TV::GetLastRecorderNum | ( | int | player_idx | ) | const |
Definition at line 1369 of file tv_play.cpp.
| TVState TV::GetState | ( | int | player_idx | ) | const |
get tv state of active player context
Definition at line 1290 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), AddKeyToInputQueue(), AskAllowRecording(), CommitQueuedInput(), DoEditSchedule(), DoSkipCommercials(), FinishRecording(), GetRecordingGroup(), HandleIsNearEndWhenEmbeddingTimerEvent(), HandleLCDTimerEvent(), IsBookmarkAllowed(), IsDeleteAllowed(), GuideGrid::keyPressEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), run(), GuideGrid::showMenu(), ShowOSDStopWatchingRecording(), StartTV(), SwitchCards(), and ToggleHandleAction().
| TVState TV::GetState | ( | const PlayerContext * | actx | ) | const |
| OSD * TV::GetOSDL | ( | const char * | file, | |
| int | location | |||
| ) |
Definition at line 12132 of file tv_play.cpp.
| OSD * TV::GetOSDL | ( | const PlayerContext * | ctx, | |
| const char * | file, | |||
| int | location | |||
| ) |
Definition at line 12143 of file tv_play.cpp.
| void TV::ReturnOSDLock | ( | OSD *& | osd | ) |
Definition at line 12177 of file tv_play.cpp.
Referenced by ActiveHandleAction(), BrowseDispInfo(), BrowseStart(), ClearOSD(), DialogIsVisible(), FillOSDMenuJumpRec(), HandleEndOfRecordingExitPromptTimerEvent(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleUDPNotifyEvent(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessKeypress(), ProcessNetworkControlCommand(), RunLoadDDMap(), ShowNoRecorderDialog(), ShowOSDAlreadyEditing(), ShowOSDAskAllow(), ShowOSDCutpoint(), ShowOSDIdle(), ShowOSDMenu(), ShowOSDPromptDeleteRecording(), ShowOSDSleep(), ShowOSDStopWatchingRecording(), StartChannelEditMode(), timerEvent(), ToggleOSD(), ToggleRecord(), UpdateOSDProgInfo(), UpdateOSDSignal(), UpdateOSDStatus(), and UpdateOSDTimeoutMessage().
| void TV::ReturnOSDLock | ( | const PlayerContext * | ctx, | |
| OSD *& | osd | |||
| ) |
Definition at line 12189 of file tv_play.cpp.
| bool TV::ActiveHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions, | |||
| bool | isDVD, | |||
| bool | isDVDStillFrame | |||
| ) |
| void TV::GetNextProgram | ( | RemoteEncoder * | enc, | |
| BrowseDirection | direction, | |||
| InfoMap & | infoMap | |||
| ) | const |
Fetches information on the desired program from the backend.
| enc | RemoteEncoder to query, if null query the actx->recorder. | |
| direction | BrowseDirection to get information on. | |
| infoMap | InfoMap to fill in with returned data |
Definition at line 7501 of file tv_play.cpp.
Referenced by BrowseDispInfo().
| void TV::GetNextProgram | ( | BrowseDirection | direction, | |
| InfoMap & | infoMap | |||
| ) | const |
Definition at line 7571 of file tv_play.cpp.
| void TV::InitKeys | ( | void | ) | [static] |
Definition at line 490 of file tv_play.cpp.
Referenced by InitJumpPoints(), main(), and ResetKeys().
| void TV::ResetKeys | ( | void | ) | [static] |
Definition at line 834 of file tv_play.cpp.
| bool TV::StartTV | ( | ProgramInfo * | tvrec = NULL, |
|
| uint | flags = kStartTVNoFlags | |||
| ) | [static] |
returns true if the recording completed when exiting.
Definition at line 205 of file tv_play.cpp.
Referenced by internal_play_media(), main(), PlaybackBox::Play(), startTVInGuide(), and startTVNormal().
| void TV::SetFuncPtr | ( | const char * | string, | |
| void * | lptr | |||
| ) | [static] |
Import pointers to functions used to embed the TV window into other containers e.g.
playbackbox
Definition at line 475 of file tv_play.cpp.
Referenced by InitJumpPoints().
| void TV::ChangeVolume | ( | PlayerContext * | ctx, | |
| bool | up | |||
| ) |
Definition at line 7983 of file tv_play.cpp.
Referenced by ActiveHandleAction(), DoChangePictureAttribute(), and GuideGrid::volumeUpdate().
| void TV::ToggleMute | ( | PlayerContext * | ctx, | |
| const bool | muteIndividualChannels = false | |||
| ) |
Definition at line 8142 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and GuideGrid::toggleMute().
| bool TV::HasUDPNotifyEvent | ( | void | ) | const |
| void TV::HandleUDPNotifyEvent | ( | void | ) |
| void TV::SaveChannelGroup | ( | void | ) |
save channel group setting to database
Definition at line 1262 of file tv_play.cpp.
Referenced by StartTV().
| void TV::UpdateChannelList | ( | int | groupID | ) |
update the channel list with channels from the selected channel group
Definition at line 1273 of file tv_play.cpp.
Referenced by GuideGrid::~GuideGrid().
| void TV::HandleOSDClosed | ( | int | osdType | ) | [slot] |
| void TV::timerEvent | ( | QTimerEvent * | te | ) | [slot] |
Definition at line 2427 of file tv_play.cpp.
| void TV::AddUDPNotifyEvent | ( | const QString & | name, | |
| const UDPNotifyOSDSet * | set | |||
| ) | [protected, slot] |
| void TV::ClearUDPNotifyEvents | ( | void | ) | [protected, slot] |
| void TV::OSDDialogEvent | ( | int | result, | |
| QString | text, | |||
| QString | action | |||
| ) | [protected] |
| void TV::DoEditSchedule | ( | int | editType = kScheduleProgramGuide |
) | [protected] |
| void TV::run | ( | void | ) | [protected, virtual] |
Definition at line 2389 of file tv_play.cpp.
| void TV::TVEventThreadChecks | ( | void | ) | [protected] |
| void TV::PauseAudioUntilBuffered | ( | PlayerContext * | ctx | ) | [protected] |
Definition at line 8367 of file tv_play.cpp.
Referenced by ChangeChannel(), DoJumpChapter(), DoPlayerSeek(), DoSkipCommercials(), DoSwitchAngle(), and DoSwitchTitle().
| bool TV::eventFilter | ( | QObject * | o, | |
| QEvent * | e | |||
| ) | [protected] |
Definition at line 3335 of file tv_play.cpp.
| void TV::SetActive | ( | PlayerContext * | lctx, | |
| int | index, | |||
| bool | osd_msg | |||
| ) | [private] |
Definition at line 9195 of file tv_play.cpp.
Referenced by ActiveHandleAction(), HandleStateChange(), PxPHandleAction(), PxPSwap(), PxPTeardownView(), RestartMainPlayer(), StopStuff(), and TeardownPlayer().
| PlayerContext * TV::GetPlayerWriteLock | ( | int | which, | |
| const char * | file, | |||
| int | location | |||
| ) | [private] |
Definition at line 12199 of file tv_play.cpp.
Referenced by customEvent(), HandlePxPTimerEvent(), run(), timerEvent(), and ~TV().
| PlayerContext * TV::GetPlayerReadLock | ( | int | which, | |
| const char * | file, | |||
| int | location | |||
| ) | [private] |
Definition at line 12214 of file tv_play.cpp.
Referenced by GuideGrid::channelUpdate(), customEvent(), DoEditSchedule(), DrawUnusedRects(), GuideGrid::EmbedTVWindow(), eventFilter(), FinishRecording(), GuideGrid::GetAlternateChannelIndex(), GetLastRecorderNum(), GetNextProgram(), GetOSDL(), GetRecordingGroup(), GetState(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleIsNearEndWhenEmbeddingTimerEvent(), HandleLCDTimerEvent(), HandlePseudoLiveTVTimerEvent(), HandleSpeedChangeTimerEvent(), HandleUDPNotifyEvent(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), IsPBPSupported(), IsPIPSupported(), IsSameProgram(), LiveTV(), OSDDialogEvent(), Playback(), PlayFromRecorder(), run(), RunLoadDDMap(), ShowOSDIdle(), ShowOSDSleep(), StartTV(), timerEvent(), GuideGrid::toggleMute(), GuideGrid::updateChannels(), and GuideGrid::volumeUpdate().
| const PlayerContext * TV::GetPlayerReadLock | ( | int | which, | |
| const char * | file, | |||
| int | location | |||
| ) | const [private] |
Definition at line 12229 of file tv_play.cpp.
| PlayerContext * TV::GetPlayerHaveLock | ( | PlayerContext * | locked_context, | |
| int | which, | |||
| const char * | file, | |||
| int | location | |||
| ) | [private] |
Definition at line 12245 of file tv_play.cpp.
| const PlayerContext * TV::GetPlayerHaveLock | ( | const PlayerContext * | locked_context, | |
| int | which, | |||
| const char * | file, | |||
| int | location | |||
| ) | const [private] |
Definition at line 12262 of file tv_play.cpp.
| void TV::ReturnPlayerLock | ( | PlayerContext *& | ctx | ) | [private] |
Definition at line 12279 of file tv_play.cpp.
Referenced by ChangeChannel(), GuideGrid::channelUpdate(), customEvent(), DoEditSchedule(), DrawUnusedRects(), GuideGrid::EmbedTVWindow(), eventFilter(), FinishRecording(), GuideGrid::GetAlternateChannelIndex(), GetLastRecorderNum(), GetNextProgram(), GetOSDL(), GetRecordingGroup(), GetState(), HandleEndOfPlaybackTimerEvent(), HandleEndOfRecordingExitPromptTimerEvent(), HandleIsNearEndWhenEmbeddingTimerEvent(), HandleLCDTimerEvent(), HandlePseudoLiveTVTimerEvent(), HandlePxPTimerEvent(), HandleSpeedChangeTimerEvent(), HandleUDPNotifyEvent(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), IsPBPSupported(), IsPIPSupported(), IsSameProgram(), LiveTV(), OSDDialogEvent(), Playback(), PlayFromRecorder(), ProcessNetworkControlCommand(), ReturnOSDLock(), run(), RunLoadDDMap(), ShowOSDIdle(), ShowOSDSleep(), StartTV(), timerEvent(), GuideGrid::toggleMute(), GuideGrid::updateChannels(), GuideGrid::volumeUpdate(), and ~TV().
| void TV::ReturnPlayerLock | ( | const PlayerContext *& | ctx | ) | const [private] |
Definition at line 12285 of file tv_play.cpp.
| int TV::StartTimer | ( | int | interval, | |
| int | line | |||
| ) | [private] |
Definition at line 3024 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AddKeyToInputQueue(), AddUDPNotifyEvent(), BrowseDispInfo(), BrowseStart(), ChangeChannel(), customEvent(), eventFilter(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), HandleOSDIdle(), HandleOSDSleep(), HandlePseudoLiveTVTimerEvent(), HandlePxPTimerEvent(), HandleSpeedChangeTimerEvent(), HandleStateChange(), HandleTrackAction(), Init(), LiveTV(), OSDDialogEvent(), PlayFromRecorder(), PopPreviousChannel(), ProcessKeypress(), ProcessSmartChannel(), PxPHandleAction(), ScheduleStateChange(), SetErrored(), SetSpeedChangeTimer(), SetUpdateOSDPosition(), ShowOSDIdle(), ShowOSDPromptDeleteRecording(), ShowOSDSleep(), ShowOSDStopWatchingRecording(), StartEmbedding(), SwitchSource(), timerEvent(), ToggleSleepTimer(), UpdateLCD(), and UpdateOSDSignal().
| void TV::KillTimer | ( | int | id | ) | [private] |
Definition at line 3037 of file tv_play.cpp.
Referenced by ActiveHandleAction(), BrowseDispInfo(), BrowseEnd(), BrowseStart(), ClearInputQueues(), ClearOSD(), ClearUDPNotifyEvents(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleLCDTimerEvent(), HandleOSDIdle(), HandleOSDSleep(), HandlePseudoLiveTVTimerEvent(), HandlePxPTimerEvent(), HandleSpeedChangeTimerEvent(), HandleStateChange(), HandleTrackAction(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), ProcessKeypress(), SetErrored(), SetSpeedChangeTimer(), SetUpdateOSDPosition(), ShowOSDIdle(), ShowOSDPromptDeleteRecording(), ShowOSDSleep(), ShowOSDStopWatchingRecording(), SleepDialogTimeout(), StartEmbedding(), StopEmbedding(), timerEvent(), ToggleSleepTimer(), and UpdateLCD().
| void TV::ForceNextStateNone | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 3043 of file tv_play.cpp.
Referenced by CreatePBP(), HandleEndOfPlaybackTimerEvent(), PBPRestartMainPlayer(), PxPTeardownView(), RestartAllPlayers(), StartPlayer(), and timerEvent().
| void TV::ScheduleStateChange | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 3049 of file tv_play.cpp.
Referenced by CreatePBP(), CreatePIP(), customEvent(), ForceNextStateNone(), LiveTV(), PBPRestartMainPlayer(), Playback(), StartPlayer(), and SwitchCards().
| void TV::SetErrored | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 3055 of file tv_play.cpp.
Referenced by HandleStateChange(), StartRecorder(), SwitchCards(), and timerEvent().
| void TV::PrepToSwitchToRecordedProgram | ( | PlayerContext * | ctx, | |
| const ProgramInfo & | p | |||
| ) | [private] |
Definition at line 3065 of file tv_play.cpp.
Referenced by customEvent(), and HandleJumpToProgramAction().
| void TV::PrepareToExitPlayer | ( | PlayerContext * | ctx, | |
| int | line, | |||
| bool | bookmark = true | |||
| ) | const [private] |
Definition at line 3076 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), and PrepToSwitchToRecordedProgram().
Definition at line 3090 of file tv_play.cpp.
Referenced by ActiveHandleAction(), customEvent(), HandleEndOfPlaybackTimerEvent(), HandleJumpToProgramAction(), HandleOSDAskAllow(), HandleOSDIdle(), HandleOSDSleep(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), IdleDialogTimeout(), PrepToSwitchToRecordedProgram(), ProcessNetworkControlCommand(), run(), SleepDialogTimeout(), StartTV(), SwitchCards(), and timerEvent().
| void TV::SetUpdateOSDPosition | ( | bool | set_it | ) | [private] |
Definition at line 3108 of file tv_play.cpp.
Referenced by ChangeAudioSync(), ChangeTimeStretch(), ChangeVolume(), DoChangePictureAttribute(), DoSkipCommercials(), DoTogglePictureAttribute(), ProcessNetworkControlCommand(), run(), ToggleOSD(), and UpdateOSDSeekMessage().
| bool TV::PxPHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| bool TV::ToggleHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions, | |||
| bool | isDVD | |||
| ) | [private] |
| bool TV::FFRewHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| bool TV::ActivePostQHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions, | |||
| bool | isDVD | |||
| ) | [private] |
| bool TV::HandleJumpToProgramAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
Definition at line 11236 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
| bool TV::RequestNextRecorder | ( | PlayerContext * | ctx, | |
| bool | showDialogs | |||
| ) | [private] |
| void TV::DeleteRecorder | ( | ) | [private] |
| bool TV::StartRecorder | ( | PlayerContext * | ctx, | |
| int | maxWait = -1 | |||
| ) | [private] |
Starts recorder, must be called before StartPlayer().
| maxWait | How long to wait for RecorderBase to start recording. |
Definition at line 2245 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchCards().
| void TV::StopStuff | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx, | |||
| bool | stopRingbuffers, | |||
| bool | stopPlayers, | |||
| bool | stopRecorders | |||
| ) | [private] |
Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders.
The player needs to be partially shutdown before the recorder, and partially shutdown after the recorder. Hence these are shutdown from within the same method. Also, shutting down things in the right order avoids spewing error messages...
| 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 2297 of file tv_play.cpp.
Referenced by customEvent(), HandleStateChange(), and SwitchCards().
| void TV::ToggleChannelFavorite | ( | PlayerContext * | ctx, | |
| QString | changroup_name | |||
| ) | [private] |
Definition at line 6520 of file tv_play.cpp.
| void TV::ChangeChannel | ( | PlayerContext * | ctx, | |
| int | direction | |||
| ) | [private] |
Definition at line 6750 of file tv_play.cpp.
| void TV::ChangeChannel | ( | PlayerContext * | ctx, | |
| uint | chanid, | |||
| const QString & | channum | |||
| ) | [private] |
Definition at line 6816 of file tv_play.cpp.
| void TV::PauseLiveTV | ( | PlayerContext * | ctx | ) | [private] |
Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output.
Definition at line 11472 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), and ToggleInputs().
| void TV::UnpauseLiveTV | ( | PlayerContext * | ctx | ) | [private] |
Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output.
Definition at line 11513 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), SwitchCards(), and ToggleInputs().
| void TV::ShowPreviousChannel | ( | PlayerContext * | ctx | ) | [private] |
| void TV::PopPreviousChannel | ( | PlayerContext * | ctx, | |
| bool | immediate_change | |||
| ) | [private] |
Definition at line 6964 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), and OSDDialogEvent().
| void TV::ToggleAspectOverride | ( | PlayerContext * | ctx, | |
| AspectOverrideMode | aspectMode = kAspect_Toggle | |||
| ) | [private] |
Definition at line 8334 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::ToggleAdjustFill | ( | PlayerContext * | ctx, | |
| AdjustFillMode | adjustfillMode = kAdjustFill_Toggle | |||
| ) | [private] |
Definition at line 8349 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::SetSpeedChangeTimer | ( | uint | when, | |
| int | line | |||
| ) | [private] |
Definition at line 3295 of file tv_play.cpp.
Referenced by ChangeSpeed(), ChangeTimeStretch(), CreatePBP(), DoPlay(), DoTogglePauseFinish(), NormalSpeed(), PauseLiveTV(), PBPRestartMainPlayer(), SetFFRew(), StartPlayer(), StopFFRew(), SwitchCards(), and UnpauseLiveTV().
| void TV::HandleEndOfPlaybackTimerEvent | ( | void | ) | [private] |
| void TV::HandleIsNearEndWhenEmbeddingTimerEvent | ( | void | ) | [private] |
| void TV::HandleEndOfRecordingExitPromptTimerEvent | ( | void | ) | [private] |
| void TV::HandleVideoExitDialogTimerEvent | ( | void | ) | [private] |
| void TV::HandlePseudoLiveTVTimerEvent | ( | void | ) | [private] |
| void TV::HandleSpeedChangeTimerEvent | ( | void | ) | [private] |
| void TV::AddKeyToInputQueue | ( | PlayerContext * | ctx, | |
| char | key | |||
| ) | [private] |
Definition at line 6584 of file tv_play.cpp.
Referenced by ActiveHandleAction(), BrowseHandleAction(), HandleTrackAction(), and ProcessKeypress().
| void TV::ClearInputQueues | ( | const PlayerContext * | ctx, | |
| bool | hideosd | |||
| ) | [private] |
Clear channel key buffer of input keys.
| hideosd | if true, hides "channel_number" OSDSet. |
Definition at line 6568 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), run(), and timerEvent().
| bool TV::CommitQueuedInput | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 6702 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), AddKeyToInputQueue(), ProcessNetworkControlCommand(), and timerEvent().
| bool TV::ProcessSmartChannel | ( | const PlayerContext * | ctx, | |
| QString & | inputStr | |||
| ) | [private] |
| bool TV::HasQueuedInput | ( | void | ) | const [inline, private] |
Definition at line 395 of file tv_play.h.
Referenced by ActiveHandleAction(), ClearOSD(), CommitQueuedInput(), ProcessKeypress(), and SeekHandleAction().
| bool TV::HasQueuedChannel | ( | void | ) | const [inline, private] |
| QString TV::GetQueuedInput | ( | void | ) | const [private] |
Definition at line 6526 of file tv_play.cpp.
Referenced by AddKeyToInputQueue(), and CommitQueuedInput().
| int TV::GetQueuedInputAsInt | ( | bool * | ok = NULL, |
|
| int | base = 10 | |||
| ) | const [private] |
| QString TV::GetQueuedChanNum | ( | void | ) | const [private] |
Definition at line 6540 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessSmartChannel().
| uint TV::GetQueuedChanID | ( | void | ) | const [inline, private] |
| void TV::SwitchSource | ( | PlayerContext * | ctx, | |
| uint | source_direction | |||
| ) | [private] |
| void TV::SwitchInputs | ( | PlayerContext * | ctx, | |
| uint | inputid | |||
| ) | [private] |
| void TV::ToggleInputs | ( | PlayerContext * | ctx, | |
| uint | inputid = 0 | |||
| ) | [private] |
Definition at line 6465 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), SwitchInputs(), and ToggleHandleAction().
| void TV::SwitchCards | ( | PlayerContext * | ctx, | |
| uint | chanid = 0, |
|||
| QString | channum = "", |
|||
| uint | inputid = 0 | |||
| ) | [private] |
Definition at line 6306 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), ChangeChannel(), and SwitchInputs().
| void TV::ToggleSleepTimer | ( | const PlayerContext * | ctx | ) | [private] |
Definition at line 8177 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::ToggleSleepTimer | ( | const PlayerContext * | ctx, | |
| const QString & | time | |||
| ) | [private] |
Definition at line 11358 of file tv_play.cpp.
| void TV::DoPlay | ( | PlayerContext * | ctx | ) | [private] |
| float TV::DoTogglePauseStart | ( | PlayerContext * | ctx | ) | [private] |
| void TV::DoTogglePauseFinish | ( | PlayerContext * | ctx, | |
| float | time, | |||
| bool | showOSD | |||
| ) | [private] |
| void TV::DoTogglePause | ( | PlayerContext * | ctx, | |
| bool | showOSD | |||
| ) | [private] |
Definition at line 5656 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ChangeSpeed(), HandleIsNearEndWhenEmbeddingTimerEvent(), HandleOSDAlreadyEditing(), HandleOSDVideoExit(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), PromptRecGroupPassword(), ShowOSDAlreadyEditing(), ShowOSDPromptDeleteRecording(), and ShowOSDStopWatchingRecording().
| vector< bool > TV::DoSetPauseState | ( | PlayerContext * | lctx, | |
| const vector< bool > & | pause | |||
| ) | [private] |
| bool TV::SeekHandleAction | ( | PlayerContext * | actx, | |
| const QStringList & | actions, | |||
| const bool | isDVD | |||
| ) | [private] |
| void TV::DoSeek | ( | PlayerContext * | ctx, | |
| float | time, | |||
| const QString & | mesg | |||
| ) | [private] |
Definition at line 5766 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), DoArbSeek(), DVDJumpBack(), DVDJumpForward(), ProcessNetworkControlCommand(), and SeekHandleAction().
| bool TV::DoPlayerSeek | ( | PlayerContext * | ctx, | |
| float | time | |||
| ) | [private] |
Definition at line 5667 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPlay(), DoSeek(), DoTogglePauseFinish(), and FFRewHandleAction().
| void TV::DoArbSeek | ( | PlayerContext * | ctx, | |
| ArbSeekWhence | whence | |||
| ) | [private] |
Definition at line 5785 of file tv_play.cpp.
Referenced by ActiveHandleAction(), CommitQueuedInput(), and SeekHandleAction().
| void TV::NormalSpeed | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 5818 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), DoJumpChapter(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), FFRewHandleAction(), and ProcessNetworkControlCommand().
| void TV::ChangeSpeed | ( | PlayerContext * | ctx, | |
| int | direction | |||
| ) | [private] |
Definition at line 5833 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ProcessNetworkControlCommand().
| void TV::ToggleTimeStretch | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 8004 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::ChangeTimeStretch | ( | PlayerContext * | ctx, | |
| int | dir, | |||
| bool | allowEdit = true | |||
| ) | [private] |
Definition at line 8018 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), ProcessNetworkControlCommand(), TimeStretchHandleAction(), and ToggleTimeStretch().
| bool TV::TimeStretchHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| void TV::ToggleUpmix | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 8072 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::ChangeAudioSync | ( | PlayerContext * | ctx, | |
| int | dir, | |||
| bool | allowEdit = true | |||
| ) | [private] |
Definition at line 8087 of file tv_play.cpp.
Referenced by AudioSyncHandleAction(), OSDDialogEvent(), and ToggleHandleAction().
| bool TV::AudioSyncHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| float TV::StopFFRew | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 5881 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), ChangeFFRew(), ChangeSpeed(), DoJumpChapter(), DoPlay(), DoSeek(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePauseStart(), FFRewHandleAction(), OSDDialogEvent(), and ProcessNetworkControlCommand().
| void TV::ChangeFFRew | ( | PlayerContext * | ctx, | |
| int | direction | |||
| ) | [private] |
| void TV::SetFFRew | ( | PlayerContext * | ctx, | |
| int | index | |||
| ) | [private] |
Definition at line 5940 of file tv_play.cpp.
Referenced by ChangeFFRew(), FFRewHandleAction(), and ProcessNetworkControlCommand().
| int TV::GetNumChapters | ( | const PlayerContext * | ctx | ) | const [private] |
Definition at line 6027 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and FillOSDMenuNavigate().
| void TV::GetChapterTimes | ( | const PlayerContext * | ctx, | |
| QList< long long > & | times | |||
| ) | const [private] |
| int TV::GetCurrentChapter | ( | const PlayerContext * | ctx | ) | const [private] |
| int TV::GetNumTitles | ( | const PlayerContext * | ctx | ) | const [private] |
| int TV::GetCurrentTitle | ( | const PlayerContext * | ctx | ) | const [private] |
| int TV::GetTitleDuration | ( | const PlayerContext * | ctx, | |
| int | title | |||
| ) | const [private] |
| QString TV::GetTitleName | ( | const PlayerContext * | ctx, | |
| int | title | |||
| ) | const [private] |
| void TV::DoSwitchTitle | ( | PlayerContext * | ctx, | |
| int | title | |||
| ) | [private] |
| int TV::GetNumAngles | ( | const PlayerContext * | ctx | ) | const [private] |
| int TV::GetCurrentAngle | ( | const PlayerContext * | ctx | ) | const [private] |
| QString TV::GetAngleName | ( | const PlayerContext * | ctx, | |
| int | angle | |||
| ) | const [private] |
| void TV::DoSwitchAngle | ( | PlayerContext * | ctx, | |
| int | angle | |||
| ) | [private] |
| void TV::DoJumpChapter | ( | PlayerContext * | ctx, | |
| int | direction | |||
| ) | [private] |
Definition at line 6055 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), and OSDDialogEvent().
| void TV::DoSkipCommercials | ( | PlayerContext * | ctx, | |
| int | direction | |||
| ) | [private] |
| void TV::DoQueueTranscode | ( | PlayerContext * | ctx, | |
| QString | profile | |||
| ) | [private] |
Definition at line 5977 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
| void TV::SetAutoCommercialSkip | ( | const PlayerContext * | ctx, | |
| CommSkipMode | skipMode = kCommSkipOff | |||
| ) | [private] |
Definition at line 11206 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and OSDDialogEvent().
| void TV::SetManualZoom | ( | const PlayerContext * | ctx, | |
| bool | enabled, | |||
| QString | msg | |||
| ) | [private] |
Definition at line 11223 of file tv_play.cpp.
Referenced by ManualZoomHandleAction(), and OSDDialogEvent().
| bool TV::ManualZoomHandleAction | ( | PlayerContext * | actx, | |
| const QStringList & | actions | |||
| ) | [private] |
| bool TV::ClearOSD | ( | const PlayerContext * | ctx | ) | [private] |
Definition at line 6996 of file tv_play.cpp.
Referenced by ActiveHandleAction(), AudioSyncHandleAction(), BrowseStart(), DoEditSchedule(), HandleVideoExitDialogTimerEvent(), OSDDialogEvent(), ProcessNetworkControlCommand(), SetActive(), SetManualZoom(), ShowOSDPromptDeleteRecording(), ShowOSDStopWatchingRecording(), and TimeStretchHandleAction().
| void TV::ToggleOSD | ( | const PlayerContext * | ctx, | |
| bool | includeStatusOSD | |||
| ) | [private] |
Cycle through the available Info OSDs.
Definition at line 7032 of file tv_play.cpp.
Referenced by ActiveHandleAction().
| void TV::UpdateOSDProgInfo | ( | const PlayerContext * | ctx, | |
| const char * | whichInfo | |||
| ) | [private] |
Update and display the passed OSD set with programinfo.
Definition at line 7106 of file tv_play.cpp.
Referenced by ToggleOSD(), and UnpauseLiveTV().
| void TV::UpdateOSDStatus | ( | const PlayerContext * | ctx, | |
| QString | title, | |||
| QString | desc, | |||
| QString | value, | |||
| int | type, | |||
| QString | units, | |||
| int | position = 0, |
|||
| int | prev = 0, |
|||
| int | next = 0, |
|||
| enum OSDTimeout | timeout = kOSDTimeout_Med | |||
| ) | [private] |
Definition at line 7135 of file tv_play.cpp.
Referenced by ChangeAudioSync(), ChangeTimeStretch(), ChangeVolume(), DoChangePictureAttribute(), DoJumpChapter(), DoSkipCommercials(), DoSwitchAngle(), DoSwitchTitle(), DoTogglePictureAttribute(), ProcessNetworkControlCommand(), ToggleOSD(), and UpdateOSDSeekMessage().
| void TV::UpdateOSDStatus | ( | const PlayerContext * | ctx, | |
| osdInfo & | info, | |||
| int | type, | |||
| enum OSDTimeout | timeout | |||
| ) | [private] |
Definition at line 7121 of file tv_play.cpp.
| void TV::UpdateOSDSeekMessage | ( | const PlayerContext * | ctx, | |
| const QString & | mesg, | |||
| enum OSDTimeout | timeout | |||
| ) | [private] |
Definition at line 7150 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), DoPlay(), DoSeek(), DoTogglePauseFinish(), DVDJumpBack(), DVDJumpForward(), FFRewHandleAction(), HandleSpeedChangeTimerEvent(), SetAutoCommercialSkip(), SetFFRew(), SetManualZoom(), and ToggleAutoExpire().
| void TV::UpdateOSDInput | ( | const PlayerContext * | ctx, | |
| QString | inputname = QString::null | |||
| ) | [private] |
Definition at line 7167 of file tv_play.cpp.
Referenced by ChangeChannel(), HandleStateChange(), SwitchCards(), and ToggleInputs().
| void TV::UpdateOSDSignal | ( | const PlayerContext * | ctx, | |
| const QStringList & | strlist | |||
| ) | [private] |
Updates Signal portion of OSD.
..
Definition at line 7188 of file tv_play.cpp.
Referenced by customEvent(), and timerEvent().
| void TV::UpdateOSDTimeoutMessage | ( | PlayerContext * | ctx | ) | [private] |
| void TV::UpdateOSDAskAllowDialog | ( | PlayerContext * | ) | [private] |
| void TV::EditSchedule | ( | const PlayerContext * | ctx, | |
| int | editType = kScheduleProgramGuide | |||
| ) | [private] |
Definition at line 7972 of file tv_play.cpp.
Referenced by ActiveHandleAction(), ActivePostQHandleAction(), HandleJumpToProgramAction(), and OSDDialogEvent().
| void TV::TeardownPlayer | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx | |||
| ) | [private] |
| void TV::HandleStateChange | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx | |||
| ) | [private] |
Changes the state to the state on the front of the state change queue.
Note: There must exist a state transition from any state we can enter to the kState_None state, as this is used to shutdown TV in RunTV.
Definition at line 1893 of file tv_play.cpp.
Referenced by run(), and timerEvent().
| bool TV::StartPlayer | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx, | |||
| TVState | desiredState | |||
| ) | [private] |
Definition at line 4968 of file tv_play.cpp.
Referenced by HandleStateChange(), and RestartAllPlayers().
| vector< long long > TV::TeardownAllPlayers | ( | PlayerContext * | lctx | ) | [private] |
Teardown all Player's in preparation for PxP Swap or change from PIP -> PBP or PBP -> PIP.
Definition at line 5340 of file tv_play.cpp.
Referenced by PxPSwap(), PxPToggleType(), and RestartMainPlayer().
| void TV::RestartAllPlayers | ( | PlayerContext * | lctx, | |
| const vector< long long > & | pos, | |||
| MuteState | mctx_mute | |||
| ) | [private] |
Recreate Main and PIP windows.
Could be either PIP or PBP views.
Definition at line 5405 of file tv_play.cpp.
Referenced by PxPSwap(), PxPToggleType(), and RestartMainPlayer().
| void TV::RestartMainPlayer | ( | PlayerContext * | mctx | ) | [private] |
| void TV::PxPToggleView | ( | PlayerContext * | actx, | |
| bool | wantPBP | |||
| ) | [private] |
start/stop PIP/PBP
Definition at line 5089 of file tv_play.cpp.
Referenced by HandlePxPTimerEvent().
| void TV::PxPCreateView | ( | PlayerContext * | actx, | |
| bool | wantPBP | |||
| ) | [private] |
start PIP/PBP
Definition at line 5105 of file tv_play.cpp.
Referenced by HandlePxPTimerEvent(), and PxPToggleView().
| void TV::PxPTeardownView | ( | PlayerContext * | actx | ) | [private] |
stop PIP/PBP
Definition at line 5149 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and PxPToggleView().
| void TV::PxPToggleType | ( | PlayerContext * | mctx, | |
| bool | wantPBP | |||
| ) | [private] |
Change PIP View from PIP to PBP and visa versa.
Definition at line 5185 of file tv_play.cpp.
Referenced by HandlePxPTimerEvent().
| void TV::PxPSwap | ( | PlayerContext * | mctx, | |
| PlayerContext * | pipctx | |||
| ) | [private] |
| bool TV::HandlePxPTimerEvent | ( | void | ) | [private] |
| bool TV::PIPAddPlayer | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx | |||
| ) | [private] |
Maps Player of software scaled PIP to the main player.
Definition at line 5026 of file tv_play.cpp.
Referenced by StartPlayer(), and SwitchCards().
| bool TV::PIPRemovePlayer | ( | PlayerContext * | mctx, | |
| PlayerContext * | ctx | |||
| ) | [private] |
Unmaps Player of software scaled PIP from the main player.
Definition at line 5071 of file tv_play.cpp.
Referenced by SwitchCards(), and TeardownPlayer().
| void TV::PBPRestartMainPlayer | ( | PlayerContext * | mctx | ) | [private] |
tear down remaining PBP video and restore fullscreen display
Definition at line 5364 of file tv_play.cpp.
Referenced by TeardownPlayer().
| void TV::ToggleAutoExpire | ( | PlayerContext * | ctx | ) | [private] |
| void TV::BrowseStart | ( | PlayerContext * | ctx | ) | [private] |
Begins channel browsing.
Definition at line 8777 of file tv_play.cpp.
Referenced by BrowseDispInfo(), OSDDialogEvent(), and ToggleHandleAction().
| void TV::BrowseEnd | ( | PlayerContext * | ctx, | |
| bool | change_channel | |||
| ) | [private] |
Ends channel browsing.
Changing the channel if change is true.
| change_channel | iff true we call ChangeChannel() |
Definition at line 8821 of file tv_play.cpp.
Referenced by BrowseHandleAction(), ShowOSDAskAllow(), and timerEvent().
| void TV::BrowseDispInfo | ( | PlayerContext * | ctx, | |
| BrowseDirection | direction | |||
| ) | [private] |
Fetches browse info from backend and sends it to the OSD.
| direction | BrowseDirection to get information on. |
Definition at line 8847 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), BrowseChannel(), BrowseHandleAction(), and BrowseStart().
| void TV::BrowseChannel | ( | PlayerContext * | ctx, | |
| const QString & | channum | |||
| ) | [private] |
| bool TV::BrowseHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| uint TV::BrowseAllGetChanId | ( | const QString & | chan | ) | const [private] |
| void TV::ToggleRecord | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 8962 of file tv_play.cpp.
Referenced by BrowseHandleAction(), and ToggleHandleAction().
| void TV::DoTogglePictureAttribute | ( | const PlayerContext * | ctx, | |
| PictureAdjustType | type | |||
| ) | [private] |
Definition at line 9109 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::DoChangePictureAttribute | ( | PlayerContext * | ctx, | |
| PictureAdjustType | type, | |||
| PictureAttribute | attr, | |||
| bool | up | |||
| ) | [private] |
| bool TV::PictureAttributeHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions | |||
| ) | [private] |
| void TV::StartChannelEditMode | ( | PlayerContext * | ctx | ) | [private] |
Starts channel editing mode.
Definition at line 9484 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| bool TV::HandleOSDChannelEdit | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::ChannelEditAutoFill | ( | const PlayerContext * | ctx, | |
| InfoMap & | infoMap | |||
| ) | const [private] |
Automatically fills in as much information as possible.
Definition at line 9570 of file tv_play.cpp.
Referenced by HandleOSDChannelEdit(), RunLoadDDMap(), and StartChannelEditMode().
| void TV::ChannelEditAutoFill | ( | const PlayerContext * | ctx, | |
| InfoMap & | infoMap, | |||
| const QMap< QString, bool > & | changed | |||
| ) | const [private] |
Automatically fills in as much information as possible.
Definition at line 9579 of file tv_play.cpp.
| void TV::ChannelEditXDSFill | ( | const PlayerContext * | ctx, | |
| InfoMap & | infoMap | |||
| ) | const [private] |
| QString TV::GetDataDirect | ( | QString | key, | |
| QString | value, | |||
| QString | field, | |||
| bool | allow_partial = false | |||
| ) | const [private] |
| void TV::RunLoadDDMap | ( | uint | sourceid | ) | [private] |
| void * TV::load_dd_map_thunk | ( | void * | param | ) | [static, private] |
| void * TV::load_dd_map_post_thunk | ( | void * | param | ) | [static, private] |
| bool TV::DialogIsVisible | ( | PlayerContext * | ctx, | |
| const QString & | dialog | |||
| ) | [private] |
Definition at line 10161 of file tv_play.cpp.
Referenced by HandleOSDAlreadyEditing(), HandleOSDAskAllow(), HandleOSDChannelEdit(), HandleOSDCutpoint(), HandleOSDIdle(), HandleOSDInfo(), HandleOSDSleep(), and HandleOSDVideoExit().
| void TV::HandleOSDInfo | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::ShowOSDAskAllow | ( | PlayerContext * | ctx | ) | [private] |
| void TV::HandleOSDAskAllow | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::ShowOSDCutpoint | ( | PlayerContext * | ctx, | |
| const QString & | type | |||
| ) | [private] |
Definition at line 9232 of file tv_play.cpp.
Referenced by HandleOSDCutpoint(), and ProcessKeypress().
| bool TV::HandleOSDCutpoint | ( | PlayerContext * | ctx, | |
| QString | action, | |||
| long long | frame | |||
| ) | [private] |
| void TV::StartProgramEditMode | ( | PlayerContext * | ctx | ) | [private] |
Starts Program Cut Map Editing mode.
Definition at line 9388 of file tv_play.cpp.
Referenced by OSDDialogEvent(), and ToggleHandleAction().
| void TV::ShowOSDAlreadyEditing | ( | PlayerContext * | ctx | ) | [private] |
| void TV::HandleOSDAlreadyEditing | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::ShowOSDSleep | ( | void | ) | [private] |
| void TV::HandleOSDSleep | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::SleepDialogTimeout | ( | void | ) | [private] |
| void TV::ShowOSDIdle | ( | void | ) | [private] |
After idleTimer has expired, display a dialogue warning the user that we will exit LiveTV unless they take action. We change idleTimer, to 45 seconds and when it expires for a second time we quit the player. If the user so decides, they may hit ok and we reset the timer back to the default expiry period.
Definition at line 8271 of file tv_play.cpp.
Referenced by timerEvent().
| void TV::HandleOSDIdle | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::IdleDialogTimeout | ( | void | ) | [private] |
| void TV::ShowOSDStopWatchingRecording | ( | PlayerContext * | ctx | ) | [private] |
| void TV::ShowOSDPromptDeleteRecording | ( | PlayerContext * | ctx, | |
| QString | title, | |||
| bool | force = false | |||
| ) | [private] |
Definition at line 11801 of file tv_play.cpp.
Referenced by ActivePostQHandleAction(), HandleEndOfRecordingExitPromptTimerEvent(), and HandleOSDVideoExit().
| bool TV::HandleOSDVideoExit | ( | PlayerContext * | ctx, | |
| QString | action | |||
| ) | [private] |
| void TV::ShowOSDMenu | ( | const PlayerContext * | ctx, | |
| const QString | category = "", |
|||
| const QString | selected = "" | |||
| ) | [private] |
Definition at line 10182 of file tv_play.cpp.
Referenced by ActiveHandleAction(), OSDDialogEvent(), and ToggleHandleAction().
| void TV::FillOSDMenuAudio | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuVideo | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuSubtitles | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuNavigate | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuJobs | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuPlayback | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuSchedule | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuSource | ( | const PlayerContext * | ctx, | |
| OSD * | osd, | |||
| QString | category, | |||
| const QString | selected, | |||
| QString & | currenttext, | |||
| QString & | backaction | |||
| ) | [private] |
| void TV::FillOSDMenuJumpRec | ( | PlayerContext * | ctx, | |
| const QString | category = "", |
|||
| int | level = 0, |
|||
| const QString | selected = "" | |||
| ) | [private] |
| void TV::UpdateLCD | ( | void | ) | [private] |
Definition at line 7405 of file tv_play.cpp.
Referenced by HandleStateChange(), and UnpauseLiveTV().
| bool TV::HandleLCDTimerEvent | ( | void | ) | [private] |
| void TV::ShowLCDChannelInfo | ( | const PlayerContext * | ctx | ) | [private] |
| void TV::ShowLCDDVDInfo | ( | const PlayerContext * | ctx | ) | [private] |
| void TV::ITVRestart | ( | PlayerContext * | ctx, | |
| bool | isLive | |||
| ) | [private] |
Restart the MHEG/MHP engine.
Definition at line 11544 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchCards(), and UnpauseLiveTV().
| bool TV::ScreenShot | ( | PlayerContext * | ctx, | |
| long long | frameNumber | |||
| ) | [private] |
| void TV::DVDJumpBack | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 11613 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ActivePostQHandleAction().
| void TV::DVDJumpForward | ( | PlayerContext * | ctx | ) | [private] |
Definition at line 11653 of file tv_play.cpp.
Referenced by ActiveHandleAction(), and ActivePostQHandleAction().
| bool TV::DVDMenuHandleAction | ( | PlayerContext * | ctx, | |
| const QStringList & | actions, | |||
| bool | isDVD, | |||
| bool | isDVDStill | |||
| ) | [private] |
| void TV::SetLastProgram | ( | const ProgramInfo * | rcinfo | ) | [private] |
Definition at line 11956 of file tv_play.cpp.
Referenced by customEvent(), FillOSDMenuJumpRec(), PrepToSwitchToRecordedProgram(), StartTV(), and timerEvent().
| ProgramInfo * TV::GetLastProgram | ( | void | ) | const [private] |
| static bool TV::LoadExternalSubtitles | ( | MythPlayer * | player, | |
| const QString & | videoFile | |||
| ) | [static, private] |
| static QStringList TV::GetValidRecorderList | ( | uint | chanid | ) | [static, private] |
| static QStringList TV::GetValidRecorderList | ( | const QString & | channum | ) | [static, private] |
| TV::GetValidRecorderList | ( | uint | , | |
| const QString & | ||||
| ) | [static, private] |