Go to the documentation of this file. 1 #ifndef TVPLAYBACKSTATE_H
2 #define TVPLAYBACKSTATE_H
21 void InitialisePlayerState();
22 void UpdateBookmark(
bool Clear =
false);
23 void UpdateLastPlayPosition(uint64_t frame);
26 void IsOSDVisible(
bool&
Visible);
27 void ChangeOSDPositionUpdates(
bool Enable);
28 void ChangeOSDDebug();
29 void ChangeOSDText(
const QString &Window,
const InfoMap &Map,
OSDTimeout Timeout);
31 void ChangeOSDMessage(
const QString& Message);
33 void HideAll(
bool KeepSubs =
true,
MythScreenType* Except =
nullptr,
bool DropNotification =
false);
38 void PauseAudioUntilReady();
39 void ChangeMuteState(
bool CycleChannels =
false);
40 void ChangeVolume(
bool Direction,
int Volume);
41 void ChangeUpmix(
bool Enable,
bool Toggle =
false);
42 void ChangeAudioOffset(std::chrono::milliseconds Delta, std::chrono::milliseconds Value = -9999ms);
45 void SetTrack(
uint Type,
uint TrackNo);
46 void ChangeTrack(
uint Type,
int Direction);
49 void ChangeAllowForcedSubtitles(
bool Allow);
50 void ToggleCaptions();
51 void ToggleCaptionsByType(
uint Type);
52 void SetCaptionsEnabled(
bool Enable,
bool UpdateOSD =
true);
53 void DisableCaptions(
uint Mode,
bool UpdateOSD =
true);
54 void EnableCaptions(
uint Mode,
bool UpdateOSD =
true);
55 void ChangeCaptionTrack(
int Direction);
58 void EnableTeletext(
int Page = 0x100);
60 void SetTeletextPage(
uint Page);
61 void HandleTeletextAction(
const QString &
Action,
bool& Handled);
62 void RestartITV(
uint Chanid,
uint Cardid,
bool IsLiveTV);
63 void HandleITVAction(
const QString&
Action,
bool& Handled);
64 void AdjustSubtitleZoom(
int Delta);
65 void AdjustSubtitleDelay(std::chrono::milliseconds Delta);
68 void RequestEmbedding(
bool Embed,
const QRect& Rect = {},
const QStringList& Data = {});
69 void EmbedPlayback(
bool Embed,
const QRect& Rect = {});
70 void ResizeScreenForVideo(QSize Size = {});
71 void WindowResized(
const QSize& Size);
73 void ChangePictureAttribute(
PictureAttribute Attribute,
bool Direction,
int Value);
74 void ToggleDetectLetterBox();
78 void ToggleMoveBottomLine();
79 void SaveBottomLine();
82 void EnableVisualiser(
bool Enable,
bool Toggle =
false,
const QString&
Name = QString());
85 void GoToMenu(
const QString& Menu);
86 void GoToDVDProgram(
bool Direction);
90 void DisableEdit(
int HowToSave);
91 void RefreshEditorState(
bool CheckSaved =
false);
Tracks current playback state, as signalled by the player, and requests changes to the current state.
MythOverlayState m_overlayState
Screen in which all other widgets are contained and rendered.
An action (for this plugin) consists of a description, and a set of key sequences.
QHash< QString, QString > InfoMap
MythVisualiserState m_visualiserState
MythVideoBoundsState m_videoBoundsState
MythEditorState m_editorState
MythAudioState m_audioState
A simple wrapper around audio state used to signal changes in the current state.
MythVideoColourState m_videoColourState
A simpler than simple wrapper around OSD state.