#include <tv_play.h>
Definition at line 106 of file tv_play.h.
Public Slots | |
| void | HandleOSDClosed (int osdType) |
Public Member Functions | |
| TV (void) | |
| Performs instance initialiation not requiring access to database. | |
| ~TV () | |
| bool | Init (bool createWindow=true) |
| Performs instance initialization, returns true on success. | |
| void | ProcessKeypress (QKeyEvent *e) |
| void | ProcessNetworkControlCommand (const QString &command) |
| void | customEvent (QCustomEvent *e) |
| bool | HandleTrackAction (const QString &action) |
| int | LiveTV (bool showDialogs=true, bool startInGuide=false) |
| Starts LiveTV. | |
| void | StopLiveTV (void) |
| This command is used to exit the player in order to record using the recording being used by LiveTV. | |
| void | AddPreviousChannel (void) |
| void | PreviousChannel (void) |
| void | EmbedOutput (WId wid, int x, int y, int w, int h) |
| void | StopEmbeddingOutput (void) |
| bool | IsEmbedding (void) |
| bool | IsTunable (uint chanid, bool use_cache=false) |
| void | ClearTunableCache (void) |
| void | ChangeChannel (const DBChanList &options) |
| void | DrawUnusedRects (bool sync) |
| int | PlayFromRecorder (int recordernum) |
| int | Playback (ProgramInfo *rcinfo) |
| void | setLastProgram (ProgramInfo *rcinfo) |
| ProgramInfo * | getLastProgram (void) |
| ProgramInfo * | getCurrentProgram (void) |
| void | setInPlayList (bool setting) |
| void | setUnderNetworkControl (bool setting) |
| bool | IsSameProgram (ProgramInfo *p) |
| void | ShowNoRecorderDialog (void) |
| void | FinishRecording (void) |
| void | AskAllowRecording (const QStringList &, int, bool, bool) |
| void | PromptStopWatchingRecording (void) |
| void | PromptDeleteRecording (QString title) |
| bool | PromptRecGroupPassword (void) |
| bool | BookmarkAllowed (void) |
| bool | DeleteAllowed (void) |
| bool | IsPlaying (void) const |
| Returns true if we are playing back a non-LiveTV recording. | |
| bool | IsRecording (void) const |
| Returns true if we are watching a recording not currently in progress. | |
| bool | IsMenuRunning (void) const |
| Returns true if the EPG is currently on screen. | |
| 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 | WantsToQuit (void) const |
| Returns true if the user told MythTV to stop plaback. | |
| bool | getRequestDelete (void) const |
| Returns true if the user told MythTV to delete the recording we were most recently playing. | |
| 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 | IsErrored (void) const |
| This is set if the player encountered some irrecoverable error. | |
| bool | IsVideoExitDialog (void) |
| true if dialog is either videoplayexit, playexit or askdelete dialog | |
| bool | IsNearEnd (void) const |
| true if NVP is near the end | |
| int | GetLastRecorderNum (void) const |
| TVState | GetState (void) const |
| OSD * | GetOSD (void) |
| void | SetCurrentlyPlaying (ProgramInfo *pginfo) |
| void | GetNextProgram (RemoteEncoder *enc, int direction, InfoMap &infoMap) |
| Fetches information on the desired program from the backend. | |
| void | SetIgnoreKeys (bool ignore) |
| void | ChangeVolume (bool up) |
| void | ToggleMute (void) |
Static Public Member Functions | |
| static void | InitKeys (void) |
| static bool | StartTV (ProgramInfo *tvrec=NULL, bool startInGuide=false, bool inPlaylist=false, bool initByNetworkCommand=false) |
| static void | SetFuncPtr (const char *, void *) |
| Import pointers to functions used to embed the TV window into other containers e.g. | |
Protected Slots | |
| void | SetPreviousChannel (void) |
| void | UnMute (void) |
| If the player exists and sound is muted, this unmutes the sound. | |
| void | KeyRepeatOK (void) |
| void | BrowseEndTimer (void) |
| void | SleepEndTimer (void) |
| void | IdleDialog (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 | TreeMenuEntered (OSDListTreeType *tree, OSDGenericTree *item) |
| void | TreeMenuSelected (OSDListTreeType *tree, OSDGenericTree *item) |
Protected Member Functions | |
| void | doEditSchedule (int editType=kScheduleProgramGuide) |
| void | RunTV (void) |
| void | SetMuteTimer (int timeout) |
| bool | eventFilter (QObject *o, QEvent *e) |
Static Protected Member Functions | |
| static void * | RecordedShowMenuHandler (void *param) |
| static void * | ViewScheduledMenuHandler (void *param) |
| static void * | EventThread (void *param) |
Static Protected Attributes | |
| static QStringList | lastProgramStringList = QStringList() |
| static RUNPLAYBACKBOX | RunPlaybackBoxPtr = NULL |
| static RUNVIEWSCHEDULED | RunViewScheduledPtr = NULL |
| \ brief function pointer for RunViewScheduled in viewscheduled.cpp | |
Private Types | |
| enum | ArbSeekWhence { ARBSEEK_SET = 0, ARBSEEK_REWIND, ARBSEEK_FORWARD, ARBSEEK_END } |
| enum | commSkipMode { CommSkipOff = 0, CommSkipOn = 1, CommSkipNotify = 2, CommSkipModes = 3 } |
Private Member Functions | |
| bool | RequestNextRecorder (bool showDialogs) |
| void | DeleteRecorder () |
| bool | StartRecorder (RemoteEncoder *rec, int maxWait=-1) |
| Starts recorder, must be called before StartPlayer(). | |
| bool | StartPlayer (bool isWatchingRecording, int maxWait=-1) |
| Starts player, must be called after StartRecorder(). | |
| void | StartOSD (void) |
| Initializes the on screen display. | |
| void | StopStuff (bool stopRingbuffers, bool stopPlayers, bool stopRecorders) |
| Can shut down the ringbuffers, the players, and in LiveTV it can shut down the recorders. | |
| void | ToggleChannelFavorite (void) |
| void | ChangeChannel (int direction) |
| void | ChangeChannel (uint chanid, const QString &channum) |
| void | PauseLiveTV (void) |
| Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output. | |
| void | UnpauseLiveTV (void) |
| Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output. | |
| void | ToggleAspectOverride (AspectOverrideMode aspectMode=kAspect_Toggle) |
| void | ToggleAdjustFill (AdjustFillMode adjustfillMode=kAdjustFill_Toggle) |
| bool | FillMenuTracks (OSDGenericTree *, uint type) |
| void | ChangeTrack (uint type, int dir) |
| void | SetTrack (uint type, int trackNo) |
| void | AddKeyToInputQueue (char key) |
| void | ClearInputQueues (bool hideosd=false) |
| Clear channel key buffer of input keys. | |
| bool | CommitQueuedInput (void) |
| bool | ProcessSmartChannel (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 (uint source_direction) |
| void | SwitchInputs (uint inputid) |
| void | ToggleInputs (uint inputid=0) |
| void | SwitchCards (uint chanid=0, QString channum="", uint inputid=0) |
| void | ToggleSleepTimer (void) |
| void | ToggleSleepTimer (const QString) |
| void | DoPlay (void) |
| void | DoPause (bool showOSD=true) |
| void | DoSeek (float time, const QString &mesg) |
| bool | DoNVPSeek (float time) |
| void | DoArbSeek (ArbSeekWhence whence) |
| void | NormalSpeed (void) |
| void | ChangeSpeed (int direction) |
| void | ToggleTimeStretch (void) |
| void | ChangeTimeStretch (int dir, bool allowEdit=true) |
| void | ChangeAudioSync (int dir, bool allowEdit=true) |
| float | StopFFRew (void) |
| void | ChangeFFRew (int direction) |
| void | SetFFRew (int index) |
| void | DoSkipCommercials (int direction) |
| void | StartProgramEditMode (void) |
| Starts Program Cut Map Editing mode. | |
| void | StartChannelEditMode (void) |
| Starts channel editing mode. | |
| void | ChannelEditKey (const QKeyEvent *) |
| Processes channel editing key. | |
| void | ChannelEditAutoFill (InfoMap &) const |
| Automatically fills in as much information as possible. | |
| void | ChannelEditAutoFill (InfoMap &, const QMap< QString, bool > &) const |
| Automatically fills in as much information as possible. | |
| void | ChannelEditXDSFill (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) |
| void | DoQueueTranscode (QString profile) |
| void | SetAutoCommercialSkip (enum commSkipMode skipMode=CommSkipOff) |
| void | SetManualZoom (bool zoomON=false) |
| void | DoDisplayJumpMenu (void) |
| void | SetJumpToProgram (QString progKey="", int progIndex=0) |
| bool | ClearOSD (void) |
| void | ToggleOSD (bool includeStatusOSD) |
| Cycle through the available Info OSDs. | |
| void | UpdateOSDProgInfo (const char *whichInfo) |
| Update and display the passed OSD set with programinfo. | |
| void | UpdateOSDSeekMessage (const QString &mesg, int disptime) |
| void | UpdateOSDInput (QString inputname=QString::null) |
| void | UpdateOSDTextEntry (const QString &message) |
| void | UpdateOSDSignal (const QStringList &strlist) |
| Updates Signal portion of OSD. | |
| void | UpdateOSDTimeoutMessage (void) |
| void | UpdateOSDAskAllowDialog (void) |
| void | HandleOSDAskAllowResponse (void) |
| void | EditSchedule (int editType=kScheduleProgramGuide) |
| void | EmbedWithNewThread (int editType) |
| create new thread to invoke function pointers used for embedding the tv player in other containers. | |
| void | SetupPlayer (bool isWatchingRecording) |
| void | TeardownPlayer (void) |
| void | SetupPipPlayer (void) |
| void | TeardownPipPlayer (void) |
| void | HandleStateChange (void) |
| Changes the state to the state on the front of the state change queue. | |
| bool | InStateChange (void) const |
| Returns true if there is a state change queued up. | |
| void | ChangeState (TVState nextState) |
| Puts a state change on the nextState queue. | |
| void | ForceNextStateNone (void) |
| Removes any pending state changes, and puts kState_None on the queue. | |
| void | TogglePIPView (void) |
| void | ToggleActiveWindow (void) |
| void | SwapPIP (void) |
| void | SwapPIPSoon (void) |
| void | DisplayJumpMenuSoon (void) |
| void | ToggleAutoExpire (void) |
| void | BrowseStart (void) |
| Begins channel browsing. | |
| void | BrowseEnd (bool change) |
| Ends channel browsing. | |
| void | BrowseDispInfo (int direction) |
| Fetches browse info from backend and sends it to the OSD. | |
| void | ToggleRecord (void) |
| void | BrowseChannel (const QString &channum) |
| void | DoTogglePictureAttribute (PictureAdjustType type) |
| void | DoChangePictureAttribute (PictureAdjustType type, PictureAttribute attr, bool up) |
| void | BuildOSDTreeMenu (void) |
| void | ShowOSDTreeMenu (void) |
| void | FillMenuLiveTV (OSDGenericTree *treeMenu) |
| void | FillMenuPlaying (OSDGenericTree *treeMenu) |
| void | UpdateLCD (void) |
| void | ShowLCDChannelInfo (void) |
| void | ShowLCDDVDInfo (void) |
| QString | PlayMesg (void) |
| void | GetPlayGroupSettings (const QString &group) |
| void | SetPseudoLiveTV (uint, const ProgramInfo *, PseudoState) |
| void | ITVRestart (bool isLive) |
| bool | ScreenShot (long long frameNumber) |
| bool | VideoThemeCheck (QString str, bool stayPaused=false) |
| Used by EditSchedule(). | |
| void | DVDJumpBack (void) |
| void | DVDJumpForward (void) |
Static Private Member Functions | |
| static void * | load_dd_map_thunk (void *) |
| static void * | load_dd_map_post_thunk (void *) |
| static bool | LoadExternalSubtitles (NuppelVideoPlayer *nvp, const QString &videoFile) |
| static QStringList | GetValidRecorderList (uint chanid) |
| Returns list of the recorders that have chanid in their sources. | |
| static QStringList | GetValidRecorderList (const QString &channum) |
| Returns list of the recorders that have channum in their sources. | |
| 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 | RemovePlaying (TVState state) |
| static TVState | RemoveRecording (TVState state) |
Private Attributes | |
| QString | baseFilters |
| QString | db_channel_format |
| QString | db_time_format |
| QString | db_short_date_format |
| int | fftime |
| int | rewtime |
| int | jumptime |
| bool | smartChannelChange |
| bool | MuteIndividualChannels |
| bool | arrowAccel |
| int | osd_general_timeout |
| int | osd_prog_info_timeout |
| enum commSkipMode | autoCommercialSkip |
| bool | tryUnflaggedSkip |
| bool | smartForward |
| int | stickykeys |
| float | ff_rew_repos |
| bool | ff_rew_reverse |
| bool | jumped_back |
| Used by PromptDeleteRecording. | |
| vector< int > | ff_rew_speeds |
| uint | vbimode |
| MythDeque< TVState > | nextStates |
| QMutex | stateLock |
| TVState | internalState |
| uint | switchToInputId |
| bool | menurunning |
| bool | runMainLoop |
| bool | wantsToQuit |
| bool | exitPlayer |
| bool | paused |
| bool | errored |
| bool | stretchAdjustment |
| True if time stretch is turned on. | |
| bool | audiosyncAdjustment |
| True if audiosync is turned on. | |
| long long | audiosyncBaseline |
| bool | editmode |
| Are we in video editing mode. | |
| bool | zoomMode |
| bool | sigMonMode |
| Are we in signal monitoring mode? | |
| bool | update_osd_pos |
| Redisplay osd? | |
| bool | endOfRecording |
| !nvp->IsPlaying() && StateIsPlaying(internalState) | |
| bool | requestDelete |
| User wants last video deleted. | |
| bool | allowRerecord |
| User wants to rerecord the last video if deleted. | |
| bool | doSmartForward |
| bool | queuedTranscode |
| bool | getRecorderPlaybackInfo |
| Main loop should get recorderPlaybackInfo. | |
| PictureAdjustType | adjustingPicture |
| Picture attribute type to modify. | |
| PictureAttribute | adjustingPictureAttribute |
| Picture attribute to modify (on arrow left or right). | |
| AskAllowType | askAllowType |
| QMap< QString, AskProgramInfo > | askAllowPrograms |
| QMutex | askAllowLock |
| bool | ignoreKeys |
| bool | needToSwapPIP |
| bool | needToJumpMenu |
| 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. | |
| QTimer * | sleepTimer |
| Timer for turning off playback. | |
| QTimer * | idleTimer |
| Timer for turning off playback after idle period. | |
| QPtrList< QKeyEvent > | keyList |
| Queue of unprocessed key presses. | |
| QMutex | keyListLock |
| Since keys are processed outside Qt event loop, we need a lock. | |
| bool | keyRepeat |
| Are repeats logical on last key? | |
| QTimer * | keyrepeatTimer |
| Timeout timer for repeat key filtering. | |
| int | doing_ff_rew |
| If true we are doing a rewind not a fast forward. | |
| int | ff_rew_index |
| Index into ff_rew_speeds for FF and Rewind speeds. | |
| int | speed_index |
| Caches value of ff_rew_speeds[ff_rew_index]. | |
| float | normal_speed |
| Time stretch speed, 1.0f for normal playback. | |
| float | prev_speed |
| float | frameRate |
| Estimated framerate from recorder. | |
| bool | ccInputMode |
| Are we in CC/Teletext page/stream selection mode? | |
| QTime | ccInputModeExpires |
| When does ccInputMode expire. | |
| bool | asInputMode |
| Are we in Arbitrary seek input mode? | |
| QTime | asInputModeExpires |
| When does asInputMode expire. | |
| 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). | |
| QMutex | queuedInputLock |
| Lock used so that input QStrings can be used across threads, and so that queuedChanNumExpr can be used safely in Qt 3.2 and earlier. | |
| QTimer * | muteTimer |
| For temp. audio muting during channel changes. | |
| QTime | lockTimer |
| bool | lockTimerOn |
| QDateTime | lastLockSeenTime |
| str_vec_t | prevChan |
| Previous channels. | |
| uint | prevChanKeyCnt |
| Number of repeated channel button presses. | |
| QTimer * | prevChanTimer |
| Special (slower) repeat key filtering. | |
| bool | browsemode |
| bool | persistentbrowsemode |
| QTimer * | browseTimer |
| QString | browsechannum |
| QString | browsechanid |
| QString | browsestarttime |
| ProgramInfo * | recorderPlaybackInfo |
| info requested from recorder | |
| ProgramInfo * | playbackinfo |
| info sent in via Playback() | |
| QMutex | pbinfoLock |
| int | playbackLen |
| initial playbackinfo->CalculateLength() | |
| ProgramInfo * | lastProgram |
| last program played with this player | |
| bool | jumpToProgram |
| bool | inPlaylist |
| show is part of a playlist | |
| bool | underNetworkControl |
| initial show started via by the network control interface | |
| bool | isnearend |
| ProgramInfo * | pseudoLiveTVRec [2] |
| PseudoState | pseudoLiveTVState [2] |
| NuppelVideoPlayer * | nvp |
| NuppelVideoPlayer * | pipnvp |
| NuppelVideoPlayer * | activenvp |
| Player to which LiveTV events are sent. | |
| RemoteEncoder * | recorder |
| Main recorder. | |
| RemoteEncoder * | piprecorder |
| Picture-in-Picture recorder. | |
| RemoteEncoder * | activerecorder |
| Recorder to which LiveTV events are being sent. | |
| RemoteEncoder * | switchToRec |
| Main recorder to use after a successful SwitchCards() call. | |
| int | lastrecordernum |
| Storage for keeping the last recorder number around. | |
| LiveTVChain * | tvchain |
| LiveTVChain * | piptvchain |
| QStringList | tvchainUpdate |
| QMutex | tvchainUpdateLock |
| RingBuffer * | prbuffer |
| RingBuffer * | piprbuffer |
| RingBuffer * | activerbuffer |
| Ringbuffer to which LiveTV events are sent. | |
| QString | dialogname |
| Name of current OSD dialog. | |
| OSDGenericTree * | treeMenu |
| OSD menu, 'm' using default keybindings. | |
| MythTimer | dialogboxTimer |
| How long a dialog box is on the screen. | |
| UDPNotify * | udpnotify |
| UDPNotify instance which shows messages sent to the "UDPNotifyPort" in an OSD dialog. | |
| QStringList | lastSignalMsg |
| MythTimer | lastSignalMsgTime |
| InfoMap | lastSignalUIInfo |
| MythTimer | lastSignalUIInfoTime |
| QMutex | osdlock |
| QDateTime | lastLcdUpdate |
| QString | lcdTitle |
| QString | lcdSubtitle |
| QString | lcdCallsign |
| MythDialog * | myWindow |
| Our MythDialog window, if it exists. | |
| WId | embedWinID |
| Window ID when embedded in another widget. | |
| QRect | embedBounds |
| Bounds when embedded in another widget. | |
| QRect | player_bounds |
| Prior GUI window bounds, for doEditSchedule() and player exit(). | |
| QRect | saved_gui_bounds |
| QMutex | is_tunable_cache_lock |
| QMap< uint, vector< InputInfo > > | is_tunable_cache_inputs |
| pthread_t | event |
| Event processing thread, runs RunTV(). | |
| pthread_t | decode |
| Video decoder thread, runs nvp's NuppelVideoPlayer::StartPlaying(). | |
| pthread_t | pipdecode |
| Picture-in-Picture video decoder thread, runs pipnvp's NuppelVideoPlayer::StartPlaying(). | |
| QWaitCondition | mainLoopCond |
| Condition to signal that the Event thread is up and running. | |
| QMutex | mainLoopCondLock |
| QValueList< QString > | networkControlCommands |
| QMutex | ncLock |
Static Private Attributes | |
| static const int | kInitFFRWSpeed = 0 |
| 1x, default to normal speed | |
| static const int | kMuteTimeout = 800 |
| Channel changing mute timeout in msec. | |
| static const int | kLCDTimeout = 1 |
| Timeout for updating LCD info in seconds. | |
| static const int | kBrowseTimeout = 30000 |
| Timeout for browse mode exit in msec. | |
| static const int | kSMExitTimeout = 2000 |
| Timeout after last Signal Monitor message for ignoring OSD when exiting. | |
| static const int | kInputKeysMax = 6 |
| When to start discarding early keys. | |
| static const int | kInputModeTimeout = 5000 |
| Timeout for entry modes in msec. | |
| static const uint | kNextSource = 1 |
| static const uint | kPreviousSource = 2 |
Classes | |
| class | SleepTimerInfo |
| Helper class for Sleep Timer code. More... | |
enum TV::ArbSeekWhence [private] |
enum TV::commSkipMode [private] |
| TV::TV | ( | void | ) |
Performs instance initialiation not requiring access to database.
Definition at line 502 of file tv_play.cpp.
Referenced by StartTV().
| TV::~TV | ( | void | ) |
Definition at line 741 of file tv_play.cpp.
Performs instance initialization, returns true on success.
| createWindow | If true a MythDialog is created for display. |
Definition at line 618 of file tv_play.cpp.
Referenced by main(), ManualBox::startPlayer(), and StartTV().
| void TV::ProcessKeypress | ( | QKeyEvent * | e | ) |
| void TV::ProcessNetworkControlCommand | ( | const QString & | command | ) |
| void TV::customEvent | ( | QCustomEvent * | e | ) |
| bool TV::HandleTrackAction | ( | const QString & | action | ) |
Definition at line 2480 of file tv_play.cpp.
Referenced by CommitQueuedInput(), ProcessKeypress(), and TreeMenuSelected().
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 876 of file tv_play.cpp.
Referenced by ManualBox::startPlayer(), and StartTV().
| void TV::StopLiveTV | ( | void | ) | [inline] |
This command is used to exit the player in order to record using the recording being used by LiveTV.
Definition at line 135 of file tv_play.h.
Referenced by HandleOSDAskAllowResponse(), and StartTV().
| void TV::AddPreviousChannel | ( | void | ) |
| void TV::PreviousChannel | ( | void | ) |
Definition at line 5100 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::EmbedOutput | ( | WId | wid, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 5747 of file tv_play.cpp.
Referenced by ViewScheduled::EmbedTVWindow(), PlaybackBox::EmbedTVWindow(), GuideGrid::showProgFinder(), ManualBox::startPlayer(), and GuideGrid::timeCheckTimeout().
| void TV::StopEmbeddingOutput | ( | void | ) |
Definition at line 5756 of file tv_play.cpp.
Referenced by doEditSchedule(), GuideGrid::enter(), GuideGrid::escape(), and ManualBox::killPlayer().
| bool TV::IsEmbedding | ( | void | ) |
Definition at line 5652 of file tv_play.cpp.
Referenced by ChangeChannel(), GuideGrid::GetAlternateChannelIndex(), and GuideGrid::paintChannels().
| void TV::ClearTunableCache | ( | void | ) |
| void TV::ChangeChannel | ( | const DBChanList & | options | ) |
Definition at line 6233 of file tv_play.cpp.
Referenced by BrowseEnd(), GuideGrid::channelUpdate(), CommitQueuedInput(), doEditSchedule(), ProcessKeypress(), ProcessNetworkControlCommand(), and RunTV().
| void TV::DrawUnusedRects | ( | bool | sync | ) |
Definition at line 5770 of file tv_play.cpp.
Referenced by PlaybackBox::drawVideo(), and GuideGrid::paintEvent().
| int TV::PlayFromRecorder | ( | int | recordernum | ) |
Definition at line 1382 of file tv_play.cpp.
| int TV::Playback | ( | ProgramInfo * | rcinfo | ) |
| void TV::setLastProgram | ( | ProgramInfo * | rcinfo | ) |
Definition at line 8568 of file tv_play.cpp.
Referenced by doEditSchedule(), RunTV(), SetJumpToProgram(), and StartTV().
| ProgramInfo* TV::getLastProgram | ( | void | ) | [inline] |
| ProgramInfo* TV::getCurrentProgram | ( | void | ) | [inline] |
| void TV::setInPlayList | ( | bool | setting | ) | [inline] |
| void TV::setUnderNetworkControl | ( | bool | setting | ) | [inline] |
| bool TV::IsSameProgram | ( | ProgramInfo * | p | ) |
Definition at line 8579 of file tv_play.cpp.
Referenced by PlaybackBox::playSelected(), PlaybackBox::showActionPopup(), and PlaybackBox::updateShowTitles().
| void TV::ShowNoRecorderDialog | ( | void | ) |
Definition at line 8131 of file tv_play.cpp.
Referenced by ChangeChannel(), and RequestNextRecorder().
| void TV::FinishRecording | ( | void | ) |
| void TV::PromptStopWatchingRecording | ( | void | ) |
| void TV::PromptDeleteRecording | ( | QString | title | ) |
| bool TV::PromptRecGroupPassword | ( | void | ) |
Definition at line 8587 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| bool TV::BookmarkAllowed | ( | void | ) |
Definition at line 8444 of file tv_play.cpp.
Referenced by ProcessKeypress(), and PromptStopWatchingRecording().
| bool TV::DeleteAllowed | ( | void | ) |
Definition at line 8464 of file tv_play.cpp.
Referenced by ProcessKeypress(), and PromptStopWatchingRecording().
| bool TV::IsPlaying | ( | void | ) | const [inline] |
Returns true if we are playing back a non-LiveTV recording.
Definition at line 172 of file tv_play.h.
Referenced by PlaybackBox::PlaybackBox().
| bool TV::IsRecording | ( | void | ) | const [inline] |
Returns true if we are watching a recording not currently in progress.
Definition at line 174 of file tv_play.h.
Referenced by FinishRecording(), ManualBox::startPlayer(), and ManualBox::timeout().
| bool TV::IsMenuRunning | ( | void | ) | const [inline] |
| 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 181 of file tv_play.h.
Referenced by GuideGrid::GuideGrid(), PlaybackBox::PlaybackBox(), GuideGrid::timeCheckTimeout(), and ViewScheduled::ViewScheduled().
| bool TV::WantsToQuit | ( | void | ) | const [inline] |
| bool TV::getRequestDelete | ( | void | ) | const [inline] |
| bool TV::getAllowRerecord | ( | void | ) | const [inline] |
| bool TV::getEndOfRecording | ( | void | ) | const [inline] |
| bool TV::getJumpToProgram | ( | void | ) | const [inline] |
| bool TV::IsErrored | ( | void | ) | const [inline] |
This is set if the player encountered some irrecoverable error.
Definition at line 197 of file tv_play.h.
Referenced by HandleStateChange(), Init(), and RunTV().
| bool TV::IsVideoExitDialog | ( | void | ) |
true if dialog is either videoplayexit, playexit or askdelete dialog
Definition at line 8559 of file tv_play.cpp.
Referenced by ProcessKeypress(), and RunTV().
| bool TV::IsNearEnd | ( | void | ) | const [inline] |
| int TV::GetLastRecorderNum | ( | void | ) | const |
Definition at line 931 of file tv_play.cpp.
| TVState TV::GetState | ( | void | ) | const |
Definition at line 852 of file tv_play.cpp.
Referenced by AddKeyToInputQueue(), AskAllowRecording(), BookmarkAllowed(), BuildOSDTreeMenu(), CommitQueuedInput(), customEvent(), DeleteAllowed(), doEditSchedule(), DoSkipCommercials(), IdleDialog(), NuppelVideoPlayer::IsNearEnd(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptStopWatchingRecording(), RunTV(), PlaybackBox::showActionPopup(), ManualBox::startPlayer(), NuppelVideoPlayer::StartPlaying(), StartTV(), SwitchCards(), TreeMenuSelected(), UpdateOSDSeekMessage(), and VideoThemeCheck().
| OSD * TV::GetOSD | ( | void | ) |
Definition at line 6830 of file tv_play.cpp.
Referenced by BrowseDispInfo(), BrowseEnd(), BrowseStart(), ChangeAudioSync(), ChangeChannel(), ChangeTimeStretch(), ChangeTrack(), ChangeVolume(), ChannelEditKey(), UDPNotify::ClearContainer(), ClearInputQueues(), ClearOSD(), CommitQueuedInput(), DoChangePictureAttribute(), DoDisplayJumpMenu(), DoQueueTranscode(), DoSkipCommercials(), DoTogglePictureAttribute(), HandleOSDAskAllowResponse(), HandleStateChange(), IdleDialog(), UDPNotify::incomingData(), ITVRestart(), PreviousChannel(), ProcessKeypress(), PromptDeleteRecording(), PromptRecGroupPassword(), PromptStopWatchingRecording(), RunLoadDDMap(), RunTV(), ScreenShot(), SetAutoCommercialSkip(), SetManualZoom(), SetPreviousChannel(), SetTrack(), ShowNoRecorderDialog(), ShowOSDTreeMenu(), StartChannelEditMode(), StartOSD(), StartProgramEditMode(), ToggleAdjustFill(), ToggleAspectOverride(), ToggleAutoExpire(), ToggleInputs(), ToggleMute(), ToggleOSD(), ToggleRecord(), ToggleSleepTimer(), UpdateOSDAskAllowDialog(), UpdateOSDInput(), UpdateOSDProgInfo(), UpdateOSDSeekMessage(), UpdateOSDSignal(), UpdateOSDTextEntry(), and UpdateOSDTimeoutMessage().
| void TV::SetCurrentlyPlaying | ( | ProgramInfo * | pginfo | ) |
Definition at line 8230 of file tv_play.cpp.
Referenced by NuppelVideoPlayer::FileChangedCallback(), NuppelVideoPlayer::JumpToProgram(), SwapPIP(), NuppelVideoPlayer::SwitchToProgram(), ToggleActiveWindow(), and UnpauseLiveTV().
| void TV::GetNextProgram | ( | RemoteEncoder * | enc, | |
| int | direction, | |||
| InfoMap & | infoMap | |||
| ) |
Fetches information on the desired program from the backend.
| enc | RemoteEncoder to query, if null query the activerecorder. | |
| direction | BrowseDirection to get information on. | |
| infoMap | InfoMap to fill in with returned data |
Definition at line 5592 of file tv_play.cpp.
Referenced by BrowseDispInfo().
| void TV::InitKeys | ( | void | ) | [static] |
| bool TV::StartTV | ( | ProgramInfo * | tvrec = NULL, |
|
| bool | startInGuide = false, |
|||
| bool | inPlaylist = false, |
|||
| bool | initByNetworkCommand = false | |||
| ) | [static] |
Definition at line 88 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 264 of file tv_play.cpp.
Referenced by InitJumpPoints().
| void TV::SetIgnoreKeys | ( | bool | ignore | ) | [inline] |
Definition at line 221 of file tv_play.h.
Referenced by NuppelVideoPlayer::FileChangedCallback(), and NuppelVideoPlayer::SwitchToProgram().
| void TV::ChangeVolume | ( | bool | up | ) |
Definition at line 5985 of file tv_play.cpp.
Referenced by DoChangePictureAttribute(), ProcessKeypress(), and GuideGrid::volumeUpdate().
| void TV::ToggleMute | ( | void | ) |
Definition at line 6101 of file tv_play.cpp.
Referenced by ProcessKeypress(), and GuideGrid::toggleMute().
| void TV::HandleOSDClosed | ( | int | osdType | ) | [slot] |
Definition at line 6706 of file tv_play.cpp.
| void TV::SetPreviousChannel | ( | void | ) | [protected, slot] |
| void TV::UnMute | ( | void | ) | [protected, slot] |
If the player exists and sound is muted, this unmutes the sound.
Definition at line 6274 of file tv_play.cpp.
Referenced by TV().
| void TV::KeyRepeatOK | ( | void | ) | [protected, slot] |
| void TV::BrowseEndTimer | ( | void | ) | [inline, protected, slot] |
| void TV::SleepEndTimer | ( | void | ) | [protected, slot] |
| void TV::IdleDialog | ( | void | ) | [protected, slot] |
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 6178 of file tv_play.cpp.
Referenced by TV().
| void TV::TreeMenuEntered | ( | OSDListTreeType * | tree, | |
| OSDGenericTree * | item | |||
| ) | [protected, slot] |
Definition at line 6837 of file tv_play.cpp.
Referenced by DoDisplayJumpMenu(), and ShowOSDTreeMenu().
| void TV::TreeMenuSelected | ( | OSDListTreeType * | tree, | |
| OSDGenericTree * | item | |||
| ) | [protected, slot] |
Definition at line 7271 of file tv_play.cpp.
Referenced by DoDisplayJumpMenu(), and ShowOSDTreeMenu().
| void TV::doEditSchedule | ( | int | editType = kScheduleProgramGuide |
) | [protected] |
Definition at line 5826 of file tv_play.cpp.
Referenced by customEvent(), RecordedShowMenuHandler(), and ViewScheduledMenuHandler().
| void * TV::RecordedShowMenuHandler | ( | void * | param | ) | [static, protected] |
| void * TV::ViewScheduledMenuHandler | ( | void * | param | ) | [static, protected] |
| void TV::RunTV | ( | void | ) | [protected] |
| void * TV::EventThread | ( | void * | param | ) | [static, protected] |
| void TV::SetMuteTimer | ( | int | timeout | ) | [protected] |
Definition at line 6260 of file tv_play.cpp.
Referenced by ChangeChannel(), DoNVPSeek(), and DoSkipCommercials().
| bool TV::eventFilter | ( | QObject * | o, | |
| QEvent * | e | |||
| ) | [protected] |
Definition at line 2447 of file tv_play.cpp.
| void TV::DeleteRecorder | ( | ) | [private] |
Definition at line 938 of file tv_play.cpp.
Referenced by HandleStateChange(), PlayFromRecorder(), RequestNextRecorder(), SwitchCards(), and TeardownPlayer().
| bool TV::StartRecorder | ( | RemoteEncoder * | rec, | |
| int | maxWait = -1 | |||
| ) | [private] |
Starts recorder, must be called before StartPlayer().
| maxWait | How long to wait for RecorderBase to start recording. |
Definition at line 1758 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchCards(), and TogglePIPView().
Starts player, must be called after StartRecorder().
| maxWait | How long to wait for NuppelVideoPlayer to start playing. |
Definition at line 1787 of file tv_play.cpp.
Referenced by HandleStateChange(), SwapPIP(), and SwitchCards().
| void TV::StartOSD | ( | void | ) | [private] |
Initializes the on screen display.
If the NuppelVideoPlayer already exists we grab it's OSD via NuppelVideoPlayer::GetOSD().
Definition at line 1827 of file tv_play.cpp.
Referenced by StartPlayer().
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...
| stopRingBuffers | Set to true if ringbuffer must be shut down. | |
| stopPlayers | Set to true if player must be shut down. | |
| stopRecorders | Set to true if recorder must be shut down. |
Definition at line 1850 of file tv_play.cpp.
Referenced by HandleStateChange(), and SwitchCards().
| void TV::ToggleChannelFavorite | ( | void | ) | [private] |
| void TV::ChangeChannel | ( | int | direction | ) | [private] |
Definition at line 4712 of file tv_play.cpp.
| void TV::ChangeChannel | ( | uint | chanid, | |
| const QString & | channum | |||
| ) | [private] |
Definition at line 4969 of file tv_play.cpp.
| void TV::PauseLiveTV | ( | void | ) | [private] |
Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to temporarily stop video output.
Definition at line 8162 of file tv_play.cpp.
Referenced by ChangeChannel(), ProcessKeypress(), and ToggleInputs().
| void TV::UnpauseLiveTV | ( | void | ) | [private] |
Used in ChangeChannel(), ChangeChannel(), and ToggleInputs() to restart video output.
Definition at line 8198 of file tv_play.cpp.
Referenced by ChangeChannel(), ProcessKeypress(), SwitchCards(), and ToggleInputs().
| void TV::ToggleAspectOverride | ( | AspectOverrideMode | aspectMode = kAspect_Toggle |
) | [private] |
Definition at line 6215 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::ToggleAdjustFill | ( | AdjustFillMode | adjustfillMode = kAdjustFill_Toggle |
) | [private] |
Definition at line 6224 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| bool TV::FillMenuTracks | ( | OSDGenericTree * | treeMenu, | |
| uint | type | |||
| ) | [private] |
| void TV::ChangeTrack | ( | uint | type, | |
| int | dir | |||
| ) | [private] |
Definition at line 7869 of file tv_play.cpp.
| void TV::SetTrack | ( | uint | type, | |
| int | trackNo | |||
| ) | [private] |
Definition at line 7883 of file tv_play.cpp.
| void TV::AddKeyToInputQueue | ( | char | key | ) | [private] |
Definition at line 4804 of file tv_play.cpp.
Referenced by HandleTrackAction(), and ProcessKeypress().
| void TV::ClearInputQueues | ( | bool | hideosd = false |
) | [private] |
Clear channel key buffer of input keys.
| hideosd | if true, hides "channel_number" OSDSet. |
Definition at line 4793 of file tv_play.cpp.
Referenced by ChangeChannel(), ClearOSD(), CommitQueuedInput(), DoArbSeek(), HandleTrackAction(), ProcessKeypress(), and RunTV().
| bool TV::CommitQueuedInput | ( | void | ) | [private] |
Definition at line 4924 of file tv_play.cpp.
Referenced by AddKeyToInputQueue(), ProcessKeypress(), ProcessNetworkControlCommand(), and RunTV().
| bool TV::ProcessSmartChannel | ( | QString & | inputStr | ) | [private] |
| bool TV::HasQueuedInput | ( | void | ) | const [inline, private] |
Definition at line 283 of file tv_play.h.
Referenced by ClearOSD(), CommitQueuedInput(), and ProcessKeypress().
| bool TV::HasQueuedChannel | ( | void | ) | const [inline, private] |
| QString TV::GetQueuedInput | ( | void | ) | const [private] |
Definition at line 4755 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 4767 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessSmartChannel().
| uint TV::GetQueuedChanID | ( | void | ) | const [inline, private] |
| void TV::SwitchSource | ( | uint | source_direction | ) | [private] |
| void TV::SwitchInputs | ( | uint | inputid | ) | [private] |
| void TV::ToggleInputs | ( | uint | inputid = 0 |
) | [private] |
Definition at line 4524 of file tv_play.cpp.
Referenced by ChangeChannel(), ProcessKeypress(), and SwitchInputs().
| void TV::ToggleSleepTimer | ( | void | ) | [private] |
Definition at line 6134 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::ToggleSleepTimer | ( | const | QString | ) | [private] |
Definition at line 7981 of file tv_play.cpp.
| void TV::DoPlay | ( | void | ) | [private] |
| void TV::DoPause | ( | bool | showOSD = true |
) | [private] |
Definition at line 4103 of file tv_play.cpp.
Referenced by ChangeSpeed(), doEditSchedule(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptRecGroupPassword(), PromptStopWatchingRecording(), RunTV(), TreeMenuSelected(), and VideoThemeCheck().
| void TV::DoSeek | ( | float | time, | |
| const QString & | mesg | |||
| ) | [private] |
Definition at line 4186 of file tv_play.cpp.
Referenced by DoArbSeek(), DVDJumpBack(), DVDJumpForward(), ProcessKeypress(), and ProcessNetworkControlCommand().
| bool TV::DoNVPSeek | ( | float | time | ) | [private] |
Definition at line 4155 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPause(), DoPlay(), DoSeek(), and ProcessKeypress().
| void TV::DoArbSeek | ( | ArbSeekWhence | whence | ) | [private] |
Definition at line 4203 of file tv_play.cpp.
Referenced by CommitQueuedInput(), and ProcessKeypress().
| void TV::NormalSpeed | ( | void | ) | [private] |
Definition at line 4227 of file tv_play.cpp.
Referenced by ChangeFFRew(), DoSeek(), DoSkipCommercials(), ProcessKeypress(), and ProcessNetworkControlCommand().
| void TV::ChangeSpeed | ( | int | direction | ) | [private] |
Definition at line 4236 of file tv_play.cpp.
Referenced by ProcessKeypress(), and ProcessNetworkControlCommand().
| void TV::ToggleTimeStretch | ( | void | ) | [private] |
Definition at line 6007 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::ChangeTimeStretch | ( | int | dir, | |
| bool | allowEdit = true | |||
| ) | [private] |
Definition at line 6019 of file tv_play.cpp.
Referenced by ProcessKeypress(), ProcessNetworkControlCommand(), ToggleTimeStretch(), and TreeMenuSelected().
| void TV::ChangeAudioSync | ( | int | dir, | |
| bool | allowEdit = true | |||
| ) | [private] |
Definition at line 6058 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| float TV::StopFFRew | ( | void | ) | [private] |
Definition at line 4274 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), DoPause(), DoPlay(), DoSeek(), DoSkipCommercials(), ProcessKeypress(), ProcessNetworkControlCommand(), and TreeMenuSelected().
| void TV::ChangeFFRew | ( | int | direction | ) | [private] |
| void TV::SetFFRew | ( | int | index | ) | [private] |
Definition at line 4328 of file tv_play.cpp.
Referenced by ChangeFFRew(), ProcessKeypress(), and ProcessNetworkControlCommand().
| void TV::DoSkipCommercials | ( | int | direction | ) | [private] |
| void TV::StartProgramEditMode | ( | void | ) | [private] |
Starts Program Cut Map Editing mode.
Definition at line 6847 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::StartChannelEditMode | ( | void | ) | [private] |
Starts channel editing mode.
Definition at line 6906 of file tv_play.cpp.
Referenced by ProcessKeypress().
| void TV::ChannelEditKey | ( | const QKeyEvent * | e | ) | [private] |
Processes channel editing key.
Definition at line 6950 of file tv_play.cpp.
Referenced by ProcessKeypress().
| void TV::ChannelEditAutoFill | ( | InfoMap & | infoMap | ) | const [private] |
Automatically fills in as much information as possible.
Definition at line 6994 of file tv_play.cpp.
Referenced by ChannelEditKey(), RunLoadDDMap(), and StartChannelEditMode().
| void TV::ChannelEditAutoFill | ( | InfoMap & | infoMap, | |
| const QMap< QString, bool > & | changed | |||
| ) | const [private] |
Automatically fills in as much information as possible.
Definition at line 7003 of file tv_play.cpp.
| void TV::ChannelEditXDSFill | ( | 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] |
| void TV::DoQueueTranscode | ( | QString | profile | ) | [private] |
Definition at line 4355 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::SetAutoCommercialSkip | ( | enum commSkipMode | skipMode = CommSkipOff |
) | [private] |
Definition at line 7925 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::SetManualZoom | ( | bool | zoomON = false |
) | [private] |
Definition at line 7949 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::DoDisplayJumpMenu | ( | void | ) | [private] |
| void TV::SetJumpToProgram | ( | QString | progKey = "", |
|
| int | progIndex = 0 | |||
| ) | [private] |
| bool TV::ClearOSD | ( | void | ) | [private] |
Definition at line 5161 of file tv_play.cpp.
Referenced by BrowseStart(), DoDisplayJumpMenu(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptStopWatchingRecording(), RunTV(), SetManualZoom(), and ShowOSDTreeMenu().
| void TV::ToggleOSD | ( | bool | includeStatusOSD | ) | [private] |
Cycle through the available Info OSDs.
Definition at line 5183 of file tv_play.cpp.
Referenced by ProcessKeypress().
| void TV::UpdateOSDProgInfo | ( | const char * | whichInfo | ) | [private] |
Update and display the passed OSD set with programinfo.
Definition at line 5254 of file tv_play.cpp.
Referenced by ToggleOSD(), and UnpauseLiveTV().
| void TV::UpdateOSDSeekMessage | ( | const QString & | mesg, | |
| int | disptime | |||
| ) | [private] |
Definition at line 5272 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), DoPause(), DoPlay(), DoSeek(), DVDJumpBack(), DVDJumpForward(), ProcessKeypress(), RunTV(), and SetFFRew().
| void TV::UpdateOSDInput | ( | QString | inputname = QString::null |
) | [private] |
Definition at line 5287 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchCards(), and ToggleInputs().
| void TV::UpdateOSDTextEntry | ( | const QString & | message | ) | [private] |
Definition at line 4910 of file tv_play.cpp.
Referenced by AddKeyToInputQueue(), and ProcessKeypress().
| void TV::UpdateOSDSignal | ( | const QStringList & | strlist | ) | [private] |
Updates Signal portion of OSD.
..
Definition at line 5309 of file tv_play.cpp.
Referenced by customEvent(), and RunTV().
| void TV::UpdateOSDTimeoutMessage | ( | void | ) | [private] |
| void TV::UpdateOSDAskAllowDialog | ( | void | ) | [private] |
| void TV::HandleOSDAskAllowResponse | ( | void | ) | [private] |
| void TV::EditSchedule | ( | int | editType = kScheduleProgramGuide |
) | [private] |
Definition at line 5974 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::EmbedWithNewThread | ( | int | editType | ) | [private] |
create new thread to invoke function pointers used for embedding the tv player in other containers.
Example: playbackbox
Definition at line 5948 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::SetupPlayer | ( | bool | isWatchingRecording | ) | [private] |
| void TV::TeardownPlayer | ( | void | ) | [private] |
| void TV::SetupPipPlayer | ( | void | ) | [private] |
| void TV::TeardownPipPlayer | ( | void | ) | [private] |
Definition at line 2037 of file tv_play.cpp.
Referenced by StopStuff(), SwapPIP(), and TogglePIPView().
| void TV::HandleStateChange | ( | void | ) | [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 1484 of file tv_play.cpp.
Referenced by RunTV().
| bool TV::InStateChange | ( | void | ) | const [private] |
Returns true if there is a state change queued up.
Definition at line 1723 of file tv_play.cpp.
Referenced by GetState(), and RunTV().
| void TV::ChangeState | ( | TVState | nextState | ) | [private] |
Puts a state change on the nextState queue.
Definition at line 1735 of file tv_play.cpp.
Referenced by customEvent(), LiveTV(), Playback(), and RunTV().
| void TV::ForceNextStateNone | ( | void | ) | [private] |
Removes any pending state changes, and puts kState_None on the queue.
Definition at line 1745 of file tv_play.cpp.
Referenced by RunTV().
| void TV::TogglePIPView | ( | void | ) | [private] |
Definition at line 3822 of file tv_play.cpp.
Referenced by customEvent(), ProcessKeypress(), RunTV(), and TreeMenuSelected().
| void TV::ToggleActiveWindow | ( | void | ) | [private] |
Definition at line 3917 of file tv_play.cpp.
Referenced by ProcessKeypress(), RunTV(), TeardownPipPlayer(), TogglePIPView(), and TreeMenuSelected().
| void TV::SwapPIP | ( | void | ) | [private] |
| void TV::SwapPIPSoon | ( | void | ) | [inline, private] |
| void TV::DisplayJumpMenuSoon | ( | void | ) | [inline, private] |
| void TV::ToggleAutoExpire | ( | void | ) | [private] |
| void TV::BrowseStart | ( | void | ) | [private] |
Begins channel browsing.
Definition at line 6507 of file tv_play.cpp.
Referenced by BrowseDispInfo(), ProcessKeypress(), and TreeMenuSelected().
| void TV::BrowseEnd | ( | bool | change | ) | [private] |
Ends channel browsing.
Changing the channel if change is true.
| change | iff true we call ChangeChannel() |
Definition at line 6537 of file tv_play.cpp.
Referenced by ProcessKeypress().
| void TV::BrowseDispInfo | ( | int | direction | ) | [private] |
Fetches browse info from backend and sends it to the OSD.
| direction | BrowseDirection to get information on. |
Definition at line 6558 of file tv_play.cpp.
Referenced by BrowseChannel(), BrowseStart(), and ProcessKeypress().
| void TV::ToggleRecord | ( | void | ) | [private] |
| void TV::BrowseChannel | ( | const QString & | channum | ) | [private] |
| void TV::DoTogglePictureAttribute | ( | PictureAdjustType | type | ) | [private] |
Definition at line 6756 of file tv_play.cpp.
Referenced by ProcessKeypress(), and TreeMenuSelected().
| void TV::DoChangePictureAttribute | ( | PictureAdjustType | type, | |
| PictureAttribute | attr, | |||
| bool | up | |||
| ) | [private] |
| void TV::BuildOSDTreeMenu | ( | void | ) | [private] |
| void TV::ShowOSDTreeMenu | ( | void | ) | [private] |
| void TV::FillMenuLiveTV | ( | OSDGenericTree * | treeMenu | ) | [private] |
| void TV::FillMenuPlaying | ( | OSDGenericTree * | treeMenu | ) | [private] |
| void TV::UpdateLCD | ( | void | ) | [private] |
Definition at line 5503 of file tv_play.cpp.
Referenced by HandleStateChange(), RunTV(), and UnpauseLiveTV().
| void TV::ShowLCDChannelInfo | ( | void | ) | [private] |
| void TV::ShowLCDDVDInfo | ( | void | ) | [private] |
| QString TV::PlayMesg | ( | void | ) | [private] |
Definition at line 4084 of file tv_play.cpp.
Referenced by ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), DoPause(), DoPlay(), ProcessKeypress(), and RunTV().
| void TV::GetPlayGroupSettings | ( | const QString & | group | ) | [private] |
| void TV::SetPseudoLiveTV | ( | uint | i, | |
| const ProgramInfo * | pi, | |||
| PseudoState | new_state | |||
| ) | [private] |
Definition at line 6607 of file tv_play.cpp.
Referenced by customEvent(), TogglePIPView(), and ToggleRecord().
| void TV::ITVRestart | ( | bool | isLive | ) | [private] |
Definition at line 8247 of file tv_play.cpp.
Referenced by HandleStateChange(), SwitchCards(), and UnpauseLiveTV().
| bool TV::ScreenShot | ( | long long | frameNumber | ) | [private] |
Used by EditSchedule().
Unpauses embedded tv based on whether theme exists and/or if knob to continued playback is enabled
Definition at line 5795 of file tv_play.cpp.
Referenced by doEditSchedule().
| void TV::DVDJumpBack | ( | void | ) | [private] |
| void TV::DVDJumpForward | ( | void | ) | [private] |
| bool TV::LoadExternalSubtitles | ( | NuppelVideoPlayer * | nvp, | |
| const QString & | videoFile | |||
| ) | [static, private] |
| QStringList TV::GetValidRecorderList | ( | uint | chanid | ) | [static, private] |
Returns list of the recorders that have chanid in their sources.
| chanid | Channel ID of channel we are querying recorders for. |
Definition at line 8056 of file tv_play.cpp.
Referenced by ChangeChannel(), GetValidRecorderList(), and SwitchCards().
| QStringList TV::GetValidRecorderList | ( | const QString & | channum | ) | [static, private] |
Returns list of the recorders that have channum in their sources.
| channum | Channel "number" we are querying recorders for. |
Definition at line 8088 of file tv_play.cpp.
| QStringList TV::GetValidRecorderList | ( | uint | chanid, | |
| const QString & | channum | |||
| ) | [static, private] |
Returns list of the recorders that have chanid or channum in their sources.
| chanid | Channel ID of channel we are querying recorders for. | |
| channum | Channel "number" we are querying recorders for. |
Definition at line 8122 of file tv_play.cpp.
Definition at line 1441 of file tv_play.cpp.
Referenced by BuildOSDTreeMenu(), doEditSchedule(), HandleStateChange(), ProcessKeypress(), RemovePlaying(), RunTV(), and TreeMenuSelected().
Definition at line 1447 of file tv_play.cpp.
Referenced by AddKeyToInputQueue(), AskAllowRecording(), BookmarkAllowed(), BuildOSDTreeMenu(), CommitQueuedInput(), customEvent(), DeleteAllowed(), doEditSchedule(), DoSkipCommercials(), HandleStateChange(), IdleDialog(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptStopWatchingRecording(), RunTV(), SwitchCards(), TreeMenuSelected(), UpdateOSDSeekMessage(), and VideoThemeCheck().
Definition at line 1452 of file tv_play.cpp.
QStringList TV::lastProgramStringList = QStringList() [static, protected] |
RUNPLAYBACKBOX TV::RunPlaybackBoxPtr = NULL [static, protected] |
Definition at line 251 of file tv_play.h.
Referenced by doEditSchedule(), ProcessKeypress(), SetFuncPtr(), and TreeMenuSelected().
RUNVIEWSCHEDULED TV::RunViewScheduledPtr = NULL [static, protected] |
\ brief function pointer for RunViewScheduled in viewscheduled.cpp
Definition at line 252 of file tv_play.h.
Referenced by doEditSchedule(), and SetFuncPtr().
QString TV::baseFilters [private] |
QString TV::db_channel_format [private] |
QString TV::db_time_format [private] |
QString TV::db_short_date_format [private] |
int TV::fftime [private] |
Definition at line 439 of file tv_play.h.
Referenced by GetPlayGroupSettings(), ProcessKeypress(), and ProcessNetworkControlCommand().
int TV::rewtime [private] |
Definition at line 440 of file tv_play.h.
Referenced by GetPlayGroupSettings(), ProcessKeypress(), and ProcessNetworkControlCommand().
int TV::jumptime [private] |
Definition at line 441 of file tv_play.h.
Referenced by DVDJumpBack(), DVDJumpForward(), GetPlayGroupSettings(), and ProcessKeypress().
bool TV::smartChannelChange [private] |
bool TV::MuteIndividualChannels [private] |
bool TV::arrowAccel [private] |
int TV::osd_general_timeout [private] |
Definition at line 445 of file tv_play.h.
Referenced by ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), DoPause(), DoPlay(), DoSeek(), DVDJumpBack(), DVDJumpForward(), Init(), ProcessKeypress(), and RunTV().
int TV::osd_prog_info_timeout [private] |
Definition at line 446 of file tv_play.h.
Referenced by Init(), ToggleOSD(), UpdateOSDProgInfo(), and UpdateOSDSignal().
enum commSkipMode TV::autoCommercialSkip [private] |
Definition at line 448 of file tv_play.h.
Referenced by FillMenuPlaying(), Init(), ProcessKeypress(), SetAutoCommercialSkip(), and SetupPlayer().
bool TV::tryUnflaggedSkip [private] |
bool TV::smartForward [private] |
int TV::stickykeys [private] |
float TV::ff_rew_repos [private] |
bool TV::ff_rew_reverse [private] |
bool TV::jumped_back [private] |
Used by PromptDeleteRecording.
Definition at line 455 of file tv_play.h.
Referenced by ProcessKeypress(), and RunTV().
vector<int> TV::ff_rew_speeds [private] |
Definition at line 456 of file tv_play.h.
Referenced by ChangeFFRew(), Init(), ProcessKeypress(), ProcessNetworkControlCommand(), SetFFRew(), and StopFFRew().
uint TV::vbimode [private] |
MythDeque<TVState> TV::nextStates [private] |
Definition at line 461 of file tv_play.h.
Referenced by ChangeState(), ForceNextStateNone(), HandleStateChange(), InStateChange(), and RunTV().
QMutex TV::stateLock [mutable, private] |
Definition at line 462 of file tv_play.h.
Referenced by ChangeState(), ForceNextStateNone(), HandleStateChange(), InStateChange(), and RunTV().
TVState TV::internalState [private] |
Definition at line 463 of file tv_play.h.
Referenced by DoQueueTranscode(), GetState(), HandleStateChange(), LiveTV(), Playback(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), RunTV(), and TreeMenuSelected().
uint TV::switchToInputId [private] |
Definition at line 465 of file tv_play.h.
Referenced by RunTV(), SwitchSource(), and TreeMenuSelected().
bool TV::menurunning [private] |
Definition at line 466 of file tv_play.h.
Referenced by customEvent(), doEditSchedule(), and EmbedWithNewThread().
bool TV::runMainLoop [private] |
bool TV::wantsToQuit [private] |
Definition at line 468 of file tv_play.h.
Referenced by customEvent(), HandleStateChange(), IdleDialog(), Playback(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), and SleepEndTimer().
bool TV::exitPlayer [private] |
Definition at line 469 of file tv_play.h.
Referenced by customEvent(), doEditSchedule(), IdleDialog(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), RunTV(), SleepEndTimer(), StartRecorder(), SwitchCards(), and TreeMenuSelected().
bool TV::paused [private] |
Definition at line 470 of file tv_play.h.
Referenced by BrowseDispInfo(), BrowseStart(), ChangeChannel(), ChangeFFRew(), ChangeSpeed(), ChangeTimeStretch(), doEditSchedule(), DoPause(), DoPlay(), ITVRestart(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptRecGroupPassword(), PromptStopWatchingRecording(), RunTV(), TeardownPlayer(), ToggleInputs(), ToggleOSD(), TreeMenuSelected(), and VideoThemeCheck().
bool TV::errored [private] |
bool TV::stretchAdjustment [private] |
True if time stretch is turned on.
Definition at line 472 of file tv_play.h.
Referenced by ChangeTimeStretch(), HandleOSDClosed(), and ProcessKeypress().
bool TV::audiosyncAdjustment [private] |
True if audiosync is turned on.
Definition at line 473 of file tv_play.h.
Referenced by ChangeAudioSync(), HandleOSDClosed(), and ProcessKeypress().
long long TV::audiosyncBaseline [private] |
bool TV::editmode [private] |
Are we in video editing mode.
Definition at line 475 of file tv_play.h.
Referenced by ProcessKeypress(), RunTV(), and StartProgramEditMode().
bool TV::zoomMode [private] |
bool TV::sigMonMode [private] |
Are we in signal monitoring mode?
Definition at line 477 of file tv_play.h.
Referenced by ProcessKeypress().
bool TV::update_osd_pos [private] |
Redisplay osd?
Definition at line 478 of file tv_play.h.
Referenced by ChangeAudioSync(), ChangeTimeStretch(), ChangeVolume(), DoChangePictureAttribute(), DoSkipCommercials(), DoTogglePictureAttribute(), RunTV(), SetAutoCommercialSkip(), SetManualZoom(), ToggleAutoExpire(), ToggleOSD(), and UpdateOSDSeekMessage().
bool TV::endOfRecording [private] |
!nvp->IsPlaying() && StateIsPlaying(internalState)
Definition at line 479 of file tv_play.h.
Referenced by RunTV().
bool TV::requestDelete [private] |
User wants last video deleted.
Definition at line 480 of file tv_play.h.
Referenced by LiveTV(), Playback(), ProcessKeypress(), and RunTV().
bool TV::allowRerecord [private] |
User wants to rerecord the last video if deleted.
Definition at line 481 of file tv_play.h.
Referenced by LiveTV(), Playback(), and ProcessKeypress().
bool TV::doSmartForward [private] |
Definition at line 482 of file tv_play.h.
Referenced by HandleOSDClosed(), ProcessKeypress(), and UpdateOSDSeekMessage().
bool TV::queuedTranscode [private] |
bool TV::getRecorderPlaybackInfo [private] |
Main loop should get recorderPlaybackInfo.
Definition at line 484 of file tv_play.h.
Referenced by PlayFromRecorder(), and RunTV().
PictureAdjustType TV::adjustingPicture [private] |
Picture attribute type to modify.
Definition at line 486 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), and ProcessKeypress().
Picture attribute to modify (on arrow left or right).
Definition at line 488 of file tv_play.h.
Referenced by DoTogglePictureAttribute(), HandleOSDClosed(), ProcessKeypress(), and TreeMenuSelected().
AskAllowType TV::askAllowType [private] |
Definition at line 491 of file tv_play.h.
Referenced by HandleOSDAskAllowResponse(), and UpdateOSDAskAllowDialog().
QMap<QString,AskProgramInfo> TV::askAllowPrograms [private] |
Definition at line 492 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllowResponse(), and UpdateOSDAskAllowDialog().
QMutex TV::askAllowLock [private] |
Definition at line 493 of file tv_play.h.
Referenced by AskAllowRecording(), HandleOSDAskAllowResponse(), and UpdateOSDAskAllowDialog().
bool TV::ignoreKeys [private] |
bool TV::needToSwapPIP [private] |
bool TV::needToJumpMenu [private] |
QMap<QString,ProgramList> TV::progLists [private] |
Definition at line 498 of file tv_play.h.
Referenced by DoDisplayJumpMenu(), and SetJumpToProgram().
QMutex TV::chanEditMapLock [mutable, private] |
Lock for chanEditMap and ddMap.
Definition at line 500 of file tv_play.h.
Referenced by ChannelEditAutoFill(), ChannelEditDDFill(), ChannelEditKey(), GetDataDirect(), LoadDDMap(), RunLoadDDMap(), and StartChannelEditMode().
InfoMap TV::chanEditMap [private] |
Channel Editing initial map.
Definition at line 501 of file tv_play.h.
Referenced by ChannelEditAutoFill(), ChannelEditKey(), GetDataDirect(), RunLoadDDMap(), and StartChannelEditMode().
DataDirect channel map.
Definition at line 502 of file tv_play.h.
Referenced by GetDataDirect(), and LoadDDMap().
uint TV::ddMapSourceId [private] |
DataDirect channel map sourceid.
Definition at line 503 of file tv_play.h.
Referenced by ChannelEditAutoFill(), ChannelEditDDFill(), GetDataDirect(), LoadDDMap(), StartChannelEditMode(), and ~TV().
bool TV::ddMapLoaderRunning [private] |
Is DataDirect loader thread running.
Definition at line 504 of file tv_play.h.
Referenced by StartChannelEditMode(), and ~TV().
pthread_t TV::ddMapLoader [private] |
DataDirect map loader thread.
Definition at line 505 of file tv_play.h.
Referenced by StartChannelEditMode(), and ~TV().
vector<SleepTimerInfo> TV::sleep_times [private] |
Vector or sleep timer sleep times in seconds, with the appropriate UI message.
Definition at line 509 of file tv_play.h.
Referenced by ToggleSleepTimer(), and TV().
uint TV::sleep_index [private] |
Index into sleep_times.
Definition at line 510 of file tv_play.h.
Referenced by RunTV(), TeardownPlayer(), and ToggleSleepTimer().
QTimer* TV::sleepTimer [private] |
Timer for turning off playback.
Definition at line 511 of file tv_play.h.
Referenced by BuildOSDTreeMenu(), ToggleSleepTimer(), TV(), and ~TV().
QTimer* TV::idleTimer [private] |
Timer for turning off playback after idle period.
Definition at line 512 of file tv_play.h.
Referenced by IdleDialog(), LiveTV(), ProcessKeypress(), TV(), and ~TV().
QPtrList<QKeyEvent> TV::keyList [private] |
Queue of unprocessed key presses.
Definition at line 515 of file tv_play.h.
Referenced by eventFilter(), LiveTV(), and RunTV().
QMutex TV::keyListLock [private] |
Since keys are processed outside Qt event loop, we need a lock.
Definition at line 517 of file tv_play.h.
Referenced by eventFilter(), and RunTV().
bool TV::keyRepeat [private] |
Are repeats logical on last key?
Definition at line 518 of file tv_play.h.
Referenced by DoSeek(), and KeyRepeatOK().
QTimer* TV::keyrepeatTimer [private] |
int TV::doing_ff_rew [private] |
If true we are doing a rewind not a fast forward.
Definition at line 521 of file tv_play.h.
Referenced by ChangeFFRew(), DoPause(), DoPlay(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), RunTV(), SetFFRew(), StopFFRew(), and TeardownPlayer().
int TV::ff_rew_index [private] |
Index into ff_rew_speeds for FF and Rewind speeds.
Definition at line 522 of file tv_play.h.
Referenced by ChangeFFRew(), RunTV(), SetFFRew(), StopFFRew(), and TeardownPlayer().
int TV::speed_index [private] |
Caches value of ff_rew_speeds[ff_rew_index].
Definition at line 523 of file tv_play.h.
Referenced by ChangeSpeed(), DoPause(), DoPlay(), NormalSpeed(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), and TeardownPlayer().
float TV::normal_speed [private] |
Time stretch speed, 1.0f for normal playback.
Begins at 1.0f meaning normal playback, but can be increased or decreased to speedup or slowdown playback. Ignored when doing Fast Forward or Rewind.
Definition at line 531 of file tv_play.h.
Referenced by BuildOSDTreeMenu(), ChangeSpeed(), ChangeTimeStretch(), DoPause(), DoPlay(), GetPlayGroupSettings(), NormalSpeed(), PlayMesg(), ProcessNetworkControlCommand(), RunTV(), SetupPlayer(), StopFFRew(), TeardownPlayer(), ToggleTimeStretch(), TreeMenuSelected(), and UnpauseLiveTV().
float TV::prev_speed [private] |
Definition at line 532 of file tv_play.h.
Referenced by GetPlayGroupSettings(), and ToggleTimeStretch().
float TV::frameRate [private] |
Estimated framerate from recorder.
Definition at line 534 of file tv_play.h.
Referenced by DoArbSeek(), ProcessKeypress(), ProcessNetworkControlCommand(), StartOSD(), and StartRecorder().
bool TV::ccInputMode [private] |
Are we in CC/Teletext page/stream selection mode?
Definition at line 538 of file tv_play.h.
Referenced by AddKeyToInputQueue(), CommitQueuedInput(), HandleTrackAction(), and RunTV().
QTime TV::ccInputModeExpires [private] |
When does ccInputMode expire.
Definition at line 540 of file tv_play.h.
Referenced by HandleTrackAction(), ProcessKeypress(), and RunTV().
bool TV::asInputMode [private] |
Are we in Arbitrary seek input mode?
Definition at line 544 of file tv_play.h.
Referenced by AddKeyToInputQueue(), CommitQueuedInput(), ProcessKeypress(), and RunTV().
QTime TV::asInputModeExpires [private] |
When does asInputMode expire.
Definition at line 546 of file tv_play.h.
Referenced by HandleTrackAction(), ProcessKeypress(), and RunTV().
QString TV::queuedInput [private] |
Input key presses queued up so far...
Definition at line 550 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedInput(), GetQueuedInputAsInt(), and SetPreviousChannel().
QString TV::queuedChanNum [mutable, private] |
Input key presses queued up so far to form a valid ChanNum.
Definition at line 552 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), ProcessNetworkControlCommand(), ProcessSmartChannel(), SetPreviousChannel(), and UpdateOSDSignal().
uint TV::queuedChanID [private] |
Queued ChanID (from EPG channel selector).
Definition at line 554 of file tv_play.h.
Referenced by ChangeChannel(), ClearInputQueues(), ProcessNetworkControlCommand(), and SetPreviousChannel().
QMutex TV::queuedInputLock [mutable, private] |
Lock used so that input QStrings can be used across threads, and so that queuedChanNumExpr can be used safely in Qt 3.2 and earlier.
Definition at line 557 of file tv_play.h.
Referenced by AddKeyToInputQueue(), ChangeChannel(), ClearInputQueues(), GetQueuedChanNum(), GetQueuedInput(), GetQueuedInputAsInt(), ProcessSmartChannel(), and SetPreviousChannel().
QTimer* TV::muteTimer [private] |
For temp. audio muting during channel changes.
Definition at line 559 of file tv_play.h.
Referenced by customEvent(), TV(), and ~TV().
QTime TV::lockTimer [private] |
Definition at line 562 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), SwitchCards(), and UpdateOSDTimeoutMessage().
bool TV::lockTimerOn [private] |
Definition at line 563 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), ProcessKeypress(), SwapPIP(), SwitchCards(), ToggleActiveWindow(), ToggleInputs(), UpdateOSDSignal(), and UpdateOSDTimeoutMessage().
QDateTime TV::lastLockSeenTime [private] |
str_vec_t TV::prevChan [private] |
Previous channels.
Definition at line 567 of file tv_play.h.
Referenced by AddPreviousChannel(), ChangeChannel(), PreviousChannel(), RunTV(), and SetPreviousChannel().
uint TV::prevChanKeyCnt [private] |
Number of repeated channel button presses.
Definition at line 568 of file tv_play.h.
Referenced by PreviousChannel(), and SetPreviousChannel().
QTimer* TV::prevChanTimer [private] |
Special (slower) repeat key filtering.
Definition at line 569 of file tv_play.h.
Referenced by PreviousChannel(), SetPreviousChannel(), TV(), and ~TV().
bool TV::browsemode [private] |
Definition at line 572 of file tv_play.h.
Referenced by AddKeyToInputQueue(), BrowseDispInfo(), BrowseEnd(), BrowseStart(), ChangeAudioSync(), ChangeTimeStretch(), ChangeVolume(), CommitQueuedInput(), HandleTrackAction(), ProcessKeypress(), ToggleAdjustFill(), ToggleAspectOverride(), ToggleMute(), ToggleRecord(), ToggleSleepTimer(), and UpdateOSDSignal().
bool TV::persistentbrowsemode [private] |
Definition at line 573 of file tv_play.h.
Referenced by FillMenuLiveTV(), Init(), and ProcessKeypress().
QTimer* TV::browseTimer [private] |
Definition at line 574 of file tv_play.h.
Referenced by BrowseDispInfo(), BrowseEnd(), BrowseStart(), TV(), and ~TV().
QString TV::browsechannum [private] |
Definition at line 575 of file tv_play.h.
Referenced by BrowseChannel(), BrowseDispInfo(), BrowseEnd(), and BrowseStart().
QString TV::browsechanid [private] |
Definition at line 576 of file tv_play.h.
Referenced by BrowseChannel(), BrowseDispInfo(), BrowseStart(), and ToggleRecord().
QString TV::browsestarttime [private] |
Definition at line 577 of file tv_play.h.
Referenced by BrowseDispInfo(), BrowseStart(), and ToggleRecord().
ProgramInfo* TV::recorderPlaybackInfo [private] |
info requested from recorder
Definition at line 581 of file tv_play.h.
Referenced by PlayFromRecorder(), RunTV(), and ~TV().
ProgramInfo* TV::playbackinfo [private] |
info sent in via Playback()
Definition at line 582 of file tv_play.h.
Referenced by BookmarkAllowed(), BrowseStart(), customEvent(), DeleteAllowed(), DoDisplayJumpMenu(), doEditSchedule(), DoQueueTranscode(), FillMenuPlaying(), HandleStateChange(), IsSameProgram(), ITVRestart(), Playback(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptStopWatchingRecording(), ScreenShot(), SetCurrentlyPlaying(), SetupPlayer(), ShowLCDChannelInfo(), StartProgramEditMode(), SwitchCards(), TeardownPlayer(), ToggleAutoExpire(), ToggleOSD(), ToggleRecord(), UpdateOSDProgInfo(), UpdateOSDSignal(), and ~TV().
QMutex TV::pbinfoLock [private] |
Definition at line 583 of file tv_play.h.
Referenced by BrowseStart(), customEvent(), DoDisplayJumpMenu(), doEditSchedule(), DoQueueTranscode(), FillMenuPlaying(), HandleStateChange(), ITVRestart(), ProcessNetworkControlCommand(), ScreenShot(), SetCurrentlyPlaying(), ShowLCDChannelInfo(), StartProgramEditMode(), TeardownPlayer(), ToggleAutoExpire(), ToggleRecord(), UpdateOSDProgInfo(), and UpdateOSDSignal().
int TV::playbackLen [private] |
initial playbackinfo->CalculateLength()
Definition at line 584 of file tv_play.h.
Referenced by Playback(), SetupPipPlayer(), and SetupPlayer().
ProgramInfo* TV::lastProgram [private] |
last program played with this player
Definition at line 585 of file tv_play.h.
Referenced by FillMenuLiveTV(), FillMenuPlaying(), PromptRecGroupPassword(), RunTV(), setLastProgram(), and ~TV().
bool TV::jumpToProgram [private] |
Definition at line 586 of file tv_play.h.
Referenced by doEditSchedule(), Playback(), ProcessKeypress(), RunTV(), and TreeMenuSelected().
bool TV::inPlaylist [private] |
bool TV::underNetworkControl [private] |
initial show started via by the network control interface
Definition at line 589 of file tv_play.h.
Referenced by ProcessKeypress(), and RunTV().
bool TV::isnearend [private] |
ProgramInfo* TV::pseudoLiveTVRec[2] [private] |
PseudoState TV::pseudoLiveTVState[2] [private] |
Definition at line 594 of file tv_play.h.
Referenced by CommitQueuedInput(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), SetPseudoLiveTV(), and TV().
NuppelVideoPlayer* TV::nvp [private] |
Definition at line 597 of file tv_play.h.
Referenced by BuildOSDTreeMenu(), ChangeChannel(), ChangeVolume(), CommitQueuedInput(), customEvent(), DoChangePictureAttribute(), doEditSchedule(), DoNVPSeek(), DoPause(), DoPlay(), DoQueueTranscode(), DoSkipCommercials(), DoTogglePictureAttribute(), DrawUnusedRects(), EmbedOutput(), eventFilter(), GetOSD(), IsEmbedding(), ITVRestart(), PreviousChannel(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), ScreenShot(), SetAutoCommercialSkip(), SetManualZoom(), SetPreviousChannel(), SetupPlayer(), SpawnDecode(), StartOSD(), StartPlayer(), StartProgramEditMode(), StopEmbeddingOutput(), StopStuff(), SwapPIP(), SwitchCards(), TeardownPlayer(), ToggleActiveWindow(), ToggleAdjustFill(), ToggleAspectOverride(), ToggleAutoExpire(), ToggleInputs(), ToggleMute(), ToggleOSD(), TogglePIPView(), ToggleRecord(), TreeMenuSelected(), UnMute(), UnpauseLiveTV(), UpdateOSDSeekMessage(), VideoThemeCheck(), and ~TV().
NuppelVideoPlayer* TV::pipnvp [private] |
Definition at line 598 of file tv_play.h.
Referenced by customEvent(), FillMenuLiveTV(), RunTV(), SetupPipPlayer(), StopStuff(), SwapPIP(), SwitchCards(), TeardownPipPlayer(), ToggleActiveWindow(), and TogglePIPView().
NuppelVideoPlayer* TV::activenvp [private] |
Player to which LiveTV events are sent.
Definition at line 599 of file tv_play.h.
Referenced by BuildOSDTreeMenu(), ChangeAudioSync(), ChangeChannel(), ChangeSpeed(), ChangeTimeStretch(), ChangeTrack(), ChannelEditXDSFill(), CommitQueuedInput(), DoArbSeek(), DoNVPSeek(), DoPause(), DoPlay(), DoQueueTranscode(), DoSeek(), DoSkipCommercials(), DVDJumpBack(), DVDJumpForward(), FillMenuTracks(), HandleStateChange(), HandleTrackAction(), ITVRestart(), NormalSpeed(), PauseLiveTV(), PlayMesg(), PreviousChannel(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), ScreenShot(), SetAutoCommercialSkip(), SetFFRew(), SetManualZoom(), SetPreviousChannel(), SetTrack(), StartPlayer(), StopFFRew(), SwapPIP(), SwitchCards(), TeardownPlayer(), ToggleActiveWindow(), ToggleAutoExpire(), ToggleInputs(), TogglePIPView(), ToggleRecord(), TreeMenuSelected(), UnpauseLiveTV(), and UpdateOSDSeekMessage().
RemoteEncoder* TV::recorder [private] |
Main recorder.
Definition at line 603 of file tv_play.h.
Referenced by customEvent(), DeleteRecorder(), GetLastRecorderNum(), HandleOSDAskAllowResponse(), HandleStateChange(), PlayFromRecorder(), RequestNextRecorder(), RunTV(), SetupPlayer(), StartRecorder(), StopStuff(), SwapPIP(), SwitchCards(), ToggleActiveWindow(), and UpdateOSDAskAllowDialog().
RemoteEncoder* TV::piprecorder [private] |
Picture-in-Picture recorder.
Definition at line 605 of file tv_play.h.
Referenced by customEvent(), SetupPipPlayer(), StopStuff(), SwapPIP(), TeardownPipPlayer(), ToggleActiveWindow(), and TogglePIPView().
RemoteEncoder* TV::activerecorder [private] |
Recorder to which LiveTV events are being sent.
Definition at line 607 of file tv_play.h.
Referenced by BrowseChannel(), BrowseDispInfo(), ChangeChannel(), ChannelEditKey(), customEvent(), DeleteRecorder(), DoChangePictureAttribute(), DoTogglePictureAttribute(), FillMenuLiveTV(), FinishRecording(), GetNextProgram(), HandleStateChange(), IsTunable(), ITVRestart(), PauseLiveTV(), PlayFromRecorder(), ProcessKeypress(), ProcessSmartChannel(), RequestNextRecorder(), RunTV(), StartChannelEditMode(), SwapPIP(), SwitchCards(), SwitchInputs(), SwitchSource(), TeardownPipPlayer(), TeardownPlayer(), ToggleActiveWindow(), ToggleChannelFavorite(), ToggleInputs(), ToggleRecord(), UpdateOSDInput(), and UpdateOSDTimeoutMessage().
RemoteEncoder* TV::switchToRec [private] |
Main recorder to use after a successful SwitchCards() call.
Definition at line 609 of file tv_play.h.
Referenced by LiveTV(), RequestNextRecorder(), and RunTV().
int TV::lastrecordernum [private] |
Storage for keeping the last recorder number around.
Definition at line 611 of file tv_play.h.
Referenced by DeleteRecorder(), and GetLastRecorderNum().
LiveTVChain* TV::tvchain [private] |
Definition at line 614 of file tv_play.h.
Referenced by AddPreviousChannel(), customEvent(), HandleStateChange(), LiveTV(), RunTV(), SetPreviousChannel(), SetupPlayer(), SwapPIP(), SwitchCards(), TeardownPlayer(), ToggleActiveWindow(), UnpauseLiveTV(), UpdateOSDInput(), and ~TV().
LiveTVChain* TV::piptvchain [private] |
Definition at line 615 of file tv_play.h.
Referenced by RunTV(), SetupPipPlayer(), SwapPIP(), TeardownPipPlayer(), ToggleActiveWindow(), TogglePIPView(), UnpauseLiveTV(), and ~TV().
QStringList TV::tvchainUpdate [private] |
QMutex TV::tvchainUpdateLock [private] |
RingBuffer* TV::prbuffer [private] |
Definition at line 620 of file tv_play.h.
Referenced by BookmarkAllowed(), DeleteAllowed(), HandleStateChange(), ProcessKeypress(), PromptStopWatchingRecording(), SetupPlayer(), StartPlayer(), StopStuff(), SwapPIP(), SwitchCards(), TeardownPlayer(), ToggleActiveWindow(), and ~TV().
RingBuffer* TV::piprbuffer [private] |
Definition at line 621 of file tv_play.h.
Referenced by SetupPipPlayer(), StopStuff(), SwapPIP(), TeardownPipPlayer(), TeardownPlayer(), ToggleActiveWindow(), and TogglePIPView().
RingBuffer* TV::activerbuffer [private] |
Ringbuffer to which LiveTV events are sent.
Definition at line 622 of file tv_play.h.
Referenced by DoPause(), DVDJumpBack(), DVDJumpForward(), FillMenuPlaying(), PauseLiveTV(), ProcessKeypress(), ProcessNetworkControlCommand(), RunTV(), ShowLCDDVDInfo(), StartPlayer(), SwapPIP(), SwitchCards(), TeardownPlayer(), ToggleActiveWindow(), ToggleOSD(), and UnpauseLiveTV().
QString TV::dialogname [private] |
Definition at line 625 of file tv_play.h.
Referenced by ChannelEditKey(), HandleOSDAskAllowResponse(), IdleDialog(), IsVideoExitDialog(), ProcessKeypress(), ProcessNetworkControlCommand(), PromptDeleteRecording(), PromptStopWatchingRecording(), RunLoadDDMap(), RunTV(), ShowNoRecorderDialog(), StartChannelEditMode(), StartProgramEditMode(), UpdateOSDAskAllowDialog(), and UpdateOSDTimeoutMessage().
OSDGenericTree* TV::treeMenu [private] |
OSD menu, 'm' using default keybindings.
Definition at line 626 of file tv_play.h.
Referenced by BuildOSDTreeMenu(), DoDisplayJumpMenu(), ShowOSDTreeMenu(), and ~TV().
MythTimer TV::dialogboxTimer [private] |
How long a dialog box is on the screen.
Definition at line 627 of file tv_play.h.
Referenced by PromptDeleteRecording(), PromptStopWatchingRecording(), and RunTV().
UDPNotify* TV::udpnotify [private] |
UDPNotify instance which shows messages sent to the "UDPNotifyPort" in an OSD dialog.
Definition at line 631 of file tv_play.h.
Referenced by SetupPlayer(), and TeardownPlayer().
QStringList TV::lastSignalMsg [private] |
Definition at line 632 of file tv_play.h.
Referenced by PauseLiveTV(), RunTV(), and UpdateOSDSignal().
MythTimer TV::lastSignalMsgTime [private] |
Definition at line 633 of file tv_play.h.
Referenced by ProcessKeypress(), TV(), and UpdateOSDSignal().
InfoMap TV::lastSignalUIInfo [private] |
Definition at line 634 of file tv_play.h.
Referenced by HandleStateChange(), PauseLiveTV(), SwitchCards(), and UpdateOSDSignal().
MythTimer TV::lastSignalUIInfoTime [private] |
QMutex TV::osdlock [private] |
Definition at line 636 of file tv_play.h.
Referenced by PauseLiveTV(), RunTV(), SwapPIP(), SwitchCards(), TeardownPipPlayer(), TeardownPlayer(), TogglePIPView(), UpdateOSDSignal(), and ~TV().
QDateTime TV::lastLcdUpdate [private] |
QString TV::lcdTitle [private] |
QString TV::lcdSubtitle [private] |
QString TV::lcdCallsign [private] |
MythDialog* TV::myWindow [private] |
Our MythDialog window, if it exists.
Definition at line 645 of file tv_play.h.
Referenced by EditSchedule(), Init(), SetMuteTimer(), SetupPlayer(), and ~TV().
WId TV::embedWinID [private] |
Window ID when embedded in another widget.
Definition at line 646 of file tv_play.h.
Referenced by EmbedOutput(), SetupPlayer(), ShowNoRecorderDialog(), and StopEmbeddingOutput().
QRect TV::embedBounds [private] |
Bounds when embedded in another widget.
player bounds, for after doEditSchedule() returns to normal playing.
Definition at line 647 of file tv_play.h.
Referenced by EmbedOutput(), and SetupPlayer().
QRect TV::player_bounds [private] |
Prior GUI window bounds, for doEditSchedule() and player exit().
Definition at line 650 of file tv_play.h.
Referenced by doEditSchedule(), and Init().
QRect TV::saved_gui_bounds [private] |
QMutex TV::is_tunable_cache_lock [mutable, private] |
QMap< uint,vector<InputInfo> > TV::is_tunable_cache_inputs [private] |