122 static std::array<PlaybackBoxCb,kMaxJobs*2>
kMySlots;
125 TV *player =
nullptr,
bool showTV =
false);
128 bool Create(
void)
override;
129 void Load(
void)
override;
130 void Init(
void)
override;
187 void popupClosed(
const QString& which,
int result);
227 void saveRecMetadata(
const QString &newTitle,
const QString &newSubtitle,
228 const QString &newDescription,
const QString &newInetref,
294 bool ignoreProgStart,
295 bool ignoreLastPlayPos,
296 bool underNetworkControl);
301 bool ignoreProgStart,
302 bool ignoreLastPlayPos,
303 bool underNetworkControl);
315 const QString& recgroup =
"NotLiveTV");
318 bool forgetHistory,
bool forceMetadataDelete);
330 void updateGroupInfo(
const QString &groupname,
const QString &grouplabel);
335 bool force_preview_reload);
337 bool force_preview_reload =
true);
483 const QDateTime &recstartts);
485 const QDateTime &recstartts);
487 const QDateTime &recstartts);
504 QStringList list, QStringList data,
510 bool Create(
void)
override;
537 bool Create(
void)
override;
559 bool Create(
void)
override;
583 bool Create(
void)
override;
586 void result(
const QString &,
const QString &,
const QString &,
621 bool Create(
void)
override;
624 void addItem(
const QString &state,
const QString &text);
bool Create(void) override
PlaybackBox * m_parentScreen
ChangeView(MythScreenStack *lparent, PlaybackBox *parentScreen, int viewMask)
GroupSelector(MythScreenStack *lparent, QString label, QStringList list, QStringList data, QString selected)
bool Create(void) override
void AcceptItem(MythUIButtonListItem *item)
Basic menu dialog, message and a list of options.
Screen in which all other widgets are contained and rendered.
Image widget, displays a single image or multiple images in sequence.
A widget for offering a range of numerical values where only the the bounding values and interval are...
A text entry and edit widget.
All purpose text widget, displays a text string.
MythUIButton * m_okButton
MythUITextEdit * m_newPasswordEdit
bool Create(void) override
MythUITextEdit * m_oldPasswordEdit
void OldPasswordChanged(void)
void result(const QString &)
PasswordChange(MythScreenStack *lparent, QString oldpassword)
bool IsJobQueued(int jobType, uint chanid, const QDateTime &recstartts)
static constexpr std::chrono::milliseconds kInvalidateTimeMs
bool IsJobRunning(int jobType, uint chanid, const QDateTime &recstartts)
bool IsJobQueuedOrRunning(int jobType, uint chanid, const QDateTime &recstartts)
QMultiMap< QPair< uint, QDateTime >, JobQueueEntry > MapType
void stopPlaylistUserJob2()
bool CreatePopupMenuPlaylist(void)
MythUIImage * m_previewImage
void UpdateUIGroupList(const QStringList &groupPreferences)
~PlaybackBox(void) override
void setRecGroup(QString newRecGroup)
void stopPlaylistUserJob4()
QList< uint > m_playList
list of selected items "play list"
void changeProfileAndTranscode(int id)
QString extract_commflag_state(const ProgramInfo &pginfo)
void doPlaylistBeginUserJob4()
void toggleLiveTVView(bool setOn)
bool CreatePopupMenu(const QString &title)
std::array< QTimer *, kNumArtImages > m_artTimer
QString extract_job_state(const ProgramInfo &pginfo)
void doPlaylistBeginUserJob3()
static std::array< PlaybackBoxCb, kMaxJobs *2 > kMySlots
QPair< QString, QString > RecGroup
bool Create(void) override
void doPlaylistBeginUserJob2()
void ShowActionPopup(const ProgramInfo &pginfo)
void saveViewChanges(void)
bool m_playingSomething
playingSomething is set to true iff a full screen recording is playing
void toggleTitleView(bool setOn)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
bool IsUsageUIVisible(void) const
void updateRecGroup(MythUIButtonListItem *sel_item)
void stopPlaylistFlagging()
void SelectNextRecGroup(void)
void Load(void) override
Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (S...
QString m_watchGroupLabel
int m_allOrder
allOrder controls the ordering of the "All Programs" list
void ShowRecordedEpisodes()
void HandleRecordingAddEvent(const ProgramInfo &evinfo)
void ScheduleUpdateUIList(void)
void toggleWatchedView(bool setOn)
void ItemLoaded(MythUIButtonListItem *item)
void randomizePlayList(void)
void customEvent(QEvent *event) override
void PlaylistDelete(bool forgetHistory=false)
void doPlaylistWatchedSetOff()
void doPlaylistJobQueueJob(int jobType, int jobFlags=0)
void ItemVisible(MythUIButtonListItem *item)
void UpdateUIRecGroupList(void)
void saveRecMetadata(const QString &newTitle, const QString &newSubtitle, const QString &newDescription, const QString &newInetref, uint season, uint episode)
void ItemSelected(MythUIButtonListItem *item)
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
void DeleteIgnoreAllRemaining(void)
void toggleCategoryView(bool setOn)
void ShowDeletePopup(DeletePopupType type)
bool m_titleView
titleView controls showing titles in group list
void ShowGroupPopup(void)
@ TitlesCategoriesRecGroups
void stopPlaylistLookup()
QStringList m_playerSelectedNewShow
std::chrono::hours m_watchListBlackOut
adjust exclusion of a title from the Watch List after a delete
void doPlaylistExpireSetOn()
MythMenu * createStorageMenu()
QStringList m_delList
Recording[s] currently selected for deletion.
void ShowRecGroupChanger(bool use_playlist=false)
Used to change the recording group of a program or playlist.
ProgramInfo * FindProgramInUILists(const ProgramInfo &pginfo)
void showViewChanger(void)
void stopPlaylistUserJob3()
void togglePlayListItem(void)
MythUIProgressBar * m_watchedProgress
static QString CreateProgramInfoString(const ProgramInfo &pginfo)
QSet< QString > m_previewTokens
Outstanding preview image requests.
bool m_needUpdate
Does the recording list need to be refilled.
MythUIProgressBar * m_recordedProgress
void selected(MythUIButtonListItem *item)
void DeleteForceAllRemaining(void)
void processNetworkControlCommand(const QString &command)
MythMenu * createTranscodingProfilesMenu()
class PlaybackBox::PbbJobQueue m_jobQueue
void doBeginTranscoding()
void stopPlaylistUserJob1()
void stopPlaylistJobQueueJob(int jobType)
int m_progsInDB
total number of recordings in DB
void doPlaylistBeginUserJob1()
ProgramMap m_progLists
lists of programs by page
QStringList m_titleList
list of pages
void updateRecList(MythUIButtonListItem *sel_item)
MythMenu * createRecordingMenu()
static void * RunPlaybackBox(void *player, bool showTV)
MythUIText * m_noRecordingsText
MythScreenStack * m_popupStack
MythMenu * createPlaylistJobMenu()
void displayRecGroup(const QString &newRecGroup="")
static constexpr int kNumArtImages
QList< uint > m_playListPlay
list of items being played.
void toggleRecGroupView(bool setOn)
void showRecGroupPasswordChanger()
int m_watchListMaxAge
add 1 to the Watch List scord up to this many days
void doPlaylistExpireSetting(bool turnOn)
void setGroupFilter(const QString &newRecGroup)
void PlaylistDeleteForgetHistory(void)
void doAllowRerecord()
Callback function when Allow Re-record is pressed in Watch Recordings.
void doPlaylistWatchedSetOn()
std::deque< QString > m_networkControlCommands
void RemoveProgram(uint recordingID, bool forgetHistory, bool forceMetadataDelete)
void showMetadataEditor()
void deleteSelected(MythUIButtonListItem *item)
MythDialogBox * m_menuDialog
void popupClosed(const QString &which, int result)
void UpdateProgressBar(void)
void toggleWatchListView(bool setOn)
void groupSelectorClosed(void)
void togglePreserveEpisode()
void PlayFromLastPlayPos()
QString m_currentGroup
Group currently selected.
void doJobQueueJob(int jobType, int jobFlags=0)
void togglePlayListTitle(void)
void doPlaylistBeginLookup()
MythMenu * createPlaylistStorageMenu()
void ShowPlayGroupChanger(bool use_playlist=false)
Used to change the play group of a program or playlist.
bool m_watchListStart
use the Watch List as the initial view
PlaybackBox(MythScreenStack *parent, const QString &name, TV *player=nullptr, bool showTV=false)
MythMenu * createPlayFromMenu()
std::array< MythUIImage *, kNumArtImages > m_artImage
QString m_curGroupPassword
MythUIButtonList * m_recordingList
void HandleRecordingRemoveEvent(uint recordingID)
void ShowPlayGroupChangerNoPlaylist(void)
ProgramInfoCache m_programInfoCache
MythUIButtonList * m_groupList
void ShowRecGroupChangerNoPlaylist(void)
QMap< QString, QString > m_recGroupPwCache
MythMenu * createPlaylistMenu()
void checkPassword(const QString &password)
bool m_watchListAutoExpire
exclude recording not marked for auto-expire from the Watch List
QString getRecGroupPassword(const QString &recGroup)
void SetItemIcons(MythUIButtonListItem *item, ProgramInfo *pginfo)
void toggleSearchView(bool setOn)
bool Play(const ProgramInfo &rec, bool inPlaylist, bool ignoreBookmark, bool ignoreProgStart, bool ignoreLastPlayPos, bool underNetworkControl)
void playSelectedPlaylist(bool Random)
void PlayX(const ProgramInfo &pginfo, bool ignoreBookmark, bool ignoreProgStart, bool ignoreLastPlayPos, bool underNetworkControl)
void stopPlaylistTranscoding()
MythUIButtonList * m_groupAlphaList
void doPlaylistBeginFlagging()
void ShowRecGroupChangerUsePlaylist(void)
void processNetworkControlCommands(void)
void fillRecGroupPasswordCache(void)
void UpdateUIListItem(ProgramInfo *pginfo, bool force_preview_reload)
bool m_useCategories
useCategories controls showing categories in group list
MythUIButtonList * m_recgroupList
void selectUIGroupsAlphabet(MythUIButtonListItem *item)
void doPlaylistBeginTranscoding()
void passwordClosed(void)
QMap< QString, QString > m_recGroupType
void ShowPlayGroupChangerUsePlaylist(void)
bool m_alwaysShowWatchedProgress
void updateGroupInfo(const QString &groupname, const QString &grouplabel)
void setInitialRecGroup(const QString &initialGroup)
void DeleteForgetHistory(void)
PlaybackBoxHelper m_helper
Main helper thread.
bool m_useRecGroups
useRecGroups controls showing of recording groups in group list
ProgramInfo * GetCurrentProgram(void) const override
void doPlaylistAllowRerecord()
void HandlePreviewEvent(const QStringList &list)
Updates the UI properties for a new preview file.
static void ShowAvailabilityPopup(const ProgramInfo &pginfo)
void ShowMenu(void) override
void doPlaylistWatchedSetting(bool turnOn)
void doPlaylistExpireSetOff()
void doCreateTranscodingProfilesMenu()
QString m_artHostOverride
bool m_usingGroupSelector
void toggleView(PlaybackBox::ViewMask itemMask, bool setOn)
void setPlayGroup(QString newPlayGroup)
void updateIcons(const ProgramInfo *pginfo=nullptr)
void DisplayPopupMenu(void)
QString m_groupDisplayName
void PlaylistDeleteKeepHistory(void)
QMap< QString, QString > m_groupAlphabet
MythMenu * createJobMenu()
int m_listOrder
listOrder controls the ordering of the recordings in the list
void HandleUpdateItemEvent(uint recordingId, uint flags)
void SetRecGroupPassword(const QString &newPassword)
Holds information on recordings and videos.
QHash< QString, QString > InfoMap
duration< CHRONO_TYPE, ratio< 86400 > > days
QMap< QString, ProgramList > ProgramMap
void(PlaybackBox::*)() PlaybackBoxCb
static constexpr uint8_t kArtworkCoverTimeout
QMap< QString, QString > Str2StrMap
static constexpr uint8_t kArtworkBannerTimeout
static constexpr size_t kMaxJobs
static constexpr uint16_t kArtworkFanTimeout