|
MythTV master
|
Public Types | |
| using | metadata_view_list = std::vector< VideoMetadata * > |
Public Member Functions | |
| VideoListImp () | |
| void | build_generic_tree (MythGenericTree *dst, meta_dir_node *src, bool include_updirs) |
| MythGenericTree * | buildVideoList (bool filebrowser, bool flatlist, int group_type, const ParentalLevel &parental_level, bool include_updirs) |
| void | refreshList (bool filebrowser, const ParentalLevel &parental_level, bool flat_list, int group_type) |
| bool | refreshNode (MythGenericTree *node) |
| unsigned int | count (void) const |
| const VideoFilterSettings & | getCurrentVideoFilter () const |
| void | setCurrentVideoFilter (const VideoFilterSettings &filter) |
| int | TryFilter (const VideoFilterSettings &filter) const |
| const VideoMetadataListManager & | getListCache (void) const |
| unsigned int | getFilterChangedState (void) |
| bool | Delete (unsigned int video_id, VideoList &) |
| MythGenericTree * | GetTreeRoot (void) |
| void | InvalidateCache () |
Private Types | |
| enum | metadata_list_type : std::uint8_t { ltNone , ltFileSystem , ltDBMetadata , ltDBGenreGroup , ltDBCategoryGroup , ltDBYearGroup , ltDBDirectorGroup , ltDBStudioGroup , ltDBCastGroup , ltDBUserRatingGroup , ltDBInsertDateGroup , ltTVMetadata } |
| using | metadata_list = VideoMetadataListManager::metadata_list |
| using | MetadataPtr = VideoMetadataListManager::VideoMetadataPtr |
Private Member Functions | |
| void | sort_view_data (bool flat_list) |
| void | fillMetadata (metadata_list_type whence) |
| void | buildFsysList (void) |
| void | buildGroupList (metadata_list_type whence) |
| void | buildDbList (void) |
| void | buildTVList (void) |
| void | buildFileList (smart_dir_node &directory, metadata_list &metalist, const QString &prefix) const |
| void | update_meta_view (bool flat_list) |
Private Attributes | |
| bool | m_listUnknown {false} |
| bool | m_loadMetaData {false} |
| QScopedPointer< MythGenericTree > | m_videoTreeRoot |
| VideoMetadataListManager | m_metadata |
| meta_dir_node | m_metadataTree |
| metadata_view_list | m_metadataViewFlat |
| meta_dir_node | m_metadataViewTree |
| metadata_list_type | m_metadataListType {ltNone} |
| VideoFilterSettings | m_videoFilter |
Definition at line 326 of file videolist.cpp.
|
private |
Definition at line 339 of file videolist.cpp.
| using VideoListImp::metadata_view_list = std::vector<VideoMetadata *> |
Definition at line 329 of file videolist.cpp.
|
private |
Definition at line 340 of file videolist.cpp.
|
private |
| Enumerator | |
|---|---|
| ltNone | |
| ltFileSystem | |
| ltDBMetadata | |
| ltDBGenreGroup | |
| ltDBCategoryGroup | |
| ltDBYearGroup | |
| ltDBDirectorGroup | |
| ltDBStudioGroup | |
| ltDBCastGroup | |
| ltDBUserRatingGroup | |
| ltDBInsertDateGroup | |
| ltTVMetadata | |
Definition at line 332 of file videolist.cpp.
| VideoListImp::VideoListImp | ( | ) |
Definition at line 531 of file videolist.cpp.
| void VideoListImp::build_generic_tree | ( | MythGenericTree * | dst, |
| meta_dir_node * | src, | ||
| bool | include_updirs | ||
| ) |
Definition at line 538 of file videolist.cpp.
Referenced by build_generic_tree(), and buildVideoList().
|
private |
Definition at line 950 of file videolist.cpp.
Referenced by fillMetadata().
|
private |
Definition at line 1209 of file videolist.cpp.
Referenced by buildFsysList().
|
private |
Definition at line 996 of file videolist.cpp.
Referenced by fillMetadata().
|
private |
Definition at line 779 of file videolist.cpp.
Referenced by fillMetadata().
|
private |
Definition at line 902 of file videolist.cpp.
Referenced by fillMetadata().
| MythGenericTree * VideoListImp::buildVideoList | ( | bool | filebrowser, |
| bool | flatlist, | ||
| int | group_type, | ||
| const ParentalLevel & | parental_level, | ||
| bool | include_updirs | ||
| ) |
Definition at line 619 of file videolist.cpp.
Referenced by VideoList::buildVideoList().
|
inline |
Definition at line 356 of file videolist.cpp.
Referenced by VideoList::count().
|
inline |
Definition at line 389 of file videolist.cpp.
Referenced by VideoList::Delete().
|
private |
Definition at line 742 of file videolist.cpp.
Referenced by refreshList().
|
inline |
Definition at line 361 of file videolist.cpp.
Referenced by VideoList::getCurrentVideoFilter().
|
inline |
Definition at line 384 of file videolist.cpp.
Referenced by VideoList::getFilterChangedState().
|
inline |
Definition at line 379 of file videolist.cpp.
Referenced by VideoList::getListCache().
|
inline |
Definition at line 407 of file videolist.cpp.
Referenced by VideoList::GetTreeRoot().
|
inline |
Definition at line 412 of file videolist.cpp.
Referenced by VideoList::InvalidateCache().
| void VideoListImp::refreshList | ( | bool | filebrowser, |
| const ParentalLevel & | parental_level, | ||
| bool | flat_list, | ||
| int | group_type | ||
| ) |
Definition at line 665 of file videolist.cpp.
Referenced by buildVideoList(), and VideoList::refreshList().
| bool VideoListImp::refreshNode | ( | MythGenericTree * | node | ) |
Definition at line 642 of file videolist.cpp.
Referenced by VideoList::refreshNode().
|
inline |
Definition at line 366 of file videolist.cpp.
Referenced by VideoList::setCurrentVideoFilter().
|
private |
Definition at line 728 of file videolist.cpp.
Referenced by update_meta_view().
|
inline |
Definition at line 371 of file videolist.cpp.
Referenced by VideoList::TryFilter().
|
private |
Definition at line 1108 of file videolist.cpp.
Referenced by refreshList().
|
private |
Definition at line 436 of file videolist.cpp.
Referenced by buildFileList(), and VideoListImp().
|
private |
Definition at line 437 of file videolist.cpp.
Referenced by buildFsysList(), and VideoListImp().
|
private |
Definition at line 441 of file videolist.cpp.
Referenced by buildDbList(), buildFsysList(), buildGroupList(), buildTVList(), Delete(), fillMetadata(), getListCache(), InvalidateCache(), TryFilter(), and update_meta_view().
|
private |
Definition at line 447 of file videolist.cpp.
Referenced by Delete(), fillMetadata(), InvalidateCache(), and refreshNode().
|
private |
Definition at line 442 of file videolist.cpp.
Referenced by buildDbList(), buildFsysList(), buildGroupList(), buildTVList(), fillMetadata(), and update_meta_view().
|
private |
Definition at line 444 of file videolist.cpp.
Referenced by buildVideoList(), count(), sort_view_data(), and update_meta_view().
|
private |
Definition at line 445 of file videolist.cpp.
Referenced by buildVideoList(), sort_view_data(), and update_meta_view().
|
private |
Definition at line 449 of file videolist.cpp.
Referenced by getCurrentVideoFilter(), getFilterChangedState(), refreshList(), setCurrentVideoFilter(), sort_view_data(), and update_meta_view().
|
private |
Definition at line 439 of file videolist.cpp.
Referenced by buildVideoList(), and GetTreeRoot().