|
MythTV master
|
#include <libmythmetadata/videometadata.h>
Public Types | |
| using | genre_entry = std::pair< int, QString > |
| using | country_entry = std::pair< int, QString > |
| using | cast_entry = std::pair< int, QString > |
| using | genre_list = std::vector< genre_entry > |
| using | country_list = std::vector< country_entry > |
| using | cast_list = std::vector< cast_entry > |
Public Member Functions | |
| VideoMetadata (const QString &filename=QString(), const QString &sortFilename=QString(), const QString &hash=QString(), const QString &trailer=QString(), const QString &coverfile=QString(), const QString &screenshot=QString(), const QString &banner=QString(), const QString &fanart=QString(), const QString &title=QString(), const QString &sortTitle=QString(), const QString &subtitle=QString(), const QString &sortSubtitle=QString(), const QString &tagline=QString(), int year=VIDEO_YEAR_DEFAULT, QDate releasedate=QDate(), const QString &inetref=QString(), int collectionref=0, const QString &homepage=QString(), const QString &director=QString(), const QString &studio=QString(), const QString &plot=QString(), float userrating=0.0, const QString &rating=QString(), int length=0, int playcount=0, int season=0, int episode=0, QDate insertdate=QDate(), int id=0, ParentalLevel::Level showlevel=ParentalLevel::plLowest, int categoryID=0, int childID=-1, bool browse=true, bool watched=false, const QString &playcommand=QString(), const QString &category=QString(), const genre_list &genres=genre_list(), const country_list &countries=country_list(), const cast_list &cast=cast_list(), const QString &host="", bool processed=false, VideoContentType contenttype=kContentUnknown) | |
| ~VideoMetadata () | |
| VideoMetadata (MSqlQuery &query) | |
| VideoMetadata (const VideoMetadata &rhs) | |
| VideoMetadata & | operator= (const VideoMetadata &rhs) |
| bool | sortBefore (const VideoMetadata &rhs) const |
| void | toMap (InfoMap &metadataMap) |
| QString | GetText (const QString &name) const |
| void | GetStateMap (InfoMap &stateMap) const |
| QString | GetState (const QString &name) const |
| void | GetImageMap (InfoMap &imageMap) |
| QString | GetImage (const QString &name) const |
| const QString & | GetPrefix () const |
| void | SetPrefix (const QString &prefix) |
| const QString & | GetTitle () const |
| const QString & | GetSortTitle () const |
| void | SetTitle (const QString &title, const QString &sortTitle="") |
| const QString & | GetSubtitle () const |
| const QString & | GetSortSubtitle () const |
| void | SetSubtitle (const QString &subtitle, const QString &sortSubtitle="") |
| const QString & | GetTagline () const |
| void | SetTagline (const QString &tagline) |
| int | GetYear () const |
| void | SetYear (int year) |
| QDate | GetReleaseDate () const |
| void | SetReleaseDate (QDate releasedate) |
| const QString & | GetInetRef () const |
| void | SetInetRef (const QString &inetRef) |
| int | GetCollectionRef () const |
| void | SetCollectionRef (int collectionref) |
| const QString & | GetHomepage () const |
| void | SetHomepage (const QString &homepage) |
| const QString & | GetDirector () const |
| void | SetDirector (const QString &director) |
| const QString & | GetStudio () const |
| void | SetStudio (const QString &studio) |
| const QString & | GetPlot () const |
| void | SetPlot (const QString &plot) |
| float | GetUserRating () const |
| void | SetUserRating (float userRating) |
| const QString & | GetRating () const |
| void | SetRating (const QString &rating) |
| std::chrono::minutes | GetLength () const |
| void | SetLength (std::chrono::minutes length) |
| int | GetSeason () const |
| void | SetSeason (int season) |
| int | GetEpisode () const |
| void | SetEpisode (int episode) |
| QDate | GetInsertdate () const |
| void | SetInsertdate (QDate date) |
| unsigned int | GetID () const |
| void | SetID (int id) |
| int | GetChildID () const |
| void | SetChildID (int childID) |
| bool | GetBrowse () const |
| void | SetBrowse (bool browse) |
| bool | GetWatched () const |
| void | SetWatched (bool watched) |
| bool | GetProcessed () const |
| void | SetProcessed (bool processed) |
| VideoContentType | GetContentType () const |
| void | SetContentType (VideoContentType contenttype) |
| const QString & | GetPlayCommand () const |
| void | SetPlayCommand (const QString &playCommand) |
| unsigned int | GetPlayCount () const |
| void | SetPlayCount (int count) |
| ParentalLevel::Level | GetShowLevel () const |
| void | SetShowLevel (ParentalLevel::Level showLevel) |
| const QString & | GetHost () const |
| void | SetHost (const QString &host) |
| const QString & | GetFilename () const |
| const QString & | GetSortFilename () const |
| void | SetFilename (const QString &filename, const QString &sortFilename="") |
| const QString & | GetHash () const |
| void | SetHash (const QString &hash) |
| const QString & | GetTrailer () const |
| void | SetTrailer (const QString &trailer) |
| const QString & | GetCoverFile () const |
| void | SetCoverFile (const QString &coverFile) |
| const QString & | GetScreenshot () const |
| void | SetScreenshot (const QString &screenshot) |
| const QString & | GetBanner () const |
| void | SetBanner (const QString &banner) |
| const QString & | GetFanart () const |
| void | SetFanart (const QString &fanart) |
| const QString & | GetCategory () const |
| const genre_list & | GetGenres () const |
| void | SetGenres (const genre_list &genres) |
| const cast_list & | GetCast () const |
| void | SetCast (const cast_list &cast) |
| const country_list & | GetCountries () const |
| void | SetCountries (const country_list &countries) |
| int | GetCategoryID () const |
| void | SetCategoryID (int id) |
| void | SaveToDatabase () |
| void | UpdateDatabase () |
| bool | DeleteFromDatabase () |
| bool | FillDataFromFilename (const VideoMetadataListManager &cache) |
| bool | DeleteFile () |
| void | Reset () |
| Resets to default metadata. More... | |
| bool | IsHostSet () const |
Static Public Member Functions | |
| static int | UpdateHashedDBRecord (const QString &hash, const QString &file_name, const QString &host) |
| static QString | VideoFileHash (const QString &file_name, const QString &host) |
| static QString | FilenameToMeta (const QString &file_name, int position) |
| static QString | TrimTitle (const QString &title, bool ignore_case) |
| static QString | MetadataGetTextCb (const QString &name, void *data) |
| static QString | MetadataGetImageCb (const QString &name, void *data) |
| static QString | MetadataGetStateCb (const QString &name, void *data) |
Private Member Functions | |
| Q_DECLARE_TR_FUNCTIONS (VideoMetadata) | |
Private Attributes | |
| class VideoMetadataImp * | m_imp |
Definition at line 24 of file videometadata.h.
| using VideoMetadata::cast_entry = std::pair<int, QString> |
Definition at line 31 of file videometadata.h.
| using VideoMetadata::cast_list = std::vector<cast_entry> |
Definition at line 34 of file videometadata.h.
| using VideoMetadata::country_entry = std::pair<int, QString> |
Definition at line 30 of file videometadata.h.
| using VideoMetadata::country_list = std::vector<country_entry> |
Definition at line 33 of file videometadata.h.
| using VideoMetadata::genre_entry = std::pair<int, QString> |
Definition at line 29 of file videometadata.h.
| using VideoMetadata::genre_list = std::vector<genre_entry> |
Definition at line 32 of file videometadata.h.
|
explicit |
Definition at line 1224 of file videometadata.cpp.
| VideoMetadata::~VideoMetadata | ( | ) |
Definition at line 1251 of file videometadata.cpp.
|
explicit |
Definition at line 1256 of file videometadata.cpp.
| VideoMetadata::VideoMetadata | ( | const VideoMetadata & | rhs | ) |
Definition at line 1261 of file videometadata.cpp.
| bool VideoMetadata::DeleteFile | ( | ) |
Definition at line 1995 of file videometadata.cpp.
| bool VideoMetadata::DeleteFromDatabase | ( | ) |
Definition at line 1957 of file videometadata.cpp.
|
static |
Definition at line 1135 of file videometadata.cpp.
Referenced by dirhandler::handleFile(), ParseVideoFilename(), VideoPlayerCommandPrivate::PlayerFor(), VideoMetadataImp::saveToDatabase(), and VideoMetadataImp::VideoMetadataImp().
| bool VideoMetadata::FillDataFromFilename | ( | const VideoMetadataListManager & | cache | ) |
Definition at line 1979 of file videometadata.cpp.
| const QString & VideoMetadata::GetBanner | ( | ) | const |
Definition at line 1877 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), VideoDialog::GetBanner(), VideoDialog::GetFirstImage(), and VideoDialog::StartVideoImageSet().
| bool VideoMetadata::GetBrowse | ( | ) | const |
Definition at line 1752 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), VideoFilterSettings::matches_filter(), and toMap().
| const VideoMetadata::cast_list & VideoMetadata::GetCast | ( | ) | const |
Definition at line 1917 of file videometadata.cpp.
Referenced by VideoDialog::CreateInfoMenu(), GetDisplayCast(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetCategory | ( | ) | const |
Definition at line 1897 of file videometadata.cpp.
| int VideoMetadata::GetCategoryID | ( | ) | const |
Definition at line 1937 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoFilterSettings::matches_filter().
| int VideoMetadata::GetChildID | ( | ) | const |
Definition at line 1742 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| int VideoMetadata::GetCollectionRef | ( | ) | const |
Definition at line 1612 of file videometadata.cpp.
| VideoContentType VideoMetadata::GetContentType | ( | ) | const |
Definition at line 1782 of file videometadata.cpp.
| const VideoMetadata::country_list & VideoMetadata::GetCountries | ( | ) | const |
Definition at line 1927 of file videometadata.cpp.
Referenced by GetDisplayCountries(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetCoverFile | ( | ) | const |
Definition at line 1857 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), VideoDialog::GetCoverImage(), VideoDialog::GetFirstImage(), VideoFilterSettings::matches_filter(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetDirector | ( | ) | const |
Definition at line 1632 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), GetText(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| int VideoMetadata::GetEpisode | ( | ) | const |
Definition at line 1712 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::createFetchDialog(), VideoDialog::dismissFetchDialog(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetText(), GuessLookupType(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), and toMap().
| const QString & VideoMetadata::GetFanart | ( | ) | const |
Definition at line 1887 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), VideoDialog::GetFanart(), VideoDialog::GetFirstImage(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetFilename | ( | ) | const |
Definition at line 1812 of file videometadata.cpp.
Referenced by AddMetadataToDir(), VideoPlayerCommandPrivate::AltPlayerFor(), anonymous_namespace{videodlg.cpp}::CopyPlaybackStateToUI(), GetText(), MetadataFactory::Lookup(), ItemDetailPopup::OnPlay(), operator!=(), operator==(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::playFolder(), VideoDialog::playVideo(), VideoDialog::playVideoAlt(), VideoDialog::playVideoWithTrailers(), VideoDialog::StartVideoImageSet(), toMap(), and VideoScannerThread::updateDB().
| const VideoMetadata::genre_list & VideoMetadata::GetGenres | ( | ) | const |
Definition at line 1907 of file videometadata.cpp.
Referenced by GetDisplayGenres(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetHash | ( | ) | const |
Definition at line 1822 of file videometadata.cpp.
Referenced by VideoDialog::createFetchDialog(), VideoDialog::dismissFetchDialog(), and VideoDialog::VideoMenu().
| const QString & VideoMetadata::GetHomepage | ( | ) | const |
Definition at line 1622 of file videometadata.cpp.
Referenced by VideoDialog::CreateInfoMenu(), EditMetadataDialog::fillWidgets(), GetText(), VideoDialog::ShowHomepage(), and toMap().
| const QString & VideoMetadata::GetHost | ( | ) | const |
Definition at line 1832 of file videometadata.cpp.
Referenced by AddMetadataToDir(), VideoPlayerCommandPrivate::AltPlayerFor(), anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), VideoDialog::CreatePlayMenu(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindBanner(), EditMetadataDialog::FindCoverArt(), EditMetadataDialog::FindFanart(), EditMetadataDialog::FindScreenshot(), EditMetadataDialog::FindTrailer(), VideoDialog::GetBanner(), VideoDialog::GetCoverImage(), VideoDialog::GetFanart(), VideoDialog::GetFirstImage(), VideoDialog::GetScreenshot(), MetadataFactory::Lookup(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::playTrailer(), VideoDialog::StartVideoImageSet(), TreeNodeDataPrivate::TreeNodeDataPrivate(), and VideoScannerThread::updateDB().
| unsigned int VideoMetadata::GetID | ( | ) | const |
Definition at line 1732 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), VideoDialog::GetItemByMetadata(), VideoFilterSettings::meta_less_than(), VideoDialog::OnRemoveVideo(), VideoPlayerCommandPrivate::PlayerFor(), VideoScannerThread::updateDB(), and VideoDialog::UpdateWatchedState().
| QString VideoMetadata::GetImage | ( | const QString & | name | ) | const |
Definition at line 1453 of file videometadata.cpp.
Referenced by MetadataGetImageCb().
| void VideoMetadata::GetImageMap | ( | InfoMap & | imageMap | ) |
Definition at line 1448 of file videometadata.cpp.
Referenced by AddFileNode(), and toMap().
| const QString & VideoMetadata::GetInetRef | ( | ) | const |
Definition at line 1602 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetText(), GuessLookupType(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), and toMap().
| QDate VideoMetadata::GetInsertdate | ( | ) | const |
Definition at line 1722 of file videometadata.cpp.
Referenced by GetText(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), and toMap().
| std::chrono::minutes VideoMetadata::GetLength | ( | ) | const |
Definition at line 1682 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), GetText(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| const QString & VideoMetadata::GetPlayCommand | ( | ) | const |
Definition at line 1792 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoPlayerCommandPrivate::PlayerFor().
| unsigned int VideoMetadata::GetPlayCount | ( | ) | const |
Definition at line 1692 of file videometadata.cpp.
| const QString & VideoMetadata::GetPlot | ( | ) | const |
Definition at line 1652 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), PlotDialog::Create(), EditMetadataDialog::fillWidgets(), GetText(), VideoFilterSettings::matches_filter(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| const QString & VideoMetadata::GetPrefix | ( | ) | const |
Definition at line 1532 of file videometadata.cpp.
Referenced by AddMetadataToDir().
| bool VideoMetadata::GetProcessed | ( | ) | const |
Definition at line 1772 of file videometadata.cpp.
Referenced by VideoDialog::CreateManageMenu(), GetText(), VideoDialog::ToggleProcess(), toMap(), and VideoDialog::VideoAutoSearch().
| const QString & VideoMetadata::GetRating | ( | ) | const |
Definition at line 1672 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| QDate VideoMetadata::GetReleaseDate | ( | ) | const |
Definition at line 1592 of file videometadata.cpp.
| const QString & VideoMetadata::GetScreenshot | ( | ) | const |
Definition at line 1867 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), VideoDialog::GetFirstImage(), VideoDialog::GetScreenshot(), and VideoDialog::StartVideoImageSet().
| int VideoMetadata::GetSeason | ( | ) | const |
Definition at line 1702 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::createFetchDialog(), VideoDialog::dismissFetchDialog(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetText(), GuessLookupType(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), and toMap().
| ParentalLevel::Level VideoMetadata::GetShowLevel | ( | ) | const |
Definition at line 1802 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), GetState(), GetStateMap(), VideoFilterSettings::matches_filter(), and VideoDialog::OnParentalChange().
| const QString & VideoMetadata::GetSortFilename | ( | ) | const |
Definition at line 1817 of file videometadata.cpp.
Referenced by GetText(), VideoFilterSettings::meta_less_than(), metadata_path_sort::sort(), and toMap().
| const QString & VideoMetadata::GetSortSubtitle | ( | ) | const |
Definition at line 1562 of file videometadata.cpp.
| const QString & VideoMetadata::GetSortTitle | ( | ) | const |
Definition at line 1547 of file videometadata.cpp.
| QString VideoMetadata::GetState | ( | const QString & | name | ) | const |
Definition at line 1435 of file videometadata.cpp.
Referenced by MetadataGetStateCb().
| void VideoMetadata::GetStateMap | ( | InfoMap & | stateMap | ) | const |
Definition at line 1424 of file videometadata.cpp.
Referenced by toMap().
| const QString & VideoMetadata::GetStudio | ( | ) | const |
Definition at line 1642 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), GetText(), and toMap().
| const QString & VideoMetadata::GetSubtitle | ( | ) | const |
Definition at line 1557 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetText(), GuessLookupType(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), toMap(), VideoDialog::UpdateItem(), and VideoDialog::VideoMenu().
| const QString & VideoMetadata::GetTagline | ( | ) | const |
Definition at line 1572 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| QString VideoMetadata::GetText | ( | const QString & | name | ) | const |
Definition at line 1338 of file videometadata.cpp.
Referenced by MetadataGetTextCb().
| const QString & VideoMetadata::GetTitle | ( | void | ) | const |
Definition at line 1542 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::createFetchDialog(), VideoDialog::CreatePlayMenu(), VideoDialog::dismissFetchDialog(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), VideoDialog::GetFirstImage(), meta_data_node::getName(), GetText(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::RemoveVideo(), VideoDialog::StartVideoImageSet(), toMap(), VideoDialog::UpdateItem(), and VideoDialog::VideoMenu().
| const QString & VideoMetadata::GetTrailer | ( | ) | const |
Definition at line 1847 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), VideoDialog::CreatePlayMenu(), EditMetadataDialog::fillWidgets(), GetState(), GetStateMap(), VideoDialog::playTrailer(), and VideoDialog::VideoMenu().
| float VideoMetadata::GetUserRating | ( | ) | const |
Definition at line 1662 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), EditMetadataDialog::fillWidgets(), GetState(), GetStateMap(), GetText(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), and toMap().
| bool VideoMetadata::GetWatched | ( | ) | const |
Definition at line 1762 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), anonymous_namespace{videodlg.cpp}::CopyPlaybackStateToUI(), EditMetadataDialog::fillWidgets(), GetState(), GetStateMap(), GetText(), VideoFilterSettings::matches_filter(), VideoDialog::ToggleWatched(), toMap(), VideoDialog::UpdateWatchedState(), and VideoDialog::VideoMenu().
| int VideoMetadata::GetYear | ( | ) | const |
Definition at line 1582 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), GetText(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| bool VideoMetadata::IsHostSet | ( | ) | const |
Definition at line 2005 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), VideoDialog::GetBanner(), VideoDialog::GetCoverImage(), VideoDialog::GetFanart(), VideoDialog::GetScreenshot(), VideoPlayerCommandPrivate::PlayerFor(), and VideoDialog::playTrailer().
|
static |
Definition at line 1516 of file videometadata.cpp.
Referenced by AddFileNode().
|
static |
Definition at line 1524 of file videometadata.cpp.
Referenced by AddFileNode().
|
static |
Definition at line 1502 of file videometadata.cpp.
Referenced by AddFileNode().
| VideoMetadata & VideoMetadata::operator= | ( | const VideoMetadata & | rhs | ) |
Definition at line 1266 of file videometadata.cpp.
|
private |
| void VideoMetadata::Reset | ( | void | ) |
Resets to default metadata.
Definition at line 2000 of file videometadata.cpp.
Referenced by VideoDialog::ResetMetadata().
| void VideoMetadata::SaveToDatabase | ( | ) |
Definition at line 1947 of file videometadata.cpp.
Referenced by V2Video::AddVideo(), and VideoScannerThread::updateDB().
| void VideoMetadata::SetBanner | ( | const QString & | banner | ) |
Definition at line 1882 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetBanner(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetBrowse | ( | bool | browse | ) |
Definition at line 1757 of file videometadata.cpp.
| void VideoMetadata::SetCast | ( | const cast_list & | cast | ) |
Definition at line 1922 of file videometadata.cpp.
| void VideoMetadata::SetCategoryID | ( | int | id | ) |
Definition at line 1942 of file videometadata.cpp.
Referenced by EditMetadataDialog::AddCategory(), and EditMetadataDialog::SetCategory().
| void VideoMetadata::SetChildID | ( | int | childID | ) |
Definition at line 1747 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetChild().
| void VideoMetadata::SetCollectionRef | ( | int | collectionref | ) |
Definition at line 1617 of file videometadata.cpp.
| void VideoMetadata::SetContentType | ( | VideoContentType | contenttype | ) |
Definition at line 1787 of file videometadata.cpp.
| void VideoMetadata::SetCountries | ( | const country_list & | countries | ) |
Definition at line 1932 of file videometadata.cpp.
| void VideoMetadata::SetCoverFile | ( | const QString & | coverFile | ) |
Definition at line 1862 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetCoverArt(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetDirector | ( | const QString & | director | ) |
Definition at line 1637 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetDirector().
| void VideoMetadata::SetEpisode | ( | int | episode | ) |
Definition at line 1717 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetEpisode().
| void VideoMetadata::SetFanart | ( | const QString & | fanart | ) |
Definition at line 1892 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetFanart(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetFilename | ( | const QString & | filename, |
| const QString & | sortFilename = "" |
||
| ) |
Definition at line 1842 of file videometadata.cpp.
| void VideoMetadata::SetGenres | ( | const genre_list & | genres | ) |
Definition at line 1912 of file videometadata.cpp.
| void VideoMetadata::SetHash | ( | const QString & | hash | ) |
Definition at line 1827 of file videometadata.cpp.
| void VideoMetadata::SetHomepage | ( | const QString & | homepage | ) |
Definition at line 1627 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetHomepage().
| void VideoMetadata::SetHost | ( | const QString & | host | ) |
Definition at line 1837 of file videometadata.cpp.
Referenced by V2Video::AddVideo(), and VideoScannerThread::updateDB().
| void VideoMetadata::SetID | ( | int | id | ) |
Definition at line 1737 of file videometadata.cpp.
| void VideoMetadata::SetInetRef | ( | const QString & | inetRef | ) |
Definition at line 1607 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetInetRef().
| void VideoMetadata::SetInsertdate | ( | QDate | date | ) |
Definition at line 1727 of file videometadata.cpp.
| void VideoMetadata::SetLength | ( | std::chrono::minutes | length | ) |
Definition at line 1687 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetLength().
| void VideoMetadata::SetPlayCommand | ( | const QString & | playCommand | ) |
Definition at line 1797 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetPlayer().
| void VideoMetadata::SetPlayCount | ( | int | count | ) |
Definition at line 1697 of file videometadata.cpp.
| void VideoMetadata::SetPlot | ( | const QString & | plot | ) |
Definition at line 1657 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetPlot().
| void VideoMetadata::SetPrefix | ( | const QString & | prefix | ) |
Definition at line 1537 of file videometadata.cpp.
| void VideoMetadata::SetProcessed | ( | bool | processed | ) |
Definition at line 1777 of file videometadata.cpp.
Referenced by VideoDialog::OnVideoImageSetDone(), and VideoDialog::ToggleProcess().
| void VideoMetadata::SetRating | ( | const QString & | rating | ) |
Definition at line 1677 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetRating().
| void VideoMetadata::SetReleaseDate | ( | QDate | releasedate | ) |
Definition at line 1597 of file videometadata.cpp.
| void VideoMetadata::SetScreenshot | ( | const QString & | screenshot | ) |
Definition at line 1872 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetScreenshot(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetSeason | ( | int | season | ) |
Definition at line 1707 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetSeason().
| void VideoMetadata::SetShowLevel | ( | ParentalLevel::Level | showLevel | ) |
Definition at line 1807 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), and VideoDialog::OnParentalChange().
| void VideoMetadata::SetStudio | ( | const QString & | studio | ) |
Definition at line 1647 of file videometadata.cpp.
| void VideoMetadata::SetSubtitle | ( | const QString & | subtitle, |
| const QString & | sortSubtitle = "" |
||
| ) |
Definition at line 1567 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetSubtitle().
| void VideoMetadata::SetTagline | ( | const QString & | tagline | ) |
Definition at line 1577 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetTagline().
| void VideoMetadata::SetTitle | ( | const QString & | title, |
| const QString & | sortTitle = "" |
||
| ) |
Definition at line 1552 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and EditMetadataDialog::SetTitle().
| void VideoMetadata::SetTrailer | ( | const QString & | trailer | ) |
Definition at line 1852 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetTrailer().
| void VideoMetadata::SetUserRating | ( | float | userRating | ) |
Definition at line 1667 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetUserRating().
| void VideoMetadata::SetWatched | ( | bool | watched | ) |
Definition at line 1767 of file videometadata.cpp.
Referenced by VideoDialog::ToggleWatched(), and VideoDialog::UpdateWatchedState().
| void VideoMetadata::SetYear | ( | int | year | ) |
Definition at line 1587 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetYear().
| bool VideoMetadata::sortBefore | ( | const VideoMetadata & | rhs | ) | const |
Definition at line 2010 of file videometadata.cpp.
Referenced by VideoFilterSettings::meta_less_than().
| void VideoMetadata::toMap | ( | InfoMap & | metadataMap | ) |
Definition at line 1276 of file videometadata.cpp.
Referenced by ItemDetailPopup::Create(), VideoDialog::UpdateItem(), and VideoDialog::UpdateText().
|
static |
| void VideoMetadata::UpdateDatabase | ( | ) |
Definition at line 1952 of file videometadata.cpp.
Referenced by VideoDialog::OnParentalChange(), VideoDialog::OnVideoImageSetDone(), VideoDialog::ResetMetadata(), EditMetadataDialog::SaveAndExit(), VideoDialog::ToggleProcess(), and VideoDialog::ToggleWatched().
|
static |
Definition at line 1068 of file videometadata.cpp.
Referenced by VideoScannerThread::updateDB().
|
static |
Definition at line 1116 of file videometadata.cpp.
Referenced by VideoMetadataImp::Reset(), VideoMetadataImp::saveToDatabase(), and VideoScannerThread::updateDB().
|
private |
Definition at line 242 of file videometadata.h.
Referenced by DeleteFile(), DeleteFromDatabase(), FillDataFromFilename(), GetBanner(), GetBrowse(), GetCast(), GetCategory(), GetCategoryID(), GetChildID(), GetCollectionRef(), GetContentType(), GetCountries(), GetCoverFile(), GetDirector(), GetEpisode(), GetFanart(), GetFilename(), GetGenres(), GetHash(), GetHomepage(), GetHost(), GetID(), GetImage(), GetImageMap(), GetInetRef(), GetInsertdate(), GetLength(), GetPlayCommand(), GetPlayCount(), GetPlot(), GetPrefix(), GetProcessed(), GetRating(), GetReleaseDate(), GetScreenshot(), GetSeason(), GetShowLevel(), GetSortFilename(), GetSortSubtitle(), GetSortTitle(), GetStudio(), GetSubtitle(), GetTagline(), GetTitle(), GetTrailer(), GetUserRating(), GetWatched(), GetYear(), IsHostSet(), operator=(), Reset(), SaveToDatabase(), SetBanner(), SetBrowse(), SetCast(), SetCategoryID(), SetChildID(), SetCollectionRef(), SetContentType(), SetCountries(), SetCoverFile(), SetDirector(), SetEpisode(), SetFanart(), SetFilename(), SetGenres(), SetHash(), SetHomepage(), SetHost(), SetID(), SetInetRef(), SetInsertdate(), SetLength(), SetPlayCommand(), SetPlayCount(), SetPlot(), SetPrefix(), SetProcessed(), SetRating(), SetReleaseDate(), SetScreenshot(), SetSeason(), SetShowLevel(), SetStudio(), SetSubtitle(), SetTagline(), SetTitle(), SetTrailer(), SetUserRating(), SetWatched(), SetYear(), sortBefore(), UpdateDatabase(), VideoMetadata(), and ~VideoMetadata().