|
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 1223 of file videometadata.cpp.
| VideoMetadata::~VideoMetadata | ( | ) |
Definition at line 1250 of file videometadata.cpp.
|
explicit |
Definition at line 1255 of file videometadata.cpp.
| VideoMetadata::VideoMetadata | ( | const VideoMetadata & | rhs | ) |
Definition at line 1260 of file videometadata.cpp.
| bool VideoMetadata::DeleteFile | ( | ) |
Definition at line 1994 of file videometadata.cpp.
| bool VideoMetadata::DeleteFromDatabase | ( | ) |
Definition at line 1956 of file videometadata.cpp.
|
static |
Definition at line 1134 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 1978 of file videometadata.cpp.
| const QString & VideoMetadata::GetBanner | ( | ) | const |
Definition at line 1876 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 1751 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), VideoFilterSettings::matches_filter(), and toMap().
| const VideoMetadata::cast_list & VideoMetadata::GetCast | ( | ) | const |
Definition at line 1916 of file videometadata.cpp.
Referenced by VideoDialog::CreateInfoMenu(), GetDisplayCast(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetCategory | ( | ) | const |
Definition at line 1896 of file videometadata.cpp.
| int VideoMetadata::GetCategoryID | ( | ) | const |
Definition at line 1936 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoFilterSettings::matches_filter().
| int VideoMetadata::GetChildID | ( | ) | const |
Definition at line 1741 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| int VideoMetadata::GetCollectionRef | ( | ) | const |
Definition at line 1611 of file videometadata.cpp.
| VideoContentType VideoMetadata::GetContentType | ( | ) | const |
Definition at line 1781 of file videometadata.cpp.
| const VideoMetadata::country_list & VideoMetadata::GetCountries | ( | ) | const |
Definition at line 1926 of file videometadata.cpp.
Referenced by GetDisplayCountries(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetCoverFile | ( | ) | const |
Definition at line 1856 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 1631 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), GetText(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| int VideoMetadata::GetEpisode | ( | ) | const |
Definition at line 1711 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 1886 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 1811 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 1906 of file videometadata.cpp.
Referenced by GetDisplayGenres(), and VideoFilterSettings::matches_filter().
| const QString & VideoMetadata::GetHash | ( | ) | const |
Definition at line 1821 of file videometadata.cpp.
Referenced by VideoDialog::createFetchDialog(), VideoDialog::dismissFetchDialog(), and VideoDialog::VideoMenu().
| const QString & VideoMetadata::GetHomepage | ( | ) | const |
Definition at line 1621 of file videometadata.cpp.
Referenced by VideoDialog::CreateInfoMenu(), EditMetadataDialog::fillWidgets(), GetText(), VideoDialog::ShowHomepage(), and toMap().
| const QString & VideoMetadata::GetHost | ( | ) | const |
Definition at line 1831 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 1731 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 1452 of file videometadata.cpp.
Referenced by MetadataGetImageCb().
| void VideoMetadata::GetImageMap | ( | InfoMap & | imageMap | ) |
Definition at line 1447 of file videometadata.cpp.
Referenced by AddFileNode(), and toMap().
| const QString & VideoMetadata::GetInetRef | ( | ) | const |
Definition at line 1601 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 1721 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 1681 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 1791 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoPlayerCommandPrivate::PlayerFor().
| unsigned int VideoMetadata::GetPlayCount | ( | ) | const |
Definition at line 1691 of file videometadata.cpp.
| const QString & VideoMetadata::GetPlot | ( | ) | const |
Definition at line 1651 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 1531 of file videometadata.cpp.
Referenced by AddMetadataToDir().
| bool VideoMetadata::GetProcessed | ( | ) | const |
Definition at line 1771 of file videometadata.cpp.
Referenced by VideoDialog::CreateManageMenu(), GetText(), VideoDialog::ToggleProcess(), toMap(), and VideoDialog::VideoAutoSearch().
| const QString & VideoMetadata::GetRating | ( | ) | const |
Definition at line 1671 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| QDate VideoMetadata::GetReleaseDate | ( | ) | const |
Definition at line 1591 of file videometadata.cpp.
| const QString & VideoMetadata::GetScreenshot | ( | ) | const |
Definition at line 1866 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 1701 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 1801 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 1816 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 1561 of file videometadata.cpp.
| const QString & VideoMetadata::GetSortTitle | ( | ) | const |
Definition at line 1546 of file videometadata.cpp.
| QString VideoMetadata::GetState | ( | const QString & | name | ) | const |
Definition at line 1434 of file videometadata.cpp.
Referenced by MetadataGetStateCb().
| void VideoMetadata::GetStateMap | ( | InfoMap & | stateMap | ) | const |
Definition at line 1423 of file videometadata.cpp.
Referenced by toMap().
| const QString & VideoMetadata::GetStudio | ( | ) | const |
Definition at line 1641 of file videometadata.cpp.
Referenced by anonymous_namespace{videodlg.cpp}::CopyMetadataToUI(), GetText(), and toMap().
| const QString & VideoMetadata::GetSubtitle | ( | ) | const |
Definition at line 1556 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 1571 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetText(), and toMap().
| QString VideoMetadata::GetText | ( | const QString & | name | ) | const |
Definition at line 1337 of file videometadata.cpp.
Referenced by MetadataGetTextCb().
| const QString & VideoMetadata::GetTitle | ( | void | ) | const |
Definition at line 1541 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 1846 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 1661 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 1761 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 1581 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 2004 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 1515 of file videometadata.cpp.
Referenced by AddFileNode().
|
static |
Definition at line 1523 of file videometadata.cpp.
Referenced by AddFileNode().
|
static |
Definition at line 1501 of file videometadata.cpp.
Referenced by AddFileNode().
| VideoMetadata & VideoMetadata::operator= | ( | const VideoMetadata & | rhs | ) |
Definition at line 1265 of file videometadata.cpp.
|
private |
| void VideoMetadata::Reset | ( | void | ) |
Resets to default metadata.
Definition at line 1999 of file videometadata.cpp.
Referenced by VideoDialog::ResetMetadata().
| void VideoMetadata::SaveToDatabase | ( | ) |
Definition at line 1946 of file videometadata.cpp.
Referenced by V2Video::AddVideo(), and VideoScannerThread::updateDB().
| void VideoMetadata::SetBanner | ( | const QString & | banner | ) |
Definition at line 1881 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetBanner(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetBrowse | ( | bool | browse | ) |
Definition at line 1756 of file videometadata.cpp.
| void VideoMetadata::SetCast | ( | const cast_list & | cast | ) |
Definition at line 1921 of file videometadata.cpp.
| void VideoMetadata::SetCategoryID | ( | int | id | ) |
Definition at line 1941 of file videometadata.cpp.
Referenced by EditMetadataDialog::AddCategory(), and EditMetadataDialog::SetCategory().
| void VideoMetadata::SetChildID | ( | int | childID | ) |
Definition at line 1746 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetChild().
| void VideoMetadata::SetCollectionRef | ( | int | collectionref | ) |
Definition at line 1616 of file videometadata.cpp.
| void VideoMetadata::SetContentType | ( | VideoContentType | contenttype | ) |
Definition at line 1786 of file videometadata.cpp.
| void VideoMetadata::SetCountries | ( | const country_list & | countries | ) |
Definition at line 1931 of file videometadata.cpp.
| void VideoMetadata::SetCoverFile | ( | const QString & | coverFile | ) |
Definition at line 1861 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetCoverArt(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetDirector | ( | const QString & | director | ) |
Definition at line 1636 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetDirector().
| void VideoMetadata::SetEpisode | ( | int | episode | ) |
Definition at line 1716 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetEpisode().
| void VideoMetadata::SetFanart | ( | const QString & | fanart | ) |
Definition at line 1891 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetFanart(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetFilename | ( | const QString & | filename, |
| const QString & | sortFilename = "" |
||
| ) |
Definition at line 1841 of file videometadata.cpp.
| void VideoMetadata::SetGenres | ( | const genre_list & | genres | ) |
Definition at line 1911 of file videometadata.cpp.
| void VideoMetadata::SetHash | ( | const QString & | hash | ) |
Definition at line 1826 of file videometadata.cpp.
| void VideoMetadata::SetHomepage | ( | const QString & | homepage | ) |
Definition at line 1626 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetHomepage().
| void VideoMetadata::SetHost | ( | const QString & | host | ) |
Definition at line 1836 of file videometadata.cpp.
Referenced by V2Video::AddVideo(), and VideoScannerThread::updateDB().
| void VideoMetadata::SetID | ( | int | id | ) |
Definition at line 1736 of file videometadata.cpp.
| void VideoMetadata::SetInetRef | ( | const QString & | inetRef | ) |
Definition at line 1606 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetInetRef().
| void VideoMetadata::SetInsertdate | ( | QDate | date | ) |
Definition at line 1726 of file videometadata.cpp.
| void VideoMetadata::SetLength | ( | std::chrono::minutes | length | ) |
Definition at line 1686 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetLength().
| void VideoMetadata::SetPlayCommand | ( | const QString & | playCommand | ) |
Definition at line 1796 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetPlayer().
| void VideoMetadata::SetPlayCount | ( | int | count | ) |
Definition at line 1696 of file videometadata.cpp.
| void VideoMetadata::SetPlot | ( | const QString & | plot | ) |
Definition at line 1656 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetPlot().
| void VideoMetadata::SetPrefix | ( | const QString & | prefix | ) |
Definition at line 1536 of file videometadata.cpp.
| void VideoMetadata::SetProcessed | ( | bool | processed | ) |
Definition at line 1776 of file videometadata.cpp.
Referenced by VideoDialog::OnVideoImageSetDone(), and VideoDialog::ToggleProcess().
| void VideoMetadata::SetRating | ( | const QString & | rating | ) |
Definition at line 1676 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetRating().
| void VideoMetadata::SetReleaseDate | ( | QDate | releasedate | ) |
Definition at line 1596 of file videometadata.cpp.
| void VideoMetadata::SetScreenshot | ( | const QString & | screenshot | ) |
Definition at line 1871 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetScreenshot(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetSeason | ( | int | season | ) |
Definition at line 1706 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetSeason().
| void VideoMetadata::SetShowLevel | ( | ParentalLevel::Level | showLevel | ) |
Definition at line 1806 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), and VideoDialog::OnParentalChange().
| void VideoMetadata::SetStudio | ( | const QString & | studio | ) |
Definition at line 1646 of file videometadata.cpp.
| void VideoMetadata::SetSubtitle | ( | const QString & | subtitle, |
| const QString & | sortSubtitle = "" |
||
| ) |
Definition at line 1566 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetSubtitle().
| void VideoMetadata::SetTagline | ( | const QString & | tagline | ) |
Definition at line 1576 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetTagline().
| void VideoMetadata::SetTitle | ( | const QString & | title, |
| const QString & | sortTitle = "" |
||
| ) |
Definition at line 1551 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and EditMetadataDialog::SetTitle().
| void VideoMetadata::SetTrailer | ( | const QString & | trailer | ) |
Definition at line 1851 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetTrailer().
| void VideoMetadata::SetUserRating | ( | float | userRating | ) |
Definition at line 1666 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetUserRating().
| void VideoMetadata::SetWatched | ( | bool | watched | ) |
Definition at line 1766 of file videometadata.cpp.
Referenced by VideoDialog::ToggleWatched(), and VideoDialog::UpdateWatchedState().
| void VideoMetadata::SetYear | ( | int | year | ) |
Definition at line 1586 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetYear().
| bool VideoMetadata::sortBefore | ( | const VideoMetadata & | rhs | ) | const |
Definition at line 2009 of file videometadata.cpp.
Referenced by VideoFilterSettings::meta_less_than().
| void VideoMetadata::toMap | ( | InfoMap & | metadataMap | ) |
Definition at line 1275 of file videometadata.cpp.
Referenced by ItemDetailPopup::Create(), VideoDialog::UpdateItem(), and VideoDialog::UpdateText().
|
static |
| void VideoMetadata::UpdateDatabase | ( | ) |
Definition at line 1951 of file videometadata.cpp.
Referenced by VideoDialog::OnParentalChange(), VideoDialog::OnVideoImageSetDone(), VideoDialog::ResetMetadata(), EditMetadataDialog::SaveAndExit(), VideoDialog::ToggleProcess(), and VideoDialog::ToggleWatched().
|
static |
Definition at line 1067 of file videometadata.cpp.
Referenced by VideoScannerThread::updateDB().
|
static |
Definition at line 1115 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().