Go to the documentation of this file.
103 bool automode =
false);
122 void popupClosed(
const QString& which,
int result);
164 const QString& gpnode = QString(),
int levels = 0);
static QString GetBanner(MythGenericTree *node)
Find the Banner for a given node.
class VideoDialogPrivate * m_d
MythMenu * CreateMetadataBrowseMenu()
Create a MythMenu for MythVideo Metadata Browse modes.
void OnVideoImageSetDone(VideoMetadata *metadata)
void playVideoAlt()
Play the selected item in an alternate player.
Image widget, displays a single image or multiple images in sequence.
MythMenu * CreateSettingsMenu()
Create a MythMenu for MythVideo Settings.
void StartVideoImageSet(VideoMetadata *metadata)
void playbackStateChanged(const QString &filename)
void playTrailer()
Play the trailer associated with the selected item.
void ShowMetadataSettings()
Pop up a MythUI Menu for MythVideo Metadata Settings.
MythDialogBox * m_menuPopup
void SwitchManager()
Switch to Video Manager View.
void refreshData()
Reloads the tree without invalidating the data.
void SwitchVideoGenreGroup()
Switch to Genre browse mode.
~VideoListDeathDelay() override
void dismissFetchDialog(VideoMetadata *metadata, bool ok)
void SwitchVideoInsertDateGroup()
Switch to Insert Date browse mode.
void handleSelect(MythUIButtonListItem *item)
Handle SELECT action for a given MythUIButtonListItem.
MythMenu * CreateManageMenu()
Create a MythMenu for metadata management.
MythUIStateType * m_userRatingState
Screen in which all other widgets are contained and rendered.
void Load() override
Called after the screen is created by MythScreenStack.
MythUIStateType * m_videoLevelState
static VideoListDeathDelayPtr & GetSavedVideoList()
VideoListDeathDelay(const VideoDialog::VideoListPtr &toSave)
MythMenu * CreateViewMenu()
Create a MythMenu for MythVideo Views.
void SwitchVideoUserRatingGroup()
Switch to User Rating browse mode.
MythUIStateType * m_studioState
void shiftParental(int amount)
Shift the parental level for the library by an integer amount.
MythUIText * m_positionText
MythUIBusyDialog * m_busyPopup
MythUIButtonTree * m_videoButtonTree
MythUIStateType * m_trailerState
QString GetFirstImage(MythGenericTree *node, const QString &type, const QString &gpnode=QString(), int levels=0)
Find the first image of "type" within a folder structure.
virtual MythUIButtonListItem * GetItemByMetadata(VideoMetadata *metadata)
void searchComplete(const QString &string)
After using incremental search, move to the selected item.
VideoDialog::VideoListPtr GetSaved()
void SwitchVideoTVMovieGroup()
Switch to Television/Movie browse mode.
static QString GetScreenshot(MythGenericTree *node)
Find the Screenshot for a given node.
void playVideoWithTrailers()
Play the selected item w/ a User selectable # of trailers.
static QString GetFanart(MythGenericTree *node)
Find the Fanart for a given node.
void scanFinished(bool dbChanged)
void SwitchBrowse()
Switch to Browser View.
void OnVideoSearchListSelection(RefCountHandler< MetadataLookup > lookup)
MetadataFactory * m_metadataFactory
bool goBack()
Move one level up in the tree.
MythScreenStack * m_popupStack
static QString RemoteImageCheck(const QString &host, const QString &filename)
Search for a given (image) filename in the Video SG.
QPointer< class VideoListDeathDelay > VideoListDeathDelayPtr
Basic menu dialog, message and a list of options.
void SwitchVideoYearGroup()
Switch to Year browse mode.
void SwitchTree()
Switch to Tree (List) View.
MythUIStateType * m_bookmarkState
void ShowCastDialog()
Display the Cast if the selected item.
class VideoListDeathDelayPrivate * m_d
virtual MythUIButtonListItem * GetItemCurrent()
static void UpdateWatchedState(MythUIButtonListItem *item)
Update the watched state for a given ButtonListItem from the database.
MythScreenStack * m_mainStack
void searchStart()
Create an incremental search dialog for the current tree level.
void SwitchVideoDirectorGroup()
Switch to Director browse mode.
void SetCurrentNode(MythGenericTree *node)
Switch to a given MythGenericTree node.
void SwitchVideoFolderGroup()
Switch to Folder (filesystem) browse mode.
void SwitchLayout(DialogType type, BrowseType browse)
Handle a layout or browse mode switch.
void SwitchVideoCastGroup()
Switch to Cast browse mode.
void setParentalLevel(ParentalLevel::Level level)
Set the parental level for the library.
void handleDynamicDirSelect(MythGenericTree *node)
Request the latest metadata for a folder.
MythMenu * CreateInfoMenu()
Create a MythMenu for Info pertaining to the selected item.
MythUIStateType * m_parentalLevelState
void createOkDialog(const QString &title)
Create a MythUI "OK" Dialog.
void ShowExtensionSettings()
Pop up a MythUI Menu for MythVideo filte Type Settings.
MythMenu * CreatePlayMenu()
Create a "Play Menu" for MythVideo. Appears if multiple play options exist.
MythUIStateType * m_watchedState
virtual void loadData()
load the data used to build the ButtonTree/List for MythVideo.
void SwitchVideoCategoryGroup()
Switch to Category browse mode.
void customEvent(QEvent *levent) override
void popupClosed(const QString &which, int result)
void UpdatePosition()
Called after the screen is created by MythScreenStack.
void createBusyDialog(const QString &title)
Create a busy dialog, used during metadata search, etc.
VideoDialog(MythScreenStack *lparent, const QString &lname, const VideoListPtr &video_list, DialogType type, BrowseType browse)
void handleDirSelect(MythGenericTree *node)
Descend into a selected folder.
All purpose text widget, displays a text string.
void reloadData()
Reloads the tree after having invalidated the data.
void ShowPlayerSettings()
Pop up a MythUI Menu for MythVideo Player Settings.
void ChangeFilter()
Change the filtering of the library.
void OnVideoSearchDone(MetadataLookup *lookup)
void UpdateText(MythUIButtonListItem *item)
Update the visible text values for a given ButtonListItem.
static VideoMetadata * GetMetadata(MythUIButtonListItem *item)
Retrieve the Database Metadata for a given MythUIButtonListItem.
void OnParentalChange(int amount)
void createFetchDialog(VideoMetadata *metadata)
Create a fetch notification, used during metadata search.
MythUIImage * m_coverImage
void fetchVideos()
Build the buttonlist/tree.
void SwitchGallery()
Switch to Gallery View.
static constexpr std::chrono::milliseconds kDelayTimeMS
void playVideo()
Play the selected item.
void UpdateVisible(MythUIButtonListItem *item)
Update playback state for for a given visible ButtonListItem.
void playFolder()
Play all the items in the selected folder.
MythUIImage * m_screenshot
void SwitchVideoStudioGroup()
Switch to Studio browse mode.
void OnRemoveVideo(bool dodelete)
void ToggleFlatView()
Toggle Flat View.
void UpdateItem(MythUIButtonListItem *item)
Update the visible representation of a MythUIButtonListItem.
MythUIText * m_novideoText
void DisplayMenu()
Pop up a MythUI Menu for MythVideo Global Functions. Bound to MENU.
void VideoMenu()
Pop up a MythUI "Playback Menu" for MythVideo. Bound to INFO.
void ToggleBrowseMode()
Toggle the browseable status for the selected item.
MythUIButtonList * m_videoButtonList
void ViewPlot()
Display a MythUI Popup with the selected item's plot.
static QString GetCoverImage(MythGenericTree *node)
A "hunt" for cover art to apply for a folder item.
This widget is used for grouping other widgets for display when a particular named state is called....
bool keyPressEvent(QKeyEvent *levent) override
Handle keypresses and keybindings.
bool DoItemDetailShow()
Display the Item Detail Popup.