#include <videodlg.h>
Public Types | |
| enum | DialogType { DLG_DEFAULT = 0, DLG_BROWSER = 0x1, DLG_GALLERY = 0x2, DLG_TREE = 0x4, DLG_MANAGER = 0x8, dtLast } |
| enum | BrowseType { BRS_FOLDER = 0, BRS_GENRE = 0x1, BRS_CATEGORY = 0x2, BRS_YEAR = 0x4, BRS_DIRECTOR = 0x8, BRS_CAST = 0x10, BRS_USERRATING = 0x20, BRS_INSERTDATE = 0x40, BRS_TVMOVIE = 0x80, BRS_STUDIO = 0x100, btLast } |
| typedef simple_ref_ptr< class VideoList > | VideoListPtr |
| typedef QPointer< class VideoListDeathDelay > | VideoListDeathDelayPtr |
Public Slots | |
| void | searchComplete (QString string) |
| After using incremental search, move to the selected item. | |
Public Member Functions | |
| VideoDialog (MythScreenStack *lparent, QString lname, VideoListPtr video_list, DialogType type, BrowseType browse) | |
| ~VideoDialog () | |
| bool | Create () |
| bool | keyPressEvent (QKeyEvent *levent) |
| Handle keypresses and keybindings. | |
Static Public Member Functions | |
| static VideoListDeathDelayPtr & | GetSavedVideoList () |
Protected Slots | |
| void | Init () |
| Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load(). | |
| void | Load () |
| Called after the screen is created by MythScreenStack. | |
| void | scanFinished (bool) |
| void | reloadData () |
| Reloads the tree after having invalidated the data. | |
| void | refreshData () |
| Reloads the tree without invalidating the data. | |
| void | UpdateItem (MythUIButtonListItem *item) |
| Update the visible representation of a MythUIButtonListItem. | |
Protected Member Functions | |
| void | customEvent (QEvent *levent) |
| virtual MythUIButtonListItem * | GetItemCurrent () |
| virtual MythUIButtonListItem * | GetItemByMetadata (VideoMetadata *metadata) |
| virtual void | loadData () |
| load the data used to build the ButtonTree/List for MythVideo. | |
| void | fetchVideos () |
| Build the buttonlist/tree. | |
| QString | RemoteImageCheck (QString host, QString filename) |
| Search for a given (image) filename in the Video SG. | |
| QString | GetCoverImage (MythGenericTree *node) |
| A "hunt" for cover art to apply for a folder item. | |
| QString | GetFirstImage (MythGenericTree *node, QString type, QString gpnode=QString(), int levels=0) |
| Find the first image of "type" within a folder structure. | |
| QString | GetImageFromFolder (VideoMetadata *metadata) |
| Attempt to find/fallback a cover image for a given metadata item. | |
| QString | GetScreenshot (MythGenericTree *node) |
| Find the Screenshot for a given node. | |
| QString | GetBanner (MythGenericTree *node) |
| Find the Banner for a given node. | |
| QString | GetFanart (MythGenericTree *node) |
| Find the Fanart for a given node. | |
| VideoMetadata * | GetMetadata (MythUIButtonListItem *item) |
| Retrieve the Database Metadata for a given MythUIButtonListItem. | |
| void | handleDirSelect (MythGenericTree *node) |
| Descend into a selected folder. | |
| void | handleDynamicDirSelect (MythGenericTree *node) |
| Request the latest metadata for a folder. | |
| bool | goBack () |
| Move one level up in the tree. | |
| void | setParentalLevel (const ParentalLevel::Level &level) |
| Set the parental level for the library. | |
| void | shiftParental (int amount) |
| Shift the parental level for the library by an integer amount. | |
| bool | createPopup () |
| void | createBusyDialog (QString title) |
| Create a busy dialog, used during metadata search, etc. | |
| void | createOkDialog (QString title) |
| Create a MythUI "OK" Dialog. | |
| void | SwitchLayout (DialogType type, BrowseType browse) |
| Handle a layout or browse mode switch. | |
| void | StartVideoImageSet (VideoMetadata *metadata) |
| void | SavePosition (void) |
Private Slots | |
| void | UpdatePosition () |
| Called after the screen is created by MythScreenStack. | |
| void | UpdateText (MythUIButtonListItem *) |
| Update the visible text values for a given ButtonListItem. | |
| void | handleSelect (MythUIButtonListItem *) |
| Handle SELECT action for a given MythUIButtonListItem. | |
| void | SetCurrentNode (MythGenericTree *) |
| Switch to a given MythGenericTree node. | |
| void | playVideo () |
| Play the selected item. | |
| void | playVideoAlt () |
| Play the selected item in an alternate player. | |
| void | playFolder () |
| Play all the items in the selected folder. | |
| void | playVideoWithTrailers () |
| Play the selected item w/ a User selectable # of trailers. | |
| void | playTrailer () |
| Play the trailer associated with the selected item. | |
| void | SwitchTree () |
| Switch to Tree (List) View. | |
| void | SwitchGallery () |
| Switch to Gallery View. | |
| void | SwitchBrowse () |
| Switch to Browser View. | |
| void | SwitchManager () |
| Switch to Video Manager View. | |
| void | SwitchVideoFolderGroup () |
| Switch to Folder (filesystem) browse mode. | |
| void | SwitchVideoGenreGroup () |
| Switch to Genre browse mode. | |
| void | SwitchVideoCategoryGroup () |
| Switch to Category browse mode. | |
| void | SwitchVideoYearGroup () |
| Switch to Year browse mode. | |
| void | SwitchVideoDirectorGroup () |
| void | SwitchVideoStudioGroup () |
| Switch to Studio browse mode. | |
| void | SwitchVideoCastGroup () |
| Switch to Cast browse mode. | |
| void | SwitchVideoUserRatingGroup () |
| Switch to User Rating browse mode. | |
| void | SwitchVideoInsertDateGroup () |
| Switch to Insert Date browse mode. | |
| void | SwitchVideoTVMovieGroup () |
| Switch to Television/Movie browse mode. | |
| void | EditMetadata () |
| void | VideoSearch (MythGenericTree *node=NULL, bool automode=false) |
| void | VideoAutoSearch (MythGenericTree *node=NULL) |
| void | ResetMetadata () |
| void | ToggleWatched () |
| void | ToggleProcess () |
| void | RemoveVideo () |
| void | OnRemoveVideo (bool) |
| void | VideoMenu () |
| Pop up a MythUI "Playback Menu" for MythVideo. | |
| MythMenu * | CreateInfoMenu () |
| Create a MythMenu for Info pertaining to the selected item. | |
| MythMenu * | CreateManageMenu () |
| Create a MythMenu for metadata management. | |
| MythMenu * | CreatePlayMenu () |
| Create a "Play Menu" for MythVideo. | |
| void | DisplayMenu () |
| Pop up a MythUI Menu for MythVideo Global Functions. | |
| MythMenu * | CreateViewMenu () |
| Create a MythMenu for MythVideo Views. | |
| MythMenu * | CreateSettingsMenu () |
| Create a MythMenu for MythVideo Settings. | |
| MythMenu * | CreateMetadataBrowseMenu () |
| Create a MythMenu for MythVideo Metadata Browse modes. | |
| void | PromptToScan () |
| void | ChangeFilter () |
| Change the filtering of the library. | |
| void | ToggleBrowseMode () |
| Toggle the browseable status for the selected item. | |
| void | ToggleFlatView () |
| Toggle Flat View. | |
| void | ViewPlot () |
| Display a MythUI Popup with the selected item's plot. | |
| void | ShowCastDialog () |
| Display the Cast if the selected item. | |
| void | ShowHomepage () |
| bool | DoItemDetailShow () |
| Display the Item Detail Popup. | |
| void | ShowPlayerSettings () |
| Pop up a MythUI Menu for MythVideo Player Settings. | |
| void | ShowExtensionSettings () |
| Pop up a MythUI Menu for MythVideo filte Type Settings. | |
| void | ShowMetadataSettings () |
| Pop up a MythUI Menu for MythVideo Metadata Settings. | |
| void | OnParentalChange (int amount) |
| void | OnVideoSearchListSelection (MetadataLookup *lookup) |
| void | doVideoScan () |
| void | OnVideoImageSetDone (VideoMetadata *metadata) |
| void | OnVideoSearchDone (MetadataLookup *lookup) |
Private Member Functions | |
| void | searchStart () |
| Create an incremental search dialog for the current tree level. | |
Private Attributes | |
| MythDialogBox * | m_menuPopup |
| MythUIBusyDialog * | m_busyPopup |
| MythScreenStack * | m_popupStack |
| MythScreenStack * | m_mainStack |
| MythUIButtonList * | m_videoButtonList |
| MythUIButtonTree * | m_videoButtonTree |
| MythUIText * | m_titleText |
| MythUIText * | m_novideoText |
| MythUIText * | m_positionText |
| MythUIText * | m_crumbText |
| MythUIImage * | m_coverImage |
| MythUIImage * | m_screenshot |
| MythUIImage * | m_banner |
| MythUIImage * | m_fanart |
| MythUIStateType * | m_trailerState |
| MythUIStateType * | m_parentalLevelState |
| MythUIStateType * | m_videoLevelState |
| MythUIStateType * | m_userRatingState |
| MythUIStateType * | m_watchedState |
| MythUIStateType * | m_studioState |
| MetadataFactory * | m_metadataFactory |
| class VideoDialogPrivate * | m_d |
Definition at line 31 of file videodlg.h.
| typedef simple_ref_ptr<class VideoList> VideoDialog::VideoListPtr |
Definition at line 44 of file videodlg.h.
| typedef QPointer<class VideoListDeathDelay> VideoDialog::VideoListDeathDelayPtr |
Definition at line 46 of file videodlg.h.
Definition at line 36 of file videodlg.h.
| BRS_FOLDER | |
| BRS_GENRE | |
| BRS_CATEGORY | |
| BRS_YEAR | |
| BRS_DIRECTOR | |
| BRS_CAST | |
| BRS_USERRATING | |
| BRS_INSERTDATE | |
| BRS_TVMOVIE | |
| BRS_STUDIO | |
| btLast |
Definition at line 39 of file videodlg.h.
| VideoDialog::VideoDialog | ( | MythScreenStack * | lparent, | |
| QString | lname, | |||
| VideoListPtr | video_list, | |||
| DialogType | type, | |||
| BrowseType | browse | |||
| ) |
Definition at line 837 of file videodlg.cpp.
Referenced by SwitchLayout().
| VideoDialog::~VideoDialog | ( | ) |
Definition at line 862 of file videodlg.cpp.
| VideoDialog::VideoListDeathDelayPtr & VideoDialog::GetSavedVideoList | ( | ) | [static] |
Definition at line 832 of file videodlg.cpp.
Referenced by RunVideoScreen().
| bool VideoDialog::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 896 of file videodlg.cpp.
Referenced by RunVideoScreen(), and SwitchLayout().
| bool VideoDialog::keyPressEvent | ( | QKeyEvent * | levent | ) | [virtual] |
Handle keypresses and keybindings.
Reimplemented from MythScreenType.
Definition at line 2000 of file videodlg.cpp.
| void VideoDialog::searchStart | ( | void | ) | [private] |
Create an incremental search dialog for the current tree level.
Definition at line 2170 of file videodlg.cpp.
Referenced by keyPressEvent().
| void VideoDialog::searchComplete | ( | QString | string | ) | [slot] |
After using incremental search, move to the selected item.
Definition at line 2129 of file videodlg.cpp.
Referenced by searchStart().
| void VideoDialog::Init | ( | void | ) | [protected, virtual, slot] |
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in Load().
Reimplemented from MythScreenType.
Definition at line 1037 of file videodlg.cpp.
| void VideoDialog::Load | ( | void | ) | [protected, virtual, slot] |
Called after the screen is created by MythScreenStack.
Reimplemented from MythScreenType.
Definition at line 1043 of file videodlg.cpp.
| void VideoDialog::UpdatePosition | ( | ) | [private, slot] |
Called after the screen is created by MythScreenStack.
Update the "x of y" textarea to curent position.
Definition at line 2244 of file videodlg.cpp.
Referenced by loadData(), and UpdateText().
| void VideoDialog::UpdateText | ( | MythUIButtonListItem * | item | ) | [private, slot] |
Update the visible text values for a given ButtonListItem.
Definition at line 2261 of file videodlg.cpp.
Referenced by Create(), and UpdateItem().
| void VideoDialog::handleSelect | ( | MythUIButtonListItem * | item | ) | [private, slot] |
Handle SELECT action for a given MythUIButtonListItem.
Definition at line 2695 of file videodlg.cpp.
Referenced by Create().
| void VideoDialog::SetCurrentNode | ( | MythGenericTree * | node | ) | [private, slot] |
Switch to a given MythGenericTree node.
Definition at line 2232 of file videodlg.cpp.
Referenced by Create(), fetchVideos(), goBack(), handleDirSelect(), and loadData().
| void VideoDialog::playVideo | ( | ) | [private, slot] |
Play the selected item.
Definition at line 2980 of file videodlg.cpp.
Referenced by CreatePlayMenu(), handleSelect(), keyPressEvent(), and VideoMenu().
| void VideoDialog::playVideoAlt | ( | ) | [private, slot] |
Play the selected item in an alternate player.
Definition at line 2991 of file videodlg.cpp.
Referenced by CreatePlayMenu(), and keyPressEvent().
| void VideoDialog::playFolder | ( | ) | [private, slot] |
Play all the items in the selected folder.
Definition at line 3003 of file videodlg.cpp.
Referenced by VideoMenu().
| void VideoDialog::playVideoWithTrailers | ( | ) | [private, slot] |
Play the selected item w/ a User selectable # of trailers.
Definition at line 3087 of file videodlg.cpp.
Referenced by CreatePlayMenu().
| void VideoDialog::playTrailer | ( | ) | [private, slot] |
Play the trailer associated with the selected item.
Definition at line 3120 of file videodlg.cpp.
Referenced by CreatePlayMenu().
| void VideoDialog::SwitchTree | ( | ) | [private, slot] |
Switch to Tree (List) View.
Definition at line 2729 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::SwitchGallery | ( | ) | [private, slot] |
Switch to Gallery View.
Definition at line 2738 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::SwitchBrowse | ( | ) | [private, slot] |
Switch to Browser View.
Definition at line 2747 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::SwitchManager | ( | ) | [private, slot] |
Switch to Video Manager View.
Definition at line 2756 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::SwitchVideoFolderGroup | ( | ) | [private, slot] |
Switch to Folder (filesystem) browse mode.
Definition at line 2765 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoGenreGroup | ( | ) | [private, slot] |
Switch to Genre browse mode.
Definition at line 2774 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoCategoryGroup | ( | ) | [private, slot] |
Switch to Category browse mode.
Definition at line 2783 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoYearGroup | ( | ) | [private, slot] |
Switch to Year browse mode.
Definition at line 2792 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoDirectorGroup | ( | ) | [private, slot] |
Definition at line 2801 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoStudioGroup | ( | ) | [private, slot] |
Switch to Studio browse mode.
Definition at line 2810 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoCastGroup | ( | ) | [private, slot] |
Switch to Cast browse mode.
Definition at line 2819 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoUserRatingGroup | ( | ) | [private, slot] |
Switch to User Rating browse mode.
Definition at line 2828 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoInsertDateGroup | ( | ) | [private, slot] |
Switch to Insert Date browse mode.
Definition at line 2837 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::SwitchVideoTVMovieGroup | ( | ) | [private, slot] |
Switch to Television/Movie browse mode.
Definition at line 2846 of file videodlg.cpp.
Referenced by CreateMetadataBrowseMenu().
| void VideoDialog::EditMetadata | ( | ) | [private, slot] |
Definition at line 3444 of file videodlg.cpp.
Referenced by CreateManageMenu(), and keyPressEvent().
| void VideoDialog::VideoSearch | ( | MythGenericTree * | node = NULL, |
|
| bool | automode = false | |||
| ) | [private, slot] |
Definition at line 3343 of file videodlg.cpp.
Referenced by CreateManageMenu(), keyPressEvent(), and VideoAutoSearch().
| void VideoDialog::VideoAutoSearch | ( | MythGenericTree * | node = NULL |
) | [private, slot] |
Definition at line 3372 of file videodlg.cpp.
Referenced by DisplayMenu(), and scanFinished().
| void VideoDialog::ResetMetadata | ( | ) | [private, slot] |
Definition at line 3517 of file videodlg.cpp.
Referenced by CreateManageMenu().
| void VideoDialog::ToggleWatched | ( | ) | [private, slot] |
Definition at line 3401 of file videodlg.cpp.
Referenced by VideoMenu().
| void VideoDialog::ToggleProcess | ( | ) | [private, slot] |
Definition at line 2630 of file videodlg.cpp.
Referenced by CreateManageMenu().
| void VideoDialog::RemoveVideo | ( | ) | [private, slot] |
Definition at line 3462 of file videodlg.cpp.
Referenced by keyPressEvent(), and VideoMenu().
| void VideoDialog::OnRemoveVideo | ( | bool | dodelete | ) | [private, slot] |
Definition at line 3482 of file videodlg.cpp.
Referenced by RemoveVideo().
| void VideoDialog::VideoMenu | ( | ) | [private, slot] |
Pop up a MythUI "Playback Menu" for MythVideo.
Bound to INFO.
Definition at line 2328 of file videodlg.cpp.
Referenced by keyPressEvent().
| MythMenu * VideoDialog::CreateInfoMenu | ( | ) | [private, slot] |
Create a MythMenu for Info pertaining to the selected item.
Definition at line 2584 of file videodlg.cpp.
Referenced by VideoMenu().
| MythMenu * VideoDialog::CreateManageMenu | ( | ) | [private, slot] |
Create a MythMenu for metadata management.
Definition at line 2611 of file videodlg.cpp.
Referenced by VideoMenu().
| MythMenu * VideoDialog::CreatePlayMenu | ( | ) | [private, slot] |
Create a "Play Menu" for MythVideo.
Appears if multiple play options exist.
Definition at line 2383 of file videodlg.cpp.
Referenced by VideoMenu().
| void VideoDialog::DisplayMenu | ( | void | ) | [private, slot] |
Pop up a MythUI Menu for MythVideo Global Functions.
Bound to MENU.
Definition at line 2421 of file videodlg.cpp.
Referenced by keyPressEvent().
| MythMenu * VideoDialog::CreateViewMenu | ( | ) | [private, slot] |
Create a MythMenu for MythVideo Views.
Definition at line 2446 of file videodlg.cpp.
Referenced by DisplayMenu().
| MythMenu * VideoDialog::CreateSettingsMenu | ( | ) | [private, slot] |
Create a MythMenu for MythVideo Settings.
Definition at line 2482 of file videodlg.cpp.
Referenced by DisplayMenu().
| MythMenu * VideoDialog::CreateMetadataBrowseMenu | ( | ) | [private, slot] |
Create a MythMenu for MythVideo Metadata Browse modes.
Definition at line 2541 of file videodlg.cpp.
Referenced by DisplayMenu().
| void VideoDialog::PromptToScan | ( | ) | [private, slot] |
Definition at line 3754 of file videodlg.cpp.
Referenced by Load().
| void VideoDialog::ChangeFilter | ( | ) | [private, slot] |
Change the filtering of the library.
Definition at line 3158 of file videodlg.cpp.
Referenced by DisplayMenu(), and keyPressEvent().
| void VideoDialog::ToggleBrowseMode | ( | ) | [private, slot] |
Toggle the browseable status for the selected item.
Definition at line 2646 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::ToggleFlatView | ( | ) | [private, slot] |
Toggle Flat View.
Definition at line 2658 of file videodlg.cpp.
Referenced by CreateViewMenu().
| void VideoDialog::ViewPlot | ( | ) | [private, slot] |
Display a MythUI Popup with the selected item's plot.
Definition at line 2885 of file videodlg.cpp.
Referenced by CreateInfoMenu().
| void VideoDialog::ShowCastDialog | ( | ) | [private, slot] |
Display the Cast if the selected item.
Definition at line 2923 of file videodlg.cpp.
Referenced by CreateInfoMenu().
| void VideoDialog::ShowHomepage | ( | ) | [private, slot] |
Definition at line 2933 of file videodlg.cpp.
Referenced by CreateInfoMenu().
| bool VideoDialog::DoItemDetailShow | ( | ) | [private, slot] |
Display the Item Detail Popup.
Definition at line 2899 of file videodlg.cpp.
Referenced by CreateInfoMenu(), handleSelect(), and keyPressEvent().
| void VideoDialog::ShowPlayerSettings | ( | ) | [private, slot] |
Pop up a MythUI Menu for MythVideo Player Settings.
Definition at line 2499 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
| void VideoDialog::ShowExtensionSettings | ( | ) | [private, slot] |
Pop up a MythUI Menu for MythVideo filte Type Settings.
Definition at line 2527 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
| void VideoDialog::ShowMetadataSettings | ( | ) | [private, slot] |
Pop up a MythUI Menu for MythVideo Metadata Settings.
Definition at line 2513 of file videodlg.cpp.
Referenced by CreateSettingsMenu().
| void VideoDialog::OnParentalChange | ( | int | amount | ) | [private, slot] |
Definition at line 3426 of file videodlg.cpp.
| void VideoDialog::OnVideoSearchListSelection | ( | MetadataLookup * | lookup | ) | [private, slot] |
Definition at line 3417 of file videodlg.cpp.
Referenced by customEvent().
| void VideoDialog::doVideoScan | ( | ) | [private, slot] |
Definition at line 3746 of file videodlg.cpp.
Referenced by customEvent(), and DisplayMenu().
| void VideoDialog::scanFinished | ( | bool | dbChanged | ) | [protected, slot] |
Definition at line 1071 of file videodlg.cpp.
Referenced by doVideoScan().
| void VideoDialog::reloadData | ( | ) | [protected, slot] |
Reloads the tree after having invalidated the data.
Definition at line 1098 of file videodlg.cpp.
Referenced by ChangeFilter(), handleDynamicDirSelect(), Init(), Load(), scanFinished(), ToggleBrowseMode(), and ToggleFlatView().
| void VideoDialog::refreshData | ( | ) | [protected, slot] |
Reloads the tree without invalidating the data.
Definition at line 1056 of file videodlg.cpp.
Referenced by EditMetadata(), OnParentalChange(), reloadData(), and ToggleProcess().
| void VideoDialog::UpdateItem | ( | MythUIButtonListItem * | item | ) | [protected, slot] |
Update the visible representation of a MythUIButtonListItem.
Definition at line 1217 of file videodlg.cpp.
Referenced by loadData(), OnVideoImageSetDone(), OnVideoSearchDone(), and ResetMetadata().
| void VideoDialog::customEvent | ( | QEvent * | levent | ) | [protected, virtual] |
Reimplemented from MythUIType.
Definition at line 3194 of file videodlg.cpp.
| MythUIButtonListItem * VideoDialog::GetItemCurrent | ( | void | ) | [protected, virtual] |
Definition at line 3300 of file videodlg.cpp.
Referenced by CreateInfoMenu(), CreateManageMenu(), CreatePlayMenu(), DoItemDetailShow(), EditMetadata(), keyPressEvent(), OnParentalChange(), OnRemoveVideo(), playFolder(), playTrailer(), playVideo(), playVideoAlt(), playVideoWithTrailers(), RemoveVideo(), ResetMetadata(), ShowCastDialog(), ShowHomepage(), ToggleProcess(), ToggleWatched(), UpdateItem(), UpdatePosition(), VideoMenu(), VideoSearch(), and ViewPlot().
| MythUIButtonListItem * VideoDialog::GetItemByMetadata | ( | VideoMetadata * | metadata | ) | [protected, virtual] |
Definition at line 3310 of file videodlg.cpp.
Referenced by OnVideoImageSetDone(), and OnVideoSearchDone().
| void VideoDialog::loadData | ( | void | ) | [protected, virtual] |
load the data used to build the ButtonTree/List for MythVideo.
Definition at line 1108 of file videodlg.cpp.
Referenced by goBack(), handleDirSelect(), and refreshData().
| void VideoDialog::fetchVideos | ( | ) | [protected] |
Build the buttonlist/tree.
Definition at line 1310 of file videodlg.cpp.
Referenced by refreshData().
| QString VideoDialog::RemoteImageCheck | ( | QString | host, | |
| QString | filename | |||
| ) | [protected] |
Search for a given (image) filename in the Video SG.
Definition at line 1351 of file videodlg.cpp.
Referenced by GetCoverImage(), and GetImageFromFolder().
| QString VideoDialog::GetCoverImage | ( | MythGenericTree * | node | ) | [protected] |
A "hunt" for cover art to apply for a folder item.
Definition at line 1543 of file videodlg.cpp.
Referenced by UpdateItem().
| QString VideoDialog::GetFirstImage | ( | MythGenericTree * | node, | |
| QString | type, | |||
| QString | gpnode = QString(), |
|||
| int | levels = 0 | |||
| ) | [protected] |
Find the first image of "type" within a folder structure.
Will try immediate children (files) first, if no hits, will continue through subfolders recursively. Will only return a value on a grandchild node if it matches the grandparent title, eg:
Lost->Season 1->Lost
Definition at line 1765 of file videodlg.cpp.
Referenced by UpdateItem(), and UpdateText().
| QString VideoDialog::GetImageFromFolder | ( | VideoMetadata * | metadata | ) | [protected] |
Attempt to find/fallback a cover image for a given metadata item.
Definition at line 1408 of file videodlg.cpp.
| QString VideoDialog::GetScreenshot | ( | MythGenericTree * | node | ) | [protected] |
Find the Screenshot for a given node.
Definition at line 1890 of file videodlg.cpp.
Referenced by UpdateItem().
| QString VideoDialog::GetBanner | ( | MythGenericTree * | node | ) | [protected] |
Find the Banner for a given node.
Definition at line 1930 of file videodlg.cpp.
Referenced by UpdateItem().
| QString VideoDialog::GetFanart | ( | MythGenericTree * | node | ) | [protected] |
Find the Fanart for a given node.
Definition at line 1965 of file videodlg.cpp.
Referenced by UpdateItem().
| VideoMetadata * VideoDialog::GetMetadata | ( | MythUIButtonListItem * | item | ) | [protected] |
Retrieve the Database Metadata for a given MythUIButtonListItem.
Definition at line 3175 of file videodlg.cpp.
Referenced by CreateInfoMenu(), CreateManageMenu(), CreatePlayMenu(), DoItemDetailShow(), EditMetadata(), keyPressEvent(), OnParentalChange(), OnRemoveVideo(), playTrailer(), playVideo(), playVideoAlt(), playVideoWithTrailers(), RemoveVideo(), ResetMetadata(), ShowCastDialog(), ShowHomepage(), ToggleProcess(), ToggleWatched(), UpdateItem(), UpdateText(), VideoMenu(), and ViewPlot().
| void VideoDialog::handleDirSelect | ( | MythGenericTree * | node | ) | [protected] |
Descend into a selected folder.
Definition at line 2673 of file videodlg.cpp.
Referenced by handleSelect().
| void VideoDialog::handleDynamicDirSelect | ( | MythGenericTree * | node | ) | [protected] |
Request the latest metadata for a folder.
Definition at line 2683 of file videodlg.cpp.
Referenced by handleSelect().
| bool VideoDialog::goBack | ( | ) | [protected] |
Move one level up in the tree.
Definition at line 2208 of file videodlg.cpp.
Referenced by handleSelect(), and keyPressEvent().
| void VideoDialog::setParentalLevel | ( | const ParentalLevel::Level & | level | ) | [protected] |
Set the parental level for the library.
Definition at line 3139 of file videodlg.cpp.
Referenced by keyPressEvent(), and shiftParental().
| void VideoDialog::shiftParental | ( | int | amount | ) | [protected] |
Shift the parental level for the library by an integer amount.
Definition at line 3148 of file videodlg.cpp.
Referenced by keyPressEvent().
| bool VideoDialog::createPopup | ( | ) | [protected] |
| void VideoDialog::createBusyDialog | ( | QString | title | ) | [protected] |
Create a busy dialog, used during metadata search, etc.
Definition at line 2096 of file videodlg.cpp.
Referenced by VideoSearch().
| void VideoDialog::createOkDialog | ( | QString | title | ) | [protected] |
| void VideoDialog::SwitchLayout | ( | DialogType | type, | |
| BrowseType | browse | |||
| ) | [protected] |
Handle a layout or browse mode switch.
Definition at line 2855 of file videodlg.cpp.
Referenced by SwitchBrowse(), SwitchGallery(), SwitchManager(), SwitchTree(), SwitchVideoCastGroup(), SwitchVideoCategoryGroup(), SwitchVideoDirectorGroup(), SwitchVideoFolderGroup(), SwitchVideoGenreGroup(), SwitchVideoInsertDateGroup(), SwitchVideoStudioGroup(), SwitchVideoTVMovieGroup(), SwitchVideoUserRatingGroup(), and SwitchVideoYearGroup().
| void VideoDialog::StartVideoImageSet | ( | VideoMetadata * | metadata | ) | [protected] |
Definition at line 3530 of file videodlg.cpp.
Referenced by OnVideoSearchDone().
| void VideoDialog::SavePosition | ( | void | ) | [protected] |
Definition at line 872 of file videodlg.cpp.
Referenced by SwitchLayout(), and ~VideoDialog().
| void VideoDialog::OnVideoImageSetDone | ( | VideoMetadata * | metadata | ) | [private, slot] |
Definition at line 3283 of file videodlg.cpp.
Referenced by StartVideoImageSet().
| void VideoDialog::OnVideoSearchDone | ( | MetadataLookup * | lookup | ) | [private, slot] |
Definition at line 3608 of file videodlg.cpp.
Referenced by customEvent().
MythDialogBox* VideoDialog::m_menuPopup [private] |
Definition at line 183 of file videodlg.h.
Referenced by customEvent(), DisplayMenu(), keyPressEvent(), and VideoMenu().
MythUIBusyDialog* VideoDialog::m_busyPopup [private] |
Definition at line 184 of file videodlg.h.
Referenced by createBusyDialog(), customEvent(), OnVideoImageSetDone(), and OnVideoSearchDone().
MythScreenStack* VideoDialog::m_popupStack [private] |
Definition at line 185 of file videodlg.h.
Referenced by createBusyDialog(), createOkDialog(), customEvent(), DisplayMenu(), OnRemoveVideo(), PromptToScan(), RemoveVideo(), ShowCastDialog(), VideoDialog(), VideoMenu(), and ViewPlot().
MythScreenStack* VideoDialog::m_mainStack [private] |
Definition at line 186 of file videodlg.h.
Referenced by ShowExtensionSettings(), ShowMetadataSettings(), ShowPlayerSettings(), and VideoDialog().
MythUIButtonList* VideoDialog::m_videoButtonList [private] |
Definition at line 188 of file videodlg.h.
Referenced by Create(), GetItemByMetadata(), GetItemCurrent(), loadData(), OnRemoveVideo(), SavePosition(), and searchComplete().
MythUIButtonTree* VideoDialog::m_videoButtonTree [private] |
Definition at line 189 of file videodlg.h.
Referenced by Create(), GetItemByMetadata(), GetItemCurrent(), handleDynamicDirSelect(), loadData(), OnRemoveVideo(), SavePosition(), and searchComplete().
MythUIText* VideoDialog::m_titleText [private] |
Definition at line 191 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIText* VideoDialog::m_novideoText [private] |
Definition at line 192 of file videodlg.h.
Referenced by Create(), and refreshData().
MythUIText* VideoDialog::m_positionText [private] |
Definition at line 194 of file videodlg.h.
Referenced by Create(), and UpdatePosition().
MythUIText* VideoDialog::m_crumbText [private] |
Definition at line 195 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIImage* VideoDialog::m_coverImage [private] |
Definition at line 197 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIImage* VideoDialog::m_screenshot [private] |
Definition at line 198 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIImage* VideoDialog::m_banner [private] |
Definition at line 199 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIImage* VideoDialog::m_fanart [private] |
Definition at line 200 of file videodlg.h.
Referenced by Create(), and UpdateText().
MythUIStateType* VideoDialog::m_trailerState [private] |
Definition at line 202 of file videodlg.h.
Referenced by Create().
MythUIStateType* VideoDialog::m_parentalLevelState [private] |
Definition at line 203 of file videodlg.h.
Referenced by Create(), and refreshData().
MythUIStateType* VideoDialog::m_videoLevelState [private] |
Definition at line 204 of file videodlg.h.
MythUIStateType* VideoDialog::m_userRatingState [private] |
Definition at line 205 of file videodlg.h.
MythUIStateType* VideoDialog::m_watchedState [private] |
Definition at line 206 of file videodlg.h.
Referenced by Create().
MythUIStateType* VideoDialog::m_studioState [private] |
Definition at line 207 of file videodlg.h.
Referenced by Create().
MetadataFactory* VideoDialog::m_metadataFactory [private] |
Definition at line 209 of file videodlg.h.
Referenced by OnVideoSearchListSelection(), VideoDialog(), and VideoSearch().
class VideoDialogPrivate* VideoDialog::m_d [private] |
Definition at line 211 of file videodlg.h.
Referenced by ChangeFilter(), Create(), CreateMetadataBrowseMenu(), CreatePlayMenu(), CreateViewMenu(), DoItemDetailShow(), doVideoScan(), EditMetadata(), fetchVideos(), GetItemByMetadata(), goBack(), handleDynamicDirSelect(), handleSelect(), Init(), keyPressEvent(), Load(), loadData(), OnRemoveVideo(), OnVideoSearchDone(), playFolder(), playVideo(), playVideoAlt(), playVideoWithTrailers(), refreshData(), reloadData(), SavePosition(), scanFinished(), searchComplete(), searchStart(), SetCurrentNode(), setParentalLevel(), shiftParental(), StartVideoImageSet(), SwitchBrowse(), SwitchGallery(), SwitchLayout(), SwitchManager(), SwitchTree(), SwitchVideoCastGroup(), SwitchVideoCategoryGroup(), SwitchVideoDirectorGroup(), SwitchVideoFolderGroup(), SwitchVideoGenreGroup(), SwitchVideoInsertDateGroup(), SwitchVideoStudioGroup(), SwitchVideoTVMovieGroup(), SwitchVideoUserRatingGroup(), SwitchVideoYearGroup(), ToggleBrowseMode(), ToggleFlatView(), UpdateText(), VideoAutoSearch(), VideoDialog(), VideoMenu(), and ~VideoDialog().
1.6.3