MythTV master
Classes | Public Types | Public Slots | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Slots | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
PlaybackBox Class Reference

#include <mythfrontend/playbackbox.h>

Inheritance diagram for PlaybackBox:
[legend]
Collaboration diagram for PlaybackBox:
[legend]

Classes

class  PbbJobQueue
 

Public Types

enum  ViewType : std::uint8_t {
  TitlesOnly = 0 , TitlesCategories = 1 , TitlesCategoriesRecGroups = 2 , TitlesRecGroups = 3 ,
  Categories = 4 , CategoriesRecGroups = 5 , RecGroups = 6 , ViewTypes = 7
}
 
enum  ViewTitleSort : std::uint8_t { TitleSortAlphabetical = 0 , TitleSortRecPriority = 1 , TitleSortMethods = 2 }
 
enum  ViewMask : std::uint16_t {
  VIEW_NONE = 0x0000 , VIEW_TITLES = 0x0001 , VIEW_CATEGORIES = 0x0002 , VIEW_RECGROUPS = 0x0004 ,
  VIEW_WATCHLIST = 0x0008 , VIEW_SEARCHES = 0x0010 , VIEW_LIVETVGRP = 0x0020 , VIEW_WATCHED = 0x8000
}
 
enum  DeletePopupType : std::uint8_t { kDeleteRecording , kStopRecording , kForceDeleteRecording }
 
enum  DeleteFlags : std::uint8_t {
  kNoDelFlags = 0x00 , kForgetHistory = 0x01 , kForce = 0x02 , kIgnore = 0x04 ,
  kAllRemaining = 0x08
}
 
enum  killStateType : std::uint8_t { kNvpToPlay , kNvpToStop , kDone }
 

Public Slots

void displayRecGroup (const QString &newRecGroup="")
 
void groupSelectorClosed (void)
 
- Public Slots inherited from ScheduleCommon
virtual void ShowDetails (void) const
 Show the Program Details screen. More...
 
- Public Slots inherited from MythScreenType
virtual void Close ()
 
- Public Slots inherited from MythUIType
void LoseFocus (void)
 
bool TakeFocus (void)
 
void Activate (void)
 
void Hide (void)
 
void Show (void)
 
void Refresh (void)
 
void UpdateDependState (bool isDefault)
 
void UpdateDependState (MythUIType *dependee, bool isDefault)
 

Public Member Functions

 PlaybackBox (MythScreenStack *parent, const QString &name, TV *player=nullptr, bool showTV=false)
 
 ~PlaybackBox (void) override
 
bool Create (void) override
 
void Load (void) override
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning) More...
 
void Init (void) override
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load() More...
 
bool keyPressEvent (QKeyEvent *event) override
 Key event handler. More...
 
void customEvent (QEvent *event) override
 
void setInitialRecGroup (const QString &initialGroup)
 
- Public Member Functions inherited from MythScreenType
 MythScreenType (MythScreenStack *parent, const QString &name, bool fullscreen=true)
 
 ~MythScreenType () override
 
virtual bool Create (void)
 
bool keyPressEvent (QKeyEvent *event) override
 Key event handler. More...
 
bool inputMethodEvent (QInputMethodEvent *event) override
 Input Method event handler. More...
 
bool gestureEvent (MythGestureEvent *event) override
 Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More...
 
virtual void ShowMenu (void)
 
void doInit (void)
 
void LoadInForeground (void)
 
bool IsInitialized (void) const
 Has Init() been called on this screen? More...
 
bool IsFullscreen (void) const
 
void SetFullscreen (bool full)
 
MythUITypeGetFocusWidget (void) const
 
bool SetFocusWidget (MythUIType *widget=nullptr)
 
virtual bool NextPrevWidgetFocus (bool up_or_down)
 
void BuildFocusList (void)
 
MythScreenStackGetScreenStack () const
 
virtual void aboutToHide (void)
 
virtual void aboutToShow (void)
 
bool IsDeleting (void) const
 
void SetDeleting (bool deleting)
 
bool IsLoading (void) const
 
bool IsLoaded (void) const
 
MythPainterGetPainter (void) override
 
- Public Member Functions inherited from MythUIComposite
 MythUIComposite (QObject *parent, const QString &name)
 
 ~MythUIComposite () override=default
 
virtual void SetTextFromMap (const InfoMap &infoMap)
 
virtual void ResetMap (const InfoMap &infoMap)
 
- Public Member Functions inherited from MythUIType
 MythUIType (QObject *parent, const QString &name)
 
virtual void Reset (void)
 Reset the widget to it's original state, should not reset changes made by the theme. More...
 
void AddChild (MythUIType *child)
 Add a child UIType. More...
 
MythUITypeGetChild (const QString &name) const
 Get a named child of this UIType. More...
 
MythUITypeGetChildAt (QPoint p, bool recursive=true, bool focusable=true) const
 Return the first MythUIType at the given coordinates. More...
 
QList< MythUIType * > * GetAllChildren (void)
 Return a list of all child widgets. More...
 
QList< MythUIType * > GetAllDescendants (void)
 
void DeleteChild (const QString &name)
 Delete a named child of this UIType. More...
 
void DeleteChild (MythUIType *child)
 Delete the given UIType if it is a child of this UIType. More...
 
void DeleteAllChildren (void)
 Delete all child widgets. More...
 
bool NeedsRedraw (void) const
 
void ResetNeedsRedraw (void)
 
void SetRedraw (void)
 
void SetChildNeedsRedraw (MythUIType *child)
 
bool CanTakeFocus (void) const
 Return if this widget can accept input focus. More...
 
void SetCanTakeFocus (bool set=true)
 Set whether this widget can take focus. More...
 
void SetFocusOrder (int order)
 
void SetFocusedName (const QString &widgetname)
 
QString GetFocusedName (void) const
 
bool IsEnabled (void) const
 
void SetEnabled (bool enable)
 
bool MoveToTop (void)
 
bool MoveChildToTop (MythUIType *child)
 
void ActivateAnimations (MythUIAnimation::Trigger trigger)
 
QList< MythUIAnimation * > * GetAnimations (void)
 
virtual void Pulse (void)
 Pulse is called 70 times a second to trigger a single frame of an animation. More...
 
void Draw (MythPainter *p, int xoffset, int yoffset, int alphaMod=255, QRect clipRect=QRect())
 
void SetPosition (int x, int y)
 Convenience method, calls SetPosition(const MythPoint&) Override that instead to change functionality. More...
 
void SetPosition (QPoint point)
 
virtual void SetPosition (const MythPoint &point)
 
virtual MythPoint GetPosition (void) const
 
virtual void SetSize (QSize size)
 
virtual void SetMinSize (const MythPoint &size)
 Set the minimum size of this widget, for widgets which can be rescaled. More...
 
virtual QSize GetMinSize (void) const
 
virtual void SetArea (const MythRect &rect)
 
virtual void AdjustMinArea (int delta_x, int delta_y, int delta_w, int delta_h)
 Adjust the size of a sibling. More...
 
virtual void VanishSibling (void)
 
virtual void SetMinAreaParent (MythRect actual_area, MythRect allowed_area, MythUIType *child)
 Adjust the size of sibling objects within the button. More...
 
virtual void SetMinArea (const MythRect &rect)
 Set the minimum area based on the given size. More...
 
virtual MythRect GetArea (void) const
 If the object has a minimum area defined, return it, other wise return the default area. More...
 
virtual MythRect GetFullArea (void) const
 
virtual void RecalculateArea (bool recurse=true)
 
void ExpandArea (QRect rect)
 
virtual QRegion GetDirtyArea (void) const
 
bool IsVisible (bool recurse=false) const
 
virtual void SetVisible (bool visible)
 
void MoveTo (QPoint destXY, QPoint speedXY)
 
void AdjustAlpha (int mode, int alphachange, int minalpha=0, int maxalpha=255)
 
void SetAlpha (int newalpha)
 
int GetAlpha (void) const
 
virtual bool keyPressEvent (QKeyEvent *event)
 Key event handler. More...
 
virtual bool inputMethodEvent (QInputMethodEvent *event)
 Input Method event handler. More...
 
virtual bool gestureEvent (MythGestureEvent *event)
 Mouse click/movement handler, receives mouse gesture events from the QCoreApplication event loop. More...
 
virtual void mediaEvent (MythMediaEvent *event)
 Media/Device status event handler, received from MythMediaMonitor. More...
 
MythFontPropertiesGetFont (const QString &text) const
 
bool AddFont (const QString &text, MythFontProperties *fontProp)
 
void SetHelpText (const QString &text)
 
QString GetHelpText (void) const
 
void SetXMLLocation (const QString &filename, int where)
 
QString GetXMLLocation (void) const
 
void SetXMLName (const QString &name)
 
QString GetXMLName (void) const
 
bool IsDeferredLoading (bool recurse=false) const
 
void SetDeferLoad (bool defer)
 
virtual void LoadNow (void)
 Cause images in this and child widgets to be loaded. More...
 
bool ContainsPoint (QPoint point) const
 Check if the given point falls within this widgets area. More...
 
virtual MythPainterGetPainter (void)
 
void SetPainter (MythPainter *painter)
 
void SetCentre (UIEffects::Centre centre)
 
void SetZoom (float zoom)
 
void SetHorizontalZoom (float zoom)
 
void SetVerticalZoom (float zoom)
 
void SetAngle (float angle)
 
void SetDependIsDefault (bool isDefault)
 
void SetReverseDependence (MythUIType *dependee, bool reverse)
 
void SetDependsMap (QMap< QString, QString > dependsMap)
 
QMap< QString, QString > GetDependsMap () const
 

Static Public Member Functions

static void * RunPlaybackBox (void *player, bool showTV)
 
- Static Public Member Functions inherited from XMLParseBase
static QString getFirstText (QDomElement &element)
 
static bool parseBool (const QString &text)
 
static bool parseBool (QDomElement &element)
 
static MythPoint parsePoint (const QString &text, bool normalize=true)
 
static MythPoint parsePoint (QDomElement &element, bool normalize=true)
 
static QSize parseSize (const QString &text, bool normalize=true)
 
static QSize parseSize (QDomElement &element, bool normalize=true)
 
static MythRect parseRect (const QString &text, bool normalize=true)
 
static MythRect parseRect (QDomElement &element, bool normalize=true)
 
static int parseAlignment (const QString &text)
 
static int parseAlignment (QDomElement &element)
 
static QBrush parseGradient (const QDomElement &element)
 
static QString parseText (QDomElement &element)
 
static MythUITypeGetGlobalObjectStore (void)
 
static void ClearGlobalObjectStore (void)
 
static void ParseChildren (const QString &filename, QDomElement &element, MythUIType *parent, bool showWarnings)
 
static MythUITypeParseUIType (const QString &filename, QDomElement &element, const QString &type, MythUIType *parent, MythScreenType *screen, bool showWarnings, QMap< QString, QString > &parentDependsMap)
 
static bool WindowExists (const QString &xmlfile, const QString &windowname)
 
static bool LoadWindowFromXML (const QString &xmlfile, const QString &windowname, MythUIType *parent)
 
static bool LoadBaseTheme (void)
 
static bool LoadBaseTheme (const QString &baseTheme)
 
static bool CopyWindowFromBase (const QString &windowname, MythScreenType *win)
 

Static Public Attributes

static std::array< PlaybackBoxCb, kMaxJobs *2 > kMySlots
 

Protected Slots

void updateRecList (MythUIButtonListItem *sel_item)
 
void selectUIGroupsAlphabet (MythUIButtonListItem *item)
 
void ItemSelected (MythUIButtonListItem *item)
 
void ItemVisible (MythUIButtonListItem *item)
 
void ItemLoaded (MythUIButtonListItem *item)
 
void selected (MythUIButtonListItem *item)
 
void updateRecGroup (MythUIButtonListItem *sel_item)
 
void PlayFromAnyMark (MythUIButtonListItem *item)
 
void PlayFromAnyMark ()
 
void PlayFromBookmark (MythUIButtonListItem *item)
 
void PlayFromBookmark ()
 
void PlayFromBeginning (MythUIButtonListItem *item)
 
void PlayFromBeginning ()
 
void PlayFromLastPlayPos (MythUIButtonListItem *item)
 
void PlayFromLastPlayPos ()
 
void deleteSelected (MythUIButtonListItem *item)
 
void ClearBookmark ()
 
void ClearLastPlayPos ()
 
void SwitchList (void)
 
void ShowGroupPopup (void)
 
void StopSelected (void)
 
void showMetadataEditor ()
 
void showGroupFilter ()
 
void showRecGroupPasswordChanger ()
 
MythMenucreatePlayFromMenu ()
 
MythMenucreateRecordingMenu ()
 
MythMenucreateJobMenu ()
 
MythMenucreateTranscodingProfilesMenu ()
 
void doCreateTranscodingProfilesMenu ()
 
MythMenucreateStorageMenu ()
 
MythMenucreatePlaylistMenu ()
 
MythMenucreatePlaylistStorageMenu ()
 
MythMenucreatePlaylistJobMenu ()
 
void changeProfileAndTranscode (int id)
 
void showIconHelp ()
 
void ShowRecGroupChangerUsePlaylist (void)
 
void ShowRecGroupChangerNoPlaylist (void)
 
void ShowPlayGroupChangerUsePlaylist (void)
 
void ShowPlayGroupChangerNoPlaylist (void)
 
void ShowRecGroupChanger (bool use_playlist=false)
 Used to change the recording group of a program or playlist. More...
 
void ShowPlayGroupChanger (bool use_playlist=false)
 Used to change the play group of a program or playlist. More...
 
void popupClosed (const QString &which, int result)
 
void doPlayListRandom ()
 
void askStop ()
 
void doAllowRerecord ()
 Callback function when Allow Re-record is pressed in Watch Recordings. More...
 
void askDelete ()
 
void Undelete (void)
 
void Delete (PlaybackBox::DeleteFlags flags)
 
void Delete ()
 
void DeleteForgetHistory (void)
 
void DeleteForce (void)
 
void DeleteIgnore (void)
 
void DeleteForceAllRemaining (void)
 
void DeleteIgnoreAllRemaining (void)
 
void ShowRecordedEpisodes ()
 
void ShowAllRecordings ()
 
void toggleWatched ()
 
void toggleAutoExpire ()
 
void togglePreserveEpisode ()
 
void toggleView (PlaybackBox::ViewMask itemMask, bool setOn)
 
void toggleTitleView (bool setOn)
 
void toggleCategoryView (bool setOn)
 
void toggleRecGroupView (bool setOn)
 
void toggleWatchListView (bool setOn)
 
void toggleSearchView (bool setOn)
 
void toggleLiveTVView (bool setOn)
 
void toggleWatchedView (bool setOn)
 
void setGroupFilter (const QString &newRecGroup)
 
void setRecGroup (QString newRecGroup)
 
void setPlayGroup (QString newPlayGroup)
 
void saveRecMetadata (const QString &newTitle, const QString &newSubtitle, const QString &newDescription, const QString &newInetref, uint season, uint episode)
 
void SetRecGroupPassword (const QString &newPassword)
 
void doJobQueueJob (int jobType, int jobFlags=0)
 
void doPlaylistJobQueueJob (int jobType, int jobFlags=0)
 
void stopPlaylistJobQueueJob (int jobType)
 
void doBeginFlagging ()
 
void doBeginLookup ()
 
void doBeginTranscoding ()
 
void doBeginUserJob1 ()
 
void doBeginUserJob2 ()
 
void doBeginUserJob3 ()
 
void doBeginUserJob4 ()
 
void doPlaylistBeginTranscoding ()
 
void stopPlaylistTranscoding ()
 
void doPlaylistBeginFlagging ()
 
void stopPlaylistFlagging ()
 
void doPlaylistBeginLookup ()
 
void stopPlaylistLookup ()
 
void doPlaylistBeginUserJob1 ()
 
void stopPlaylistUserJob1 ()
 
void doPlaylistBeginUserJob2 ()
 
void stopPlaylistUserJob2 ()
 
void doPlaylistBeginUserJob3 ()
 
void stopPlaylistUserJob3 ()
 
void doPlaylistBeginUserJob4 ()
 
void stopPlaylistUserJob4 ()
 
void doClearPlaylist ()
 
void PlaylistDeleteForgetHistory (void)
 
void PlaylistDeleteKeepHistory (void)
 
void PlaylistDelete (bool forgetHistory=false)
 
void doPlaylistExpireSetting (bool turnOn)
 
void doPlaylistExpireSetOn ()
 
void doPlaylistExpireSetOff ()
 
void doPlaylistWatchedSetting (bool turnOn)
 
void doPlaylistWatchedSetOn ()
 
void doPlaylistWatchedSetOff ()
 
void doPlaylistAllowRerecord ()
 
void togglePlayListTitle (void)
 
void togglePlayListItem (void)
 
void playSelectedPlaylist (bool Random)
 
void doPlayList (void)
 
void showViewChanger (void)
 
void saveViewChanges (void)
 
void checkPassword (const QString &password)
 
void passwordClosed (void)
 
void fanartLoad (void)
 
void bannerLoad (void)
 
void coverartLoad (void)
 
- Protected Slots inherited from ScheduleCommon
virtual void EditRecording (bool may_watch_now=false)
 Creates a dialog for editing the recording status, blocking until user leaves dialog. More...
 
virtual void EditRecording (MythUIButtonListItem *)
 
virtual void QuickRecord (void)
 Create a kSingleRecord or bring up recording dialog. More...
 
virtual void ShowPrevious (void) const
 Show the previous recordings for this recording rule. More...
 
virtual void ShowPrevious (uint ruleid, const QString &title) const
 Show the previous recordings for this recording rule. More...
 
virtual void ShowUpcoming (void) const
 Show the upcoming recordings for this title. More...
 
virtual void ShowUpcomingScheduled (void) const
 Show the upcoming recordings for this recording rule. More...
 
virtual void ShowChannelSearch (void) const
 Show the channel search. More...
 
virtual void ShowGuide (void) const
 Show the program guide. More...
 
virtual void EditScheduled (void)
 Creates a dialog for editing the recording schedule. More...
 
virtual void EditCustom (void)
 Creates a dialog for creating a custom recording rule. More...
 

Private Types

using RecGroup = QPair< QString, QString >
 

Private Member Functions

bool UpdateUILists (void)
 
void UpdateUIGroupList (const QStringList &groupPreferences)
 
void UpdateUIRecGroupList (void)
 
void SelectNextRecGroup (void)
 
void UpdateProgressBar (void)
 
void PlayX (const ProgramInfo &pginfo, bool ignoreBookmark, bool ignoreProgStart, bool ignoreLastPlayPos, bool underNetworkControl)
 
bool Play (const ProgramInfo &rec, bool inPlaylist, bool ignoreBookmark, bool ignoreProgStart, bool ignoreLastPlayPos, bool underNetworkControl)
 
ProgramInfoGetCurrentProgram (void) const override
 
void togglePlayListItem (ProgramInfo *pginfo)
 
void randomizePlayList (void)
 
void processNetworkControlCommands (void)
 
void processNetworkControlCommand (const QString &command)
 
ProgramInfoFindProgramInUILists (const ProgramInfo &pginfo)
 
ProgramInfoFindProgramInUILists (uint recordingID, const QString &recgroup="NotLiveTV")
 
void RemoveProgram (uint recordingID, bool forgetHistory, bool forceMetadataDelete)
 
void ShowDeletePopup (DeletePopupType type)
 
void ShowActionPopup (const ProgramInfo &pginfo)
 
QString getRecGroupPassword (const QString &recGroup)
 
void fillRecGroupPasswordCache (void)
 
bool IsUsageUIVisible (void) const
 
void updateIcons (const ProgramInfo *pginfo=nullptr)
 
void UpdateUsageUI (void)
 
void updateGroupInfo (const QString &groupname, const QString &grouplabel)
 
void SetItemIcons (MythUIButtonListItem *item, ProgramInfo *pginfo)
 
void UpdateUIListItem (ProgramInfo *pginfo, bool force_preview_reload)
 
void UpdateUIListItem (MythUIButtonListItem *item, bool is_sel, bool force_preview_reload=true)
 
void HandlePreviewEvent (const QStringList &list)
 Updates the UI properties for a new preview file. More...
 
void HandleRecordingRemoveEvent (uint recordingID)
 
void HandleRecordingAddEvent (const ProgramInfo &evinfo)
 
void HandleUpdateItemEvent (uint recordingId, uint flags)
 
void ScheduleUpdateUIList (void)
 
void ShowMenu (void) override
 
bool CreatePopupMenu (const QString &title)
 
void DisplayPopupMenu (void)
 
bool CreatePopupMenuPlaylist (void)
 
QString extract_job_state (const ProgramInfo &pginfo)
 
QString extract_commflag_state (const ProgramInfo &pginfo)
 

Static Private Member Functions

static void ShowAvailabilityPopup (const ProgramInfo &pginfo)
 
static QString CreateProgramInfoString (const ProgramInfo &pginfo)
 

Private Attributes

MythUIButtonListm_recgroupList {nullptr}
 
MythUIButtonListm_groupAlphaList {nullptr}
 
MythUIButtonListm_groupList {nullptr}
 
MythUIButtonListm_recordingList {nullptr}
 
MythUITextm_noRecordingsText {nullptr}
 
MythUIImagem_previewImage {nullptr}
 
MythUIProgressBarm_recordedProgress {nullptr}
 
MythUIProgressBarm_watchedProgress {nullptr}
 
QString m_artHostOverride
 
std::array< MythUIImage *, kNumArtImagesm_artImage {}
 
std::array< QTimer *, kNumArtImagesm_artTimer {}
 
InfoMap m_currentMap
 
bool m_titleView {false}
 titleView controls showing titles in group list More...
 
bool m_useCategories {false}
 useCategories controls showing categories in group list More...
 
bool m_useRecGroups {false}
 useRecGroups controls showing of recording groups in group list More...
 
bool m_watchListStart {false}
 use the Watch List as the initial view More...
 
bool m_watchListAutoExpire {false}
 exclude recording not marked for auto-expire from the Watch List More...
 
int m_watchListMaxAge {60}
 add 1 to the Watch List scord up to this many days More...
 
std::chrono::hours m_watchListBlackOut {std::chrono::days(2)}
 adjust exclusion of a title from the Watch List after a delete More...
 
int m_allOrder
 allOrder controls the ordering of the "All Programs" list More...
 
int m_listOrder {1}
 listOrder controls the ordering of the recordings in the list More...
 
QString m_currentLetter
 
QMap< QString, QString > m_groupAlphabet
 
QString m_groupDisplayName
 
QString m_recGroup
 
QString m_curGroupPassword
 
QString m_newRecGroup
 
QString m_watchGroupName
 
QString m_watchGroupLabel
 
ViewMask m_viewMask {VIEW_TITLES}
 
MythDialogBoxm_menuDialog {nullptr}
 
MythMenum_popupMenu {nullptr}
 
MythScreenStackm_popupStack {nullptr}
 
bool m_doToggleMenu {true}
 
QMap< QString, QString > m_recGroupType
 
QMap< QString, QString > m_recGroupPwCache
 
QStringList m_titleList
 list of pages More...
 
ProgramMap m_progLists
 lists of programs by page More...
 
int m_progsInDB {0}
 total number of recordings in DB More...
 
bool m_isFilling {false}
 
QStringList m_recGroups
 
QMutex m_recGroupsLock
 
int m_recGroupIdx {-1}
 
QStringList m_delList
 Recording[s] currently selected for deletion. More...
 
QString m_currentGroup
 Group currently selected. More...
 
QList< uintm_playList
 list of selected items "play list" More...
 
bool m_opOnPlaylist {false}
 
QList< uintm_playListPlay
 list of items being played. More...
 
ProgramInfoCache m_programInfoCache
 
bool m_playingSomething {false}
 playingSomething is set to true iff a full screen recording is playing More...
 
bool m_needUpdate {false}
 Does the recording list need to be refilled. More...
 
bool m_haveGroupInfoSet {false}
 
QMutex m_ncLock
 
std::deque< QString > m_networkControlCommands
 
TVm_player {nullptr}
 
QStringList m_playerSelectedNewShow
 
PlaybackBoxHelper m_helper
 Main helper thread. More...
 
QSet< QString > m_previewTokens
 Outstanding preview image requests. More...
 
bool m_firstGroup {true}
 
bool m_usingGroupSelector {false}
 
bool m_groupSelected {false}
 
bool m_passwordEntered {false}
 
bool m_alwaysShowWatchedProgress {false}
 
class PlaybackBox::PbbJobQueue m_jobQueue
 

Static Private Attributes

static constexpr int kNumArtImages = 3
 

Friends

class PlaybackBoxListItem
 
class ChangeView
 

Additional Inherited Members

- Signals inherited from MythScreenType
void Exiting ()
 
- Signals inherited from MythUIType
void RequestUpdate (void)
 
void RequestRegionUpdate (const QRect &)
 
void TakingFocus (void)
 
void LosingFocus (void)
 
void VisibilityChanged (bool Visible)
 
void Showing (void)
 
void Hiding (void)
 
void Enabling (void)
 
void Disabling (void)
 
void FinishedMoving (void)
 
void FinishedFading (void)
 
void DependChanged (bool isDefault)
 
- Protected Member Functions inherited from ScheduleCommon
 ScheduleCommon (MythScreenStack *parent, const QString &name)
 
 ~ScheduleCommon () override=default
 
virtual void AddGroupMenuItems (MythMenu *sortGroupMenu)
 
void customEvent (QEvent *event) override
 
virtual ProgramInfoGetCurrentProgram (void) const
 
- Protected Member Functions inherited from MythScreenType
 MythScreenType (MythUIType *parent, const QString &name, bool fullscreen=true)
 
void CopyFrom (MythUIType *base) override
 Copy this widgets state from another. More...
 
void CreateCopy (MythUIType *parent) override
 Copy the state of this widget to the one given, it must be of the same type. More...
 
bool ParseElement (const QString &filename, QDomElement &element, bool showWarnings) override
 Parse the xml definition of this widget setting the state of the object accordingly. More...
 
virtual void Load (void)
 Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning) More...
 
virtual void Init (void)
 Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load() More...
 
void LoadInBackground (const QString &message="")
 
void ReloadInBackground (void)
 
void OpenBusyPopup (const QString &message="")
 
void CloseBusyPopup (void)
 
void SetBusyPopupMessage (const QString &message)
 
void ResetBusyPopup (void)
 
- Protected Member Functions inherited from MythUIType
 ~MythUIType () override
 
void customEvent (QEvent *event) override
 
virtual void DrawSelf (MythPainter *p, int xoffset, int yoffset, int alphaMod, QRect clipRect)
 
void AddFocusableChildrenToList (FocusInfoType &focusList)
 
void HandleAlphaPulse ()
 Handle one frame of an alpha (transparency) change animation. More...
 
void HandleMovementPulse ()
 Handle one frame of a movement animation. More...
 
int CalcAlpha (int alphamod) const
 
void ConnectDependants (bool recurse=false)
 
virtual bool ParseElement (const QString &filename, QDomElement &element, bool showWarnings)
 Parse the xml definition of this widget setting the state of the object accordingly. More...
 
virtual void CopyFrom (MythUIType *base)
 Copy this widgets state from another. More...
 
virtual void CreateCopy (MythUIType *parent)
 Copy the state of this widget to the one given, it must be of the same type. More...
 
virtual void Finalize (void)
 Perform any post-xml parsing initialisation tasks. More...
 
- Static Protected Member Functions inherited from ScheduleCommon
static void ShowUpcoming (const QString &title, const QString &seriesid)
 Show the upcoming recordings for this title. More...
 
static void EditScheduled (ProgramInfo *pginfo)
 Creates a dialog for editing the recording schedule. More...
 
static void EditScheduled (RecordingInfo *recinfo)
 Creates a dialog for editing the recording schedule. More...
 
static void MakeOverride (RecordingInfo *recinfo)
 Creates a dialog for editing an override recording schedule. More...
 
static ProgGroupBy::Type GetProgramListGroupBy (void)
 
- Static Protected Member Functions inherited from MythUIType
static int NormX (int width)
 
static int NormY (int height)
 
- Protected Attributes inherited from MythScreenType
bool m_fullScreen {false}
 
bool m_isDeleting {false}
 
QSemaphore m_loadLock {1}
 
volatile bool m_isLoading {false}
 
volatile bool m_isLoaded {false}
 
bool m_isInitialized {false}
 
MythUITypem_currentFocusWidget {nullptr}
 
FocusInfoType m_focusWidgetList
 
MythScreenStackm_screenStack {nullptr}
 
MythUIBusyDialogm_busyPopup {nullptr}
 
QRegion m_savedMask
 
- Protected Attributes inherited from MythUIType
QList< MythUIType * > m_childrenList
 
QMap< QString, QString > m_dependsMap
 
QList< QPair< MythUIType *, bool > > m_dependsValue
 
QList< int > m_dependOperator
 
bool m_visible {true}
 
bool m_hasFocus {false}
 
bool m_canHaveFocus {false}
 
bool m_enabled {true}
 
bool m_enableInitiator {false}
 
bool m_initiator {false}
 
bool m_vanish {false}
 
bool m_vanished {false}
 
bool m_isDependDefault {false}
 
QMap< MythUIType *, boolm_reverseDepend
 
QString m_focusedName
 
int m_focusOrder {0}
 
MythRect m_area {0,0,0,0}
 
MythRect m_minArea {0,0,0,0}
 
MythPoint m_minSize
 
QRegion m_dirtyRegion {0,0,0,0}
 
bool m_needsRedraw {false}
 
UIEffects m_effects
 
int m_alphaChangeMode {0}
 
int m_alphaChange {0}
 
int m_alphaMin {0}
 
int m_alphaMax {255}
 
bool m_moving {false}
 
QPoint m_xyDestination {0,0}
 
QPoint m_xySpeed {0,0}
 
FontMapm_fonts {nullptr}
 
MythUITypem_parent {nullptr}
 
MythPainterm_painter {nullptr}
 
QList< MythUIAnimation * > m_animations
 
QString m_helptext
 
QString m_xmlName
 
QString m_xmlLocation
 
bool m_deferload {false}
 
QColor m_borderColor {Qt::black}
 

Detailed Description

Definition at line 61 of file playbackbox.h.

Member Typedef Documentation

◆ RecGroup

using PlaybackBox::RecGroup = QPair<QString, QString>
private

Definition at line 419 of file playbackbox.h.

Member Enumeration Documentation

◆ DeleteFlags

enum PlaybackBox::DeleteFlags : std::uint8_t
Enumerator
kNoDelFlags 
kForgetHistory 
kForce 
kIgnore 
kAllRemaining 

Definition at line 106 of file playbackbox.h.

◆ DeletePopupType

enum PlaybackBox::DeletePopupType : std::uint8_t
Enumerator
kDeleteRecording 
kStopRecording 
kForceDeleteRecording 

Definition at line 99 of file playbackbox.h.

◆ killStateType

enum PlaybackBox::killStateType : std::uint8_t
Enumerator
kNvpToPlay 
kNvpToStop 
kDone 

Definition at line 115 of file playbackbox.h.

◆ ViewMask

Enumerator
VIEW_NONE 
VIEW_TITLES 
VIEW_CATEGORIES 
VIEW_RECGROUPS 
VIEW_WATCHLIST 
VIEW_SEARCHES 
VIEW_LIVETVGRP 
VIEW_WATCHED 

Definition at line 87 of file playbackbox.h.

◆ ViewTitleSort

enum PlaybackBox::ViewTitleSort : std::uint8_t
Enumerator
TitleSortAlphabetical 
TitleSortRecPriority 
TitleSortMethods 

Definition at line 81 of file playbackbox.h.

◆ ViewType

enum PlaybackBox::ViewType : std::uint8_t
Enumerator
TitlesOnly 
TitlesCategories 
TitlesCategoriesRecGroups 
TitlesRecGroups 
Categories 
CategoriesRecGroups 
RecGroups 
ViewTypes 

Definition at line 69 of file playbackbox.h.

Constructor & Destructor Documentation

◆ PlaybackBox()

PlaybackBox::PlaybackBox ( MythScreenStack parent,
const QString &  name,
TV player = nullptr,
bool  showTV = false 
)

Definition at line 386 of file playbackbox.cpp.

Referenced by RunPlaybackBox().

◆ ~PlaybackBox()

PlaybackBox::~PlaybackBox ( void  )
override

Definition at line 477 of file playbackbox.cpp.

Member Function Documentation

◆ askDelete

void PlaybackBox::askDelete ( )
protectedslot

Definition at line 3506 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ askStop

void PlaybackBox::askStop ( void  )
protectedslot

Definition at line 3370 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ bannerLoad

void PlaybackBox::bannerLoad ( void  )
protectedslot

Definition at line 2561 of file playbackbox.cpp.

Referenced by Create().

◆ changeProfileAndTranscode

void PlaybackBox::changeProfileAndTranscode ( int  id)
protectedslot

Definition at line 3171 of file playbackbox.cpp.

Referenced by customEvent().

◆ checkPassword

void PlaybackBox::checkPassword ( const QString &  password)
protectedslot

Definition at line 643 of file playbackbox.cpp.

Referenced by displayRecGroup().

◆ ClearBookmark

void PlaybackBox::ClearBookmark ( )
protectedslot

Definition at line 2285 of file playbackbox.cpp.

Referenced by createPlayFromMenu().

◆ ClearLastPlayPos

void PlaybackBox::ClearLastPlayPos ( )
protectedslot

Definition at line 2292 of file playbackbox.cpp.

Referenced by createPlayFromMenu().

◆ coverartLoad

void PlaybackBox::coverartLoad ( void  )
protectedslot

Definition at line 2566 of file playbackbox.cpp.

Referenced by Create().

◆ Create()

bool PlaybackBox::Create ( void  )
overridevirtual

Reimplemented from MythScreenType.

Definition at line 496 of file playbackbox.cpp.

◆ createJobMenu

MythMenu * PlaybackBox::createJobMenu ( )
protectedslot

Definition at line 3069 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ createPlayFromMenu

MythMenu * PlaybackBox::createPlayFromMenu ( )
protectedslot

Definition at line 2975 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ createPlaylistJobMenu

MythMenu * PlaybackBox::createPlaylistJobMenu ( void  )
protectedslot

Definition at line 2781 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

◆ createPlaylistMenu

MythMenu * PlaybackBox::createPlaylistMenu ( void  )
protectedslot

Definition at line 2724 of file playbackbox.cpp.

Referenced by ShowActionPopup(), and ShowGroupPopup().

◆ createPlaylistStorageMenu

MythMenu * PlaybackBox::createPlaylistStorageMenu ( )
protectedslot

Definition at line 2763 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

◆ CreatePopupMenu()

bool PlaybackBox::CreatePopupMenu ( const QString &  title)
private

◆ CreatePopupMenuPlaylist()

bool PlaybackBox::CreatePopupMenuPlaylist ( void  )
private

◆ CreateProgramInfoString()

QString PlaybackBox::CreateProgramInfoString ( const ProgramInfo pginfo)
staticprivate

◆ createRecordingMenu

MythMenu * PlaybackBox::createRecordingMenu ( void  )
protectedslot

Definition at line 3024 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ createStorageMenu

MythMenu * PlaybackBox::createStorageMenu ( )
protectedslot

Definition at line 3003 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ createTranscodingProfilesMenu

MythMenu * PlaybackBox::createTranscodingProfilesMenu ( )
protectedslot

Definition at line 3129 of file playbackbox.cpp.

Referenced by createJobMenu(), and doCreateTranscodingProfilesMenu().

◆ customEvent()

void PlaybackBox::customEvent ( QEvent *  event)
override

Definition at line 3993 of file playbackbox.cpp.

◆ Delete [1/2]

void PlaybackBox::Delete ( )
inlineprotectedslot

◆ Delete [2/2]

void PlaybackBox::Delete ( PlaybackBox::DeleteFlags  flags)
protectedslot

Definition at line 3555 of file playbackbox.cpp.

◆ DeleteForce

void PlaybackBox::DeleteForce ( void  )
inlineprotectedslot

Definition at line 200 of file playbackbox.h.

Referenced by ShowDeletePopup().

◆ DeleteForceAllRemaining

void PlaybackBox::DeleteForceAllRemaining ( void  )
inlineprotectedslot

Definition at line 202 of file playbackbox.h.

Referenced by ShowDeletePopup().

◆ DeleteForgetHistory

void PlaybackBox::DeleteForgetHistory ( void  )
inlineprotectedslot

Definition at line 199 of file playbackbox.h.

Referenced by ShowDeletePopup().

◆ DeleteIgnore

void PlaybackBox::DeleteIgnore ( void  )
inlineprotectedslot

Definition at line 201 of file playbackbox.h.

Referenced by ShowDeletePopup().

◆ DeleteIgnoreAllRemaining

void PlaybackBox::DeleteIgnoreAllRemaining ( void  )
inlineprotectedslot

Definition at line 204 of file playbackbox.h.

Referenced by ShowDeletePopup().

◆ deleteSelected

void PlaybackBox::deleteSelected ( MythUIButtonListItem item)
protectedslot

Definition at line 2306 of file playbackbox.cpp.

Referenced by keyPressEvent().

◆ DisplayPopupMenu()

void PlaybackBox::DisplayPopupMenu ( void  )
private

Definition at line 2924 of file playbackbox.cpp.

Referenced by ShowActionPopup(), ShowDeletePopup(), and ShowGroupPopup().

◆ displayRecGroup

void PlaybackBox::displayRecGroup ( const QString &  newRecGroup = "")
slot

◆ doAllowRerecord

void PlaybackBox::doAllowRerecord ( )
protectedslot

Callback function when Allow Re-record is pressed in Watch Recordings.

Hide the current program from the scheduler by calling ForgetHistory This will allow it to re-record without deleting

Definition at line 3386 of file playbackbox.cpp.

Referenced by createRecordingMenu().

◆ doBeginFlagging

void PlaybackBox::doBeginFlagging ( )
protectedslot

Definition at line 3450 of file playbackbox.cpp.

◆ doBeginLookup

void PlaybackBox::doBeginLookup ( )
protectedslot

Definition at line 3455 of file playbackbox.cpp.

◆ doBeginTranscoding

void PlaybackBox::doBeginTranscoding ( )
inlineprotectedslot

Definition at line 238 of file playbackbox.h.

Referenced by changeProfileAndTranscode().

◆ doBeginUserJob1

void PlaybackBox::doBeginUserJob1 ( )
inlineprotectedslot

Definition at line 240 of file playbackbox.h.

◆ doBeginUserJob2

void PlaybackBox::doBeginUserJob2 ( )
inlineprotectedslot

Definition at line 241 of file playbackbox.h.

◆ doBeginUserJob3

void PlaybackBox::doBeginUserJob3 ( )
inlineprotectedslot

Definition at line 242 of file playbackbox.h.

◆ doBeginUserJob4

void PlaybackBox::doBeginUserJob4 ( )
inlineprotectedslot

Definition at line 243 of file playbackbox.h.

◆ doClearPlaylist

void PlaybackBox::doClearPlaylist ( void  )
protectedslot

◆ doCreateTranscodingProfilesMenu

void PlaybackBox::doCreateTranscodingProfilesMenu ( )
inlineprotectedslot

Definition at line 172 of file playbackbox.h.

◆ doJobQueueJob

void PlaybackBox::doJobQueueJob ( int  jobType,
int  jobFlags = 0 
)
protectedslot

◆ doPlayList

void PlaybackBox::doPlayList ( void  )
protectedslot

Definition at line 3359 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

◆ doPlaylistAllowRerecord

void PlaybackBox::doPlaylistAllowRerecord ( )
protectedslot

Definition at line 3398 of file playbackbox.cpp.

Referenced by createPlaylistStorageMenu().

◆ doPlaylistBeginFlagging

void PlaybackBox::doPlaylistBeginFlagging ( )
inlineprotectedslot

Definition at line 247 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginLookup

void PlaybackBox::doPlaylistBeginLookup ( )
inlineprotectedslot

Definition at line 249 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginTranscoding

void PlaybackBox::doPlaylistBeginTranscoding ( )
inlineprotectedslot

Definition at line 244 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginUserJob1

void PlaybackBox::doPlaylistBeginUserJob1 ( )
inlineprotectedslot

Definition at line 251 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginUserJob2

void PlaybackBox::doPlaylistBeginUserJob2 ( )
inlineprotectedslot

Definition at line 253 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginUserJob3

void PlaybackBox::doPlaylistBeginUserJob3 ( )
inlineprotectedslot

Definition at line 255 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistBeginUserJob4

void PlaybackBox::doPlaylistBeginUserJob4 ( )
inlineprotectedslot

Definition at line 257 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ doPlaylistExpireSetOff

void PlaybackBox::doPlaylistExpireSetOff ( )
inlineprotectedslot

Definition at line 265 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ doPlaylistExpireSetOn

void PlaybackBox::doPlaylistExpireSetOn ( )
inlineprotectedslot

Definition at line 264 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ doPlaylistExpireSetting

void PlaybackBox::doPlaylistExpireSetting ( bool  turnOn)
protectedslot

Definition at line 4807 of file playbackbox.cpp.

Referenced by doPlaylistExpireSetOff(), and doPlaylistExpireSetOn().

◆ doPlaylistJobQueueJob

void PlaybackBox::doPlaylistJobQueueJob ( int  jobType,
int  jobFlags = 0 
)
protectedslot

◆ doPlayListRandom

void PlaybackBox::doPlayListRandom ( void  )
protectedslot

Definition at line 3365 of file playbackbox.cpp.

Referenced by createPlaylistMenu().

◆ doPlaylistWatchedSetOff

void PlaybackBox::doPlaylistWatchedSetOff ( )
inlineprotectedslot

Definition at line 268 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ doPlaylistWatchedSetOn

void PlaybackBox::doPlaylistWatchedSetOn ( )
inlineprotectedslot

Definition at line 267 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ doPlaylistWatchedSetting

void PlaybackBox::doPlaylistWatchedSetting ( bool  turnOn)
protectedslot

Definition at line 4824 of file playbackbox.cpp.

Referenced by doPlaylistWatchedSetOff(), and doPlaylistWatchedSetOn().

◆ extract_commflag_state()

QString PlaybackBox::extract_commflag_state ( const ProgramInfo pginfo)
private

Definition at line 312 of file playbackbox.cpp.

Referenced by ItemVisible(), and UpdateUIListItem().

◆ extract_job_state()

QString PlaybackBox::extract_job_state ( const ProgramInfo pginfo)
private

Definition at line 292 of file playbackbox.cpp.

Referenced by ItemVisible(), and UpdateUIListItem().

◆ fanartLoad

void PlaybackBox::fanartLoad ( void  )
protectedslot

Definition at line 2556 of file playbackbox.cpp.

Referenced by Create().

◆ fillRecGroupPasswordCache()

void PlaybackBox::fillRecGroupPasswordCache ( void  )
private

Definition at line 4667 of file playbackbox.cpp.

Referenced by PlaybackBox().

◆ FindProgramInUILists() [1/2]

ProgramInfo * PlaybackBox::FindProgramInUILists ( const ProgramInfo pginfo)
private

◆ FindProgramInUILists() [2/2]

ProgramInfo * PlaybackBox::FindProgramInUILists ( uint  recordingID,
const QString &  recgroup = "NotLiveTV" 
)
private

Definition at line 3612 of file playbackbox.cpp.

◆ GetCurrentProgram()

ProgramInfo * PlaybackBox::GetCurrentProgram ( void  ) const
overrideprivatevirtual

◆ getRecGroupPassword()

QString PlaybackBox::getRecGroupPassword ( const QString &  recGroup)
private

◆ groupSelectorClosed

void PlaybackBox::groupSelectorClosed ( void  )
slot

Definition at line 4612 of file playbackbox.cpp.

Referenced by showGroupFilter().

◆ HandlePreviewEvent()

void PlaybackBox::HandlePreviewEvent ( const QStringList &  list)
private

Updates the UI properties for a new preview file.

This first update the image property of the MythUIButtonListItem with the new preview file, then if it is selected and there is a preview image UI item in the theme that it's filename property gets updated as well.

Definition at line 1085 of file playbackbox.cpp.

Referenced by customEvent().

◆ HandleRecordingAddEvent()

void PlaybackBox::HandleRecordingAddEvent ( const ProgramInfo evinfo)
private

Definition at line 4423 of file playbackbox.cpp.

Referenced by customEvent().

◆ HandleRecordingRemoveEvent()

void PlaybackBox::HandleRecordingRemoveEvent ( uint  recordingID)
private

Definition at line 4346 of file playbackbox.cpp.

Referenced by customEvent().

◆ HandleUpdateItemEvent()

void PlaybackBox::HandleUpdateItemEvent ( uint  recordingId,
uint  flags 
)
private

Definition at line 4429 of file playbackbox.cpp.

Referenced by customEvent().

◆ Init()

void PlaybackBox::Init ( void  )
overridevirtual

Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load()

Warning
Do NOT confuse this with Load(), they serve very different purposes and most often both should be used when creating a new screen.

Reimplemented from MythScreenType.

Definition at line 575 of file playbackbox.cpp.

◆ IsUsageUIVisible()

bool PlaybackBox::IsUsageUIVisible ( void  ) const
private

Definition at line 1321 of file playbackbox.cpp.

◆ ItemLoaded

void PlaybackBox::ItemLoaded ( MythUIButtonListItem item)
protectedslot

Definition at line 930 of file playbackbox.cpp.

Referenced by Create(), and ItemVisible().

◆ ItemSelected

void PlaybackBox::ItemSelected ( MythUIButtonListItem item)
inlineprotectedslot

Definition at line 144 of file playbackbox.h.

Referenced by Create().

◆ ItemVisible

void PlaybackBox::ItemVisible ( MythUIButtonListItem item)
protectedslot

Definition at line 1042 of file playbackbox.cpp.

Referenced by Create().

◆ keyPressEvent()

bool PlaybackBox::keyPressEvent ( QKeyEvent *  event)
overridevirtual

Key event handler.

Parameters
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 3852 of file playbackbox.cpp.

Referenced by keyPressEvent().

◆ Load()

void PlaybackBox::Load ( void  )
overridevirtual

Load data which will ultimately be displayed on-screen or used to determine what appears on-screen (See Warning)

Warning
This method should only load data, it should NEVER perform UI routines or segfaults WILL result. This includes assinging data to any widgets, calling methods on a widget or anything else which triggers redraws. The safest and recommended approach is to avoid any interaction with a libmythui class or class member.

Reimplemented from MythScreenType.

Definition at line 569 of file playbackbox.cpp.

◆ passwordClosed

void PlaybackBox::passwordClosed ( void  )
protectedslot

Definition at line 653 of file playbackbox.cpp.

Referenced by displayRecGroup().

◆ Play()

bool PlaybackBox::Play ( const ProgramInfo rec,
bool  inPlaylist,
bool  ignoreBookmark,
bool  ignoreProgStart,
bool  ignoreLastPlayPos,
bool  underNetworkControl 
)
private

Definition at line 2465 of file playbackbox.cpp.

Referenced by customEvent(), and PlayX().

◆ PlayFromAnyMark [1/2]

void PlaybackBox::PlayFromAnyMark ( )
inlineprotectedslot

Definition at line 151 of file playbackbox.h.

Referenced by Create(), keyPressEvent(), PlayFromAnyMark(), selected(), and ShowActionPopup().

◆ PlayFromAnyMark [2/2]

void PlaybackBox::PlayFromAnyMark ( MythUIButtonListItem item)
protectedslot

Definition at line 2187 of file playbackbox.cpp.

◆ PlayFromBeginning [1/2]

void PlaybackBox::PlayFromBeginning ( )
inlineprotectedslot

Definition at line 155 of file playbackbox.h.

Referenced by createPlayFromMenu(), and PlayFromBeginning().

◆ PlayFromBeginning [2/2]

void PlaybackBox::PlayFromBeginning ( MythUIButtonListItem item)
protectedslot

Definition at line 2225 of file playbackbox.cpp.

◆ PlayFromBookmark [1/2]

void PlaybackBox::PlayFromBookmark ( )
inlineprotectedslot

Definition at line 153 of file playbackbox.h.

Referenced by createPlayFromMenu(), and PlayFromBookmark().

◆ PlayFromBookmark [2/2]

void PlaybackBox::PlayFromBookmark ( MythUIButtonListItem item)
protectedslot

Definition at line 2206 of file playbackbox.cpp.

◆ PlayFromLastPlayPos [1/2]

void PlaybackBox::PlayFromLastPlayPos ( )
inlineprotectedslot

Definition at line 157 of file playbackbox.h.

Referenced by createPlayFromMenu(), and PlayFromLastPlayPos().

◆ PlayFromLastPlayPos [2/2]

void PlaybackBox::PlayFromLastPlayPos ( MythUIButtonListItem item)
protectedslot

Definition at line 2244 of file playbackbox.cpp.

◆ PlaylistDelete

void PlaybackBox::PlaylistDelete ( bool  forgetHistory = false)
protectedslot

Definition at line 3516 of file playbackbox.cpp.

Referenced by PlaylistDeleteForgetHistory(), and PlaylistDeleteKeepHistory().

◆ PlaylistDeleteForgetHistory

void PlaybackBox::PlaylistDeleteForgetHistory ( void  )
inlineprotectedslot

Definition at line 260 of file playbackbox.h.

Referenced by createPlaylistMenu().

◆ PlaylistDeleteKeepHistory

void PlaybackBox::PlaylistDeleteKeepHistory ( void  )
inlineprotectedslot

Definition at line 261 of file playbackbox.h.

Referenced by createPlaylistMenu().

◆ playSelectedPlaylist

void PlaybackBox::playSelectedPlaylist ( bool  Random)
protectedslot

Definition at line 2165 of file playbackbox.cpp.

Referenced by doPlayList(), and doPlayListRandom().

◆ PlayX()

void PlaybackBox::PlayX ( const ProgramInfo pginfo,
bool  ignoreBookmark,
bool  ignoreProgStart,
bool  ignoreLastPlayPos,
bool  underNetworkControl 
)
private

◆ popupClosed

void PlaybackBox::popupClosed ( const QString &  which,
int  result 
)
protectedslot

Definition at line 2380 of file playbackbox.cpp.

Referenced by DisplayPopupMenu().

◆ processNetworkControlCommand()

void PlaybackBox::processNetworkControlCommand ( const QString &  command)
private

Definition at line 3790 of file playbackbox.cpp.

Referenced by processNetworkControlCommands().

◆ processNetworkControlCommands()

void PlaybackBox::processNetworkControlCommands ( void  )
private

Definition at line 3766 of file playbackbox.cpp.

Referenced by keyPressEvent().

◆ randomizePlayList()

void PlaybackBox::randomizePlayList ( void  )
private

◆ RemoveProgram()

void PlaybackBox::RemoveProgram ( uint  recordingID,
bool  forgetHistory,
bool  forceMetadataDelete 
)
private

Definition at line 2524 of file playbackbox.cpp.

Referenced by Delete().

◆ RunPlaybackBox()

void * PlaybackBox::RunPlaybackBox ( void *  player,
bool  showTV 
)
static

Definition at line 372 of file playbackbox.cpp.

Referenced by SetFuncPtrs().

◆ saveRecMetadata

void PlaybackBox::saveRecMetadata ( const QString &  newTitle,
const QString &  newSubtitle,
const QString &  newDescription,
const QString &  newInetref,
uint  season,
uint  episode 
)
protectedslot

Definition at line 4861 of file playbackbox.cpp.

Referenced by showMetadataEditor().

◆ saveViewChanges

void PlaybackBox::saveViewChanges ( void  )
protectedslot

Definition at line 4477 of file playbackbox.cpp.

Referenced by showViewChanger().

◆ ScheduleUpdateUIList()

void PlaybackBox::ScheduleUpdateUIList ( void  )
private

◆ selected

void PlaybackBox::selected ( MythUIButtonListItem item)
protectedslot

Definition at line 2372 of file playbackbox.cpp.

◆ SelectNextRecGroup()

void PlaybackBox::SelectNextRecGroup ( void  )
private

Definition at line 1484 of file playbackbox.cpp.

Referenced by keyPressEvent(), and UpdateUILists().

◆ selectUIGroupsAlphabet

void PlaybackBox::selectUIGroupsAlphabet ( MythUIButtonListItem item)
protectedslot

Definition at line 1569 of file playbackbox.cpp.

Referenced by Create().

◆ setGroupFilter

void PlaybackBox::setGroupFilter ( const QString &  newRecGroup)
protectedslot

Definition at line 4623 of file playbackbox.cpp.

Referenced by checkPassword(), and displayRecGroup().

◆ setInitialRecGroup()

void PlaybackBox::setInitialRecGroup ( const QString &  initialGroup)
inline

Definition at line 134 of file playbackbox.h.

◆ SetItemIcons()

void PlaybackBox::SetItemIcons ( MythUIButtonListItem item,
ProgramInfo pginfo 
)
private

Definition at line 788 of file playbackbox.cpp.

Referenced by ItemLoaded(), and UpdateUIListItem().

◆ setPlayGroup

void PlaybackBox::setPlayGroup ( QString  newPlayGroup)
protectedslot

Definition at line 5001 of file playbackbox.cpp.

Referenced by ShowPlayGroupChanger().

◆ setRecGroup

void PlaybackBox::setRecGroup ( QString  newRecGroup)
protectedslot

Definition at line 4928 of file playbackbox.cpp.

Referenced by setRecGroup(), and ShowRecGroupChanger().

◆ SetRecGroupPassword

void PlaybackBox::SetRecGroupPassword ( const QString &  newPassword)
protectedslot

Definition at line 5058 of file playbackbox.cpp.

Referenced by showRecGroupPasswordChanger().

◆ ShowActionPopup()

void PlaybackBox::ShowActionPopup ( const ProgramInfo pginfo)
private

Definition at line 3186 of file playbackbox.cpp.

Referenced by popupClosed(), and ShowMenu().

◆ ShowAllRecordings

void PlaybackBox::ShowAllRecordings ( void  )
protectedslot

Definition at line 3593 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowActionPopup().

◆ ShowAvailabilityPopup()

void PlaybackBox::ShowAvailabilityPopup ( const ProgramInfo pginfo)
staticprivate

Definition at line 2668 of file playbackbox.cpp.

Referenced by customEvent(), popupClosed(), and ShowMenu().

◆ ShowDeletePopup()

void PlaybackBox::ShowDeletePopup ( DeletePopupType  type)
private

Definition at line 2571 of file playbackbox.cpp.

Referenced by askDelete(), askStop(), customEvent(), and deleteSelected().

◆ showGroupFilter

void PlaybackBox::showGroupFilter ( void  )
protectedslot

Definition at line 4486 of file playbackbox.cpp.

Referenced by Init(), keyPressEvent(), passwordClosed(), and ShowGroupPopup().

◆ ShowGroupPopup

void PlaybackBox::ShowGroupPopup ( void  )
protectedslot

Definition at line 2424 of file playbackbox.cpp.

Referenced by popupClosed(), and ShowMenu().

◆ showIconHelp

void PlaybackBox::showIconHelp ( void  )
protectedslot

Definition at line 4452 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

◆ ShowMenu()

void PlaybackBox::ShowMenu ( void  )
overrideprivatevirtual

Reimplemented from MythScreenType.

Definition at line 2942 of file playbackbox.cpp.

Referenced by keyPressEvent().

◆ showMetadataEditor

void PlaybackBox::showMetadataEditor ( )
protectedslot

Definition at line 4841 of file playbackbox.cpp.

Referenced by createRecordingMenu().

◆ ShowPlayGroupChanger

void PlaybackBox::ShowPlayGroupChanger ( bool  use_playlist = false)
protectedslot

Used to change the play group of a program or playlist.

Definition at line 4761 of file playbackbox.cpp.

Referenced by ShowPlayGroupChangerNoPlaylist(), and ShowPlayGroupChangerUsePlaylist().

◆ ShowPlayGroupChangerNoPlaylist

void PlaybackBox::ShowPlayGroupChangerNoPlaylist ( void  )
inlineprotectedslot

Definition at line 183 of file playbackbox.h.

Referenced by createStorageMenu().

◆ ShowPlayGroupChangerUsePlaylist

void PlaybackBox::ShowPlayGroupChangerUsePlaylist ( void  )
inlineprotectedslot

Definition at line 182 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ ShowRecGroupChanger

void PlaybackBox::ShowRecGroupChanger ( bool  use_playlist = false)
protectedslot

Used to change the recording group of a program or playlist.

Definition at line 4696 of file playbackbox.cpp.

Referenced by ShowRecGroupChangerNoPlaylist(), and ShowRecGroupChangerUsePlaylist().

◆ ShowRecGroupChangerNoPlaylist

void PlaybackBox::ShowRecGroupChangerNoPlaylist ( void  )
inlineprotectedslot

Definition at line 181 of file playbackbox.h.

Referenced by createStorageMenu().

◆ ShowRecGroupChangerUsePlaylist

void PlaybackBox::ShowRecGroupChangerUsePlaylist ( void  )
inlineprotectedslot

Definition at line 180 of file playbackbox.h.

Referenced by createPlaylistStorageMenu().

◆ showRecGroupPasswordChanger

void PlaybackBox::showRecGroupPasswordChanger ( void  )
protectedslot

Definition at line 5035 of file playbackbox.cpp.

Referenced by ShowGroupPopup().

◆ ShowRecordedEpisodes

void PlaybackBox::ShowRecordedEpisodes ( )
protectedslot

Definition at line 3577 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowActionPopup().

◆ showViewChanger

void PlaybackBox::showViewChanger ( void  )
protectedslot

Definition at line 4462 of file playbackbox.cpp.

Referenced by keyPressEvent(), and ShowGroupPopup().

◆ stopPlaylistFlagging

void PlaybackBox::stopPlaylistFlagging ( )
inlineprotectedslot

Definition at line 248 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistJobQueueJob

void PlaybackBox::stopPlaylistJobQueueJob ( int  jobType)
protectedslot

◆ stopPlaylistLookup

void PlaybackBox::stopPlaylistLookup ( )
inlineprotectedslot

Definition at line 250 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistTranscoding

void PlaybackBox::stopPlaylistTranscoding ( )
inlineprotectedslot

Definition at line 246 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistUserJob1

void PlaybackBox::stopPlaylistUserJob1 ( )
inlineprotectedslot

Definition at line 252 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistUserJob2

void PlaybackBox::stopPlaylistUserJob2 ( )
inlineprotectedslot

Definition at line 254 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistUserJob3

void PlaybackBox::stopPlaylistUserJob3 ( )
inlineprotectedslot

Definition at line 256 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ stopPlaylistUserJob4

void PlaybackBox::stopPlaylistUserJob4 ( )
inlineprotectedslot

Definition at line 258 of file playbackbox.h.

Referenced by createPlaylistJobMenu().

◆ StopSelected

void PlaybackBox::StopSelected ( void  )
protectedslot

Definition at line 2299 of file playbackbox.cpp.

Referenced by ShowDeletePopup().

◆ SwitchList

void PlaybackBox::SwitchList ( void  )
protectedslot

Definition at line 602 of file playbackbox.cpp.

Referenced by Create().

◆ toggleAutoExpire

void PlaybackBox::toggleAutoExpire ( )
protectedslot

Definition at line 3666 of file playbackbox.cpp.

Referenced by createStorageMenu().

◆ toggleCategoryView

void PlaybackBox::toggleCategoryView ( bool  setOn)
inlineprotectedslot

Definition at line 216 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ toggleLiveTVView

void PlaybackBox::toggleLiveTVView ( bool  setOn)
inlineprotectedslot

Definition at line 220 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ togglePlayListItem() [1/2]

void PlaybackBox::togglePlayListItem ( ProgramInfo pginfo)
private

Definition at line 3741 of file playbackbox.cpp.

◆ togglePlayListItem [2/2]

void PlaybackBox::togglePlayListItem ( void  )
protectedslot

◆ togglePlayListTitle

void PlaybackBox::togglePlayListTitle ( void  )
protectedslot

Definition at line 3712 of file playbackbox.cpp.

Referenced by createPlaylistMenu(), keyPressEvent(), and ShowGroupPopup().

◆ togglePreserveEpisode

void PlaybackBox::togglePreserveEpisode ( )
protectedslot

Definition at line 3684 of file playbackbox.cpp.

Referenced by createStorageMenu().

◆ toggleRecGroupView

void PlaybackBox::toggleRecGroupView ( bool  setOn)
inlineprotectedslot

Definition at line 217 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ toggleSearchView

void PlaybackBox::toggleSearchView ( bool  setOn)
inlineprotectedslot

Definition at line 219 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ toggleTitleView

void PlaybackBox::toggleTitleView ( bool  setOn)
inlineprotectedslot

Definition at line 215 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ toggleView

void PlaybackBox::toggleView ( PlaybackBox::ViewMask  itemMask,
bool  setOn 
)
protectedslot

◆ toggleWatched

void PlaybackBox::toggleWatched ( void  )
protectedslot

Definition at line 3643 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ toggleWatchedView

void PlaybackBox::toggleWatchedView ( bool  setOn)
inlineprotectedslot

Definition at line 221 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ toggleWatchListView

void PlaybackBox::toggleWatchListView ( bool  setOn)
inlineprotectedslot

Definition at line 218 of file playbackbox.h.

Referenced by ChangeView::Create().

◆ Undelete

void PlaybackBox::Undelete ( void  )
protectedslot

Definition at line 3548 of file playbackbox.cpp.

Referenced by ShowActionPopup().

◆ updateGroupInfo()

void PlaybackBox::updateGroupInfo ( const QString &  groupname,
const QString &  grouplabel 
)
private

Definition at line 660 of file playbackbox.cpp.

Referenced by updateRecList().

◆ updateIcons()

void PlaybackBox::updateIcons ( const ProgramInfo pginfo = nullptr)
private

◆ UpdateProgressBar()

void PlaybackBox::UpdateProgressBar ( void  )
private

◆ updateRecGroup

void PlaybackBox::updateRecGroup ( MythUIButtonListItem sel_item)
protectedslot

Definition at line 1478 of file playbackbox.cpp.

Referenced by Create().

◆ updateRecList

void PlaybackBox::updateRecList ( MythUIButtonListItem sel_item)
protectedslot

Definition at line 1500 of file playbackbox.cpp.

Referenced by Create(), and UpdateUIGroupList().

◆ UpdateUIGroupList()

void PlaybackBox::UpdateUIGroupList ( const QStringList &  groupPreferences)
private

Definition at line 1412 of file playbackbox.cpp.

Referenced by UpdateUILists().

◆ UpdateUIListItem() [1/2]

void PlaybackBox::UpdateUIListItem ( MythUIButtonListItem item,
bool  is_sel,
bool  force_preview_reload = true 
)
private

Definition at line 807 of file playbackbox.cpp.

◆ UpdateUIListItem() [2/2]

void PlaybackBox::UpdateUIListItem ( ProgramInfo pginfo,
bool  force_preview_reload 
)
private

◆ UpdateUILists()

bool PlaybackBox::UpdateUILists ( void  )
private

◆ UpdateUIRecGroupList()

void PlaybackBox::UpdateUIRecGroupList ( void  )
private

Definition at line 1383 of file playbackbox.cpp.

Referenced by UpdateUILists().

◆ UpdateUsageUI()

void PlaybackBox::UpdateUsageUI ( void  )
private

Definition at line 1326 of file playbackbox.cpp.

Referenced by customEvent(), and UpdateUILists().

Friends And Related Function Documentation

◆ ChangeView

friend class ChangeView
friend

Definition at line 65 of file playbackbox.h.

Referenced by showViewChanger().

◆ PlaybackBoxListItem

friend class PlaybackBoxListItem
friend

Definition at line 64 of file playbackbox.h.

Referenced by updateRecList().

Member Data Documentation

◆ kMySlots

std::array< PlaybackBoxCb, kMaxJobs *2 > PlaybackBox::kMySlots
static

◆ kNumArtImages

constexpr int PlaybackBox::kNumArtImages = 3
staticconstexprprivate

Definition at line 371 of file playbackbox.h.

Referenced by Play(), PlaybackBox(), UpdateUIListItem(), and ~PlaybackBox().

◆ m_allOrder

int PlaybackBox::m_allOrder
private

allOrder controls the ordering of the "All Programs" list

Definition at line 393 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

◆ m_alwaysShowWatchedProgress

bool PlaybackBox::m_alwaysShowWatchedProgress {false}
private

Definition at line 473 of file playbackbox.h.

Referenced by ItemVisible(), and PlaybackBox().

◆ m_artHostOverride

QString PlaybackBox::m_artHostOverride
private

Definition at line 370 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUIListItem().

◆ m_artImage

std::array<MythUIImage*,kNumArtImages> PlaybackBox::m_artImage {}
private

◆ m_artTimer

std::array<QTimer*,kNumArtImages> PlaybackBox::m_artTimer {}
private

◆ m_curGroupPassword

QString PlaybackBox::m_curGroupPassword
private

Definition at line 404 of file playbackbox.h.

Referenced by checkPassword(), displayRecGroup(), and UpdateUILists().

◆ m_currentGroup

QString PlaybackBox::m_currentGroup
private

Group currently selected.

Definition at line 438 of file playbackbox.h.

Referenced by customEvent(), updateRecList(), and UpdateUIGroupList().

◆ m_currentLetter

QString PlaybackBox::m_currentLetter
private

Definition at line 398 of file playbackbox.h.

Referenced by selectUIGroupsAlphabet(), and updateRecList().

◆ m_currentMap

InfoMap PlaybackBox::m_currentMap
private

Definition at line 375 of file playbackbox.h.

Referenced by updateGroupInfo(), and UpdateUIListItem().

◆ m_delList

QStringList PlaybackBox::m_delList
private

Recording[s] currently selected for deletion.

Definition at line 436 of file playbackbox.h.

Referenced by askDelete(), askStop(), customEvent(), Delete(), deleteSelected(), ShowActionPopup(), ShowDeletePopup(), and Undelete().

◆ m_doToggleMenu

bool PlaybackBox::m_doToggleMenu {true}
private

Definition at line 416 of file playbackbox.h.

Referenced by popupClosed().

◆ m_firstGroup

bool PlaybackBox::m_firstGroup {true}
private

Definition at line 468 of file playbackbox.h.

Referenced by groupSelectorClosed(), passwordClosed(), and setGroupFilter().

◆ m_groupAlphabet

QMap<QString, QString> PlaybackBox::m_groupAlphabet
private

Definition at line 399 of file playbackbox.h.

Referenced by selectUIGroupsAlphabet(), UpdateUIGroupList(), and UpdateUILists().

◆ m_groupAlphaList

MythUIButtonList* PlaybackBox::m_groupAlphaList {nullptr}
private

Definition at line 359 of file playbackbox.h.

Referenced by Create(), SwitchList(), updateRecList(), and UpdateUIGroupList().

◆ m_groupDisplayName

QString PlaybackBox::m_groupDisplayName
private

◆ m_groupList

MythUIButtonList* PlaybackBox::m_groupList {nullptr}
private

◆ m_groupSelected

bool PlaybackBox::m_groupSelected {false}
private

Definition at line 470 of file playbackbox.h.

Referenced by displayRecGroup(), groupSelectorClosed(), and showGroupFilter().

◆ m_haveGroupInfoSet

bool PlaybackBox::m_haveGroupInfoSet {false}
private

Definition at line 454 of file playbackbox.h.

◆ m_helper

PlaybackBoxHelper PlaybackBox::m_helper
private

◆ m_isFilling

bool PlaybackBox::m_isFilling {false}
private

Definition at line 428 of file playbackbox.h.

Referenced by updateRecList(), and UpdateUILists().

◆ m_jobQueue

class PlaybackBox::PbbJobQueue PlaybackBox::m_jobQueue
private

◆ m_listOrder

int PlaybackBox::m_listOrder {1}
private

listOrder controls the ordering of the recordings in the list

Definition at line 395 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

◆ m_menuDialog

MythDialogBox* PlaybackBox::m_menuDialog {nullptr}
private

Definition at line 412 of file playbackbox.h.

Referenced by customEvent(), DisplayPopupMenu(), popupClosed(), and ShowMenu().

◆ m_ncLock

QMutex PlaybackBox::m_ncLock
mutableprivate

Definition at line 457 of file playbackbox.h.

Referenced by customEvent(), keyPressEvent(), and processNetworkControlCommands().

◆ m_needUpdate

bool PlaybackBox::m_needUpdate {false}
private

Does the recording list need to be refilled.

Definition at line 451 of file playbackbox.h.

Referenced by customEvent(), Play(), updateRecList(), and UpdateUIGroupList().

◆ m_networkControlCommands

std::deque<QString> PlaybackBox::m_networkControlCommands
private

Definition at line 458 of file playbackbox.h.

Referenced by customEvent(), keyPressEvent(), and processNetworkControlCommands().

◆ m_newRecGroup

QString PlaybackBox::m_newRecGroup
private

Definition at line 405 of file playbackbox.h.

Referenced by checkPassword(), and displayRecGroup().

◆ m_noRecordingsText

MythUIText* PlaybackBox::m_noRecordingsText {nullptr}
private

Definition at line 363 of file playbackbox.h.

Referenced by Create(), and updateRecList().

◆ m_opOnPlaylist

bool PlaybackBox::m_opOnPlaylist {false}
private

◆ m_passwordEntered

bool PlaybackBox::m_passwordEntered {false}
private

Definition at line 471 of file playbackbox.h.

Referenced by checkPassword(), displayRecGroup(), and passwordClosed().

◆ m_player

TV* PlaybackBox::m_player {nullptr}
private

◆ m_playerSelectedNewShow

QStringList PlaybackBox::m_playerSelectedNewShow
private

Definition at line 462 of file playbackbox.h.

Referenced by PlayX(), and ~PlaybackBox().

◆ m_playingSomething

bool PlaybackBox::m_playingSomething {false}
private

playingSomething is set to true iff a full screen recording is playing

Definition at line 448 of file playbackbox.h.

Referenced by customEvent(), Play(), processNetworkControlCommand(), and updateRecList().

◆ m_playList

QList<uint> PlaybackBox::m_playList
private

◆ m_playListPlay

QList<uint> PlaybackBox::m_playListPlay
private

list of items being played.

Definition at line 443 of file playbackbox.h.

Referenced by customEvent(), Play(), and playSelectedPlaylist().

◆ m_popupMenu

MythMenu* PlaybackBox::m_popupMenu {nullptr}
private

Definition at line 413 of file playbackbox.h.

Referenced by DisplayPopupMenu(), ShowActionPopup(), ShowDeletePopup(), and ShowGroupPopup().

◆ m_popupStack

MythScreenStack* PlaybackBox::m_popupStack {nullptr}
private

◆ m_previewImage

MythUIImage* PlaybackBox::m_previewImage {nullptr}
private

Definition at line 365 of file playbackbox.h.

Referenced by Create(), HandlePreviewEvent(), updateGroupInfo(), and UpdateUIListItem().

◆ m_previewTokens

QSet<QString> PlaybackBox::m_previewTokens
private

Outstanding preview image requests.

Definition at line 466 of file playbackbox.h.

Referenced by customEvent(), HandlePreviewEvent(), ItemVisible(), and UpdateUIListItem().

◆ m_progLists

ProgramMap PlaybackBox::m_progLists
private

◆ m_programInfoCache

ProgramInfoCache PlaybackBox::m_programInfoCache
private

◆ m_progsInDB

int PlaybackBox::m_progsInDB {0}
private

total number of recordings in DB

Definition at line 427 of file playbackbox.h.

Referenced by Init(), and UpdateUILists().

◆ m_recGroup

QString PlaybackBox::m_recGroup
private

◆ m_recGroupIdx

int PlaybackBox::m_recGroupIdx {-1}
private

◆ m_recgroupList

MythUIButtonList* PlaybackBox::m_recgroupList {nullptr}
private

Definition at line 358 of file playbackbox.h.

Referenced by Create(), UpdateUILists(), and UpdateUIRecGroupList().

◆ m_recGroupPwCache

QMap<QString,QString> PlaybackBox::m_recGroupPwCache
private

◆ m_recGroups

QStringList PlaybackBox::m_recGroups
private

◆ m_recGroupsLock

QMutex PlaybackBox::m_recGroupsLock
mutableprivate

Definition at line 431 of file playbackbox.h.

Referenced by keyPressEvent(), SelectNextRecGroup(), and UpdateUILists().

◆ m_recGroupType

QMap<QString,QString> PlaybackBox::m_recGroupType
private

◆ m_recordedProgress

MythUIProgressBar* PlaybackBox::m_recordedProgress {nullptr}
private

Definition at line 367 of file playbackbox.h.

Referenced by Create(), and UpdateUIListItem().

◆ m_recordingList

MythUIButtonList* PlaybackBox::m_recordingList {nullptr}
private

◆ m_titleList

QStringList PlaybackBox::m_titleList
private

list of pages

Definition at line 425 of file playbackbox.h.

Referenced by Init(), keyPressEvent(), UpdateUIGroupList(), and UpdateUILists().

◆ m_titleView

bool PlaybackBox::m_titleView {false}
private

titleView controls showing titles in group list

Definition at line 379 of file playbackbox.h.

◆ m_useCategories

bool PlaybackBox::m_useCategories {false}
private

useCategories controls showing categories in group list

Definition at line 381 of file playbackbox.h.

◆ m_useRecGroups

bool PlaybackBox::m_useRecGroups {false}
private

useRecGroups controls showing of recording groups in group list

Definition at line 383 of file playbackbox.h.

◆ m_usingGroupSelector

bool PlaybackBox::m_usingGroupSelector {false}
private

◆ m_viewMask

ViewMask PlaybackBox::m_viewMask {VIEW_TITLES}
private

◆ m_watchedProgress

MythUIProgressBar* PlaybackBox::m_watchedProgress {nullptr}
private

Definition at line 368 of file playbackbox.h.

Referenced by Create(), and UpdateUIListItem().

◆ m_watchGroupLabel

QString PlaybackBox::m_watchGroupLabel
private

Definition at line 407 of file playbackbox.h.

Referenced by keyPressEvent(), ShowActionPopup(), and UpdateUILists().

◆ m_watchGroupName

QString PlaybackBox::m_watchGroupName
private

Definition at line 406 of file playbackbox.h.

Referenced by UpdateUILists().

◆ m_watchListAutoExpire

bool PlaybackBox::m_watchListAutoExpire {false}
private

exclude recording not marked for auto-expire from the Watch List

Definition at line 387 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().

◆ m_watchListBlackOut

std::chrono::hours PlaybackBox::m_watchListBlackOut {std::chrono::days(2)}
private

adjust exclusion of a title from the Watch List after a delete

Definition at line 391 of file playbackbox.h.

Referenced by PlaybackBox().

◆ m_watchListMaxAge

int PlaybackBox::m_watchListMaxAge {60}
private

add 1 to the Watch List scord up to this many days

Definition at line 389 of file playbackbox.h.

Referenced by PlaybackBox().

◆ m_watchListStart

bool PlaybackBox::m_watchListStart {false}
private

use the Watch List as the initial view

Definition at line 385 of file playbackbox.h.

Referenced by PlaybackBox(), and UpdateUILists().


The documentation for this class was generated from the following files: