#include <videometadata.h>
Classes | |
| class | SortKey |
Public Types | |
| typedef std::pair< int, QString > | genre_entry |
| typedef std::pair< int, QString > | country_entry |
| typedef std::pair< int, QString > | cast_entry |
| typedef std::vector< genre_entry > | genre_list |
| typedef std::vector < country_entry > | country_list |
| typedef std::vector< cast_entry > | cast_list |
Public Member Functions | |
| VideoMetadata (const QString &filename=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 &subtitle=QString(), const QString &tagline=QString(), int year=VIDEO_YEAR_DEFAULT, const 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, const 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) |
| void | toMap (MetadataMap &metadataMap) |
| void | GetStateMap (MetadataMap &stateMap) |
| void | GetImageMap (MetadataMap &imageMap) |
| bool | HasSortKey () const |
| const SortKey & | GetSortKey () const |
| void | SetSortKey (const SortKey &sort_key) |
| const QString & | GetPrefix () const |
| void | SetPrefix (const QString &prefix) |
| const QString & | GetTitle () const |
| void | SetTitle (const QString &title) |
| const QString & | GetSubtitle () const |
| void | SetSubtitle (const QString &subtitle) |
| 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) |
| int | GetLength () const |
| void | SetLength (int 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 |
| void | SetFilename (const QString &filename) |
| 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. | |
| bool | IsHostSet () const |
Static Public Member Functions | |
| static SortKey | GenerateDefaultSortKey (const VideoMetadata &m, bool ignore_case) |
| 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) |
Private Attributes | |
| class VideoMetadataImp * | m_imp |
Definition at line 25 of file videometadata.h.
| typedef std::pair<int, QString> VideoMetadata::genre_entry |
Definition at line 28 of file videometadata.h.
| typedef std::pair<int, QString> VideoMetadata::country_entry |
Definition at line 29 of file videometadata.h.
| typedef std::pair<int, QString> VideoMetadata::cast_entry |
Definition at line 30 of file videometadata.h.
| typedef std::vector<genre_entry> VideoMetadata::genre_list |
Definition at line 31 of file videometadata.h.
| typedef std::vector<country_entry> VideoMetadata::country_list |
Definition at line 32 of file videometadata.h.
| typedef std::vector<cast_entry> VideoMetadata::cast_list |
Definition at line 33 of file videometadata.h.
| VideoMetadata::VideoMetadata | ( | const QString & | filename = 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 & | subtitle = QString(), |
|||
| const QString & | tagline = QString(), |
|||
| int | year = VIDEO_YEAR_DEFAULT, |
|||
| const 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, |
|||
| const 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 | |||
| ) |
Definition at line 1106 of file videometadata.cpp.
| VideoMetadata::~VideoMetadata | ( | ) |
Definition at line 1131 of file videometadata.cpp.
| VideoMetadata::VideoMetadata | ( | MSqlQuery & | query | ) |
Definition at line 1136 of file videometadata.cpp.
| VideoMetadata::VideoMetadata | ( | const VideoMetadata & | rhs | ) |
Definition at line 1141 of file videometadata.cpp.
| VideoMetadata::SortKey VideoMetadata::GenerateDefaultSortKey | ( | const VideoMetadata & | m, | |
| bool | ignore_case | |||
| ) | [static] |
Definition at line 884 of file videometadata.cpp.
Referenced by VideoFilterSettings::meta_less_than(), and VideoListImp::update_meta_view().
| int VideoMetadata::UpdateHashedDBRecord | ( | const QString & | hash, | |
| const QString & | file_name, | |||
| const QString & | host | |||
| ) | [static] |
Definition at line 941 of file videometadata.cpp.
Referenced by VideoScannerThread::updateDB().
| QString VideoMetadata::VideoFileHash | ( | const QString & | file_name, | |
| const QString & | host | |||
| ) | [static] |
Definition at line 989 of file videometadata.cpp.
Referenced by VideoMetadataImp::Reset(), VideoMetadataImp::saveToDatabase(), and VideoScannerThread::updateDB().
| QString VideoMetadata::FilenameToMeta | ( | const QString & | file_name, | |
| int | position | |||
| ) | [static] |
Definition at line 1007 of file videometadata.cpp.
Referenced by Video::AddVideo(), dirhandler::handleFile(), ParseVideoFilename(), VideoPlayerCommandPrivate::PlayerFor(), VideoMetadataImp::Reset(), VideoMetadataImp::saveToDatabase(), and VideoScannerThread::updateDB().
| QString VideoMetadata::TrimTitle | ( | const QString & | title, | |
| bool | ignore_case | |||
| ) | [static] |
Definition at line 1099 of file videometadata.cpp.
Referenced by GenerateDefaultSortKey().
| VideoMetadata & VideoMetadata::operator= | ( | const VideoMetadata & | rhs | ) |
Definition at line 1146 of file videometadata.cpp.
| void VideoMetadata::toMap | ( | MetadataMap & | metadataMap | ) |
Definition at line 1156 of file videometadata.cpp.
Referenced by AddFileNode(), ItemDetailPopup::Create(), VideoDialog::UpdateItem(), and VideoDialog::UpdateText().
| void VideoMetadata::GetStateMap | ( | MetadataMap & | stateMap | ) |
Definition at line 1214 of file videometadata.cpp.
Referenced by AddFileNode(), and toMap().
| void VideoMetadata::GetImageMap | ( | MetadataMap & | imageMap | ) |
Definition at line 1223 of file videometadata.cpp.
Referenced by AddFileNode(), and toMap().
| bool VideoMetadata::HasSortKey | ( | ) | const |
Definition at line 1333 of file videometadata.cpp.
Referenced by VideoFilterSettings::meta_less_than().
| const VideoMetadata::SortKey & VideoMetadata::GetSortKey | ( | ) | const |
Definition at line 1338 of file videometadata.cpp.
Referenced by VideoFilterSettings::meta_less_than().
| void VideoMetadata::SetSortKey | ( | const SortKey & | sort_key | ) |
Definition at line 1343 of file videometadata.cpp.
| const QString & VideoMetadata::GetPrefix | ( | ) | const |
Definition at line 1348 of file videometadata.cpp.
Referenced by AddMetadataToDir().
| void VideoMetadata::SetPrefix | ( | const QString & | prefix | ) |
Definition at line 1353 of file videometadata.cpp.
| const QString & VideoMetadata::GetTitle | ( | void | ) | const |
Definition at line 1358 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::CreatePlayMenu(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GenerateDefaultSortKey(), VideoDialog::GetFirstImage(), VideoDialog::GetImageFromFolder(), meta_data_node::getName(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::RemoveVideo(), VideoDialog::StartVideoImageSet(), toMap(), VideoDialog::UpdateItem(), VideoDialog::VideoMenu(), and VideoDialog::VideoSearch().
| void VideoMetadata::SetTitle | ( | const QString & | title | ) |
Definition at line 1363 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetTitle().
| const QString & VideoMetadata::GetSubtitle | ( | void | ) | const |
Definition at line 1368 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), toMap(), VideoDialog::UpdateItem(), VideoDialog::VideoMenu(), and VideoDialog::VideoSearch().
| void VideoMetadata::SetSubtitle | ( | const QString & | subtitle | ) |
Definition at line 1373 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetSubtitle().
| const QString & VideoMetadata::GetTagline | ( | ) | const |
Definition at line 1378 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and toMap().
| void VideoMetadata::SetTagline | ( | const QString & | tagline | ) |
Definition at line 1383 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetTagline().
| int VideoMetadata::GetYear | ( | ) | const |
Definition at line 1388 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoListImp::buildGroupList(), EditMetadataDialog::fillWidgets(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| void VideoMetadata::SetYear | ( | int | year | ) |
Definition at line 1393 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetYear().
| QDate VideoMetadata::GetReleaseDate | ( | ) | const |
Definition at line 1398 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and toMap().
| void VideoMetadata::SetReleaseDate | ( | QDate | releasedate | ) |
Definition at line 1403 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and VideoDialog::OnVideoSearchDone().
| const QString & VideoMetadata::GetInetRef | ( | void | ) | const |
Definition at line 1408 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), and toMap().
| void VideoMetadata::SetInetRef | ( | const QString & | inetRef | ) |
Definition at line 1413 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetInetRef().
| int VideoMetadata::GetCollectionRef | ( | ) | const |
Definition at line 1418 of file videometadata.cpp.
| void VideoMetadata::SetCollectionRef | ( | int | collectionref | ) |
Definition at line 1423 of file videometadata.cpp.
| const QString & VideoMetadata::GetHomepage | ( | ) | const |
Definition at line 1428 of file videometadata.cpp.
Referenced by VideoDialog::CreateInfoMenu(), EditMetadataDialog::fillWidgets(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoDialog::ShowHomepage(), and toMap().
| void VideoMetadata::SetHomepage | ( | const QString & | homepage | ) |
Definition at line 1433 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetHomepage().
| const QString & VideoMetadata::GetDirector | ( | ) | const |
Definition at line 1438 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoListImp::buildGroupList(), EditMetadataDialog::fillWidgets(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| void VideoMetadata::SetDirector | ( | const QString & | director | ) |
Definition at line 1443 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetDirector().
| const QString & VideoMetadata::GetStudio | ( | ) | const |
Definition at line 1448 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and toMap().
| void VideoMetadata::SetStudio | ( | const QString & | studio | ) |
Definition at line 1453 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and VideoDialog::OnVideoSearchDone().
| const QString & VideoMetadata::GetPlot | ( | ) | const |
Definition at line 1458 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), PlotDialog::Create(), EditMetadataDialog::fillWidgets(), VideoFilterSettings::matches_filter(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| void VideoMetadata::SetPlot | ( | const QString & | plot | ) |
Definition at line 1463 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetPlot().
| float VideoMetadata::GetUserRating | ( | ) | const |
Definition at line 1468 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), EditMetadataDialog::fillWidgets(), GetStateMap(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and toMap().
| void VideoMetadata::SetUserRating | ( | float | userRating | ) |
Definition at line 1473 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetUserRating().
| const QString & VideoMetadata::GetRating | ( | ) | const |
Definition at line 1478 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), EditMetadataDialog::fillWidgets(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and toMap().
| void VideoMetadata::SetRating | ( | const QString & | rating | ) |
Definition at line 1483 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetRating().
| int VideoMetadata::GetLength | ( | ) | const |
Definition at line 1488 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), and toMap().
| void VideoMetadata::SetLength | ( | int | length | ) |
Definition at line 1493 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetLength().
| int VideoMetadata::GetSeason | ( | void | ) | const |
Definition at line 1508 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetImageMap(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), toMap(), and VideoDialog::VideoSearch().
| void VideoMetadata::SetSeason | ( | int | season | ) |
Definition at line 1513 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetSeason().
| int VideoMetadata::GetEpisode | ( | void | ) | const |
Definition at line 1518 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindNetArt(), GetImageMap(), MetadataFactory::Lookup(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), EditMetadataDialog::OnSearchListSelection(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::StartVideoImageSet(), toMap(), and VideoDialog::VideoSearch().
| void VideoMetadata::SetEpisode | ( | int | episode | ) |
Definition at line 1523 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and EditMetadataDialog::SetEpisode().
| QDate VideoMetadata::GetInsertdate | ( | ) | const |
Definition at line 1528 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), VideoFilterSettings::matches_filter(), VideoFilterSettings::meta_less_than(), and toMap().
| void VideoMetadata::SetInsertdate | ( | QDate | date | ) |
Definition at line 1533 of file videometadata.cpp.
| unsigned int VideoMetadata::GetID | ( | ) | const |
Definition at line 1538 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), EditMetadataDialog::fillWidgets(), GenerateDefaultSortKey(), VideoDialog::GetItemByMetadata(), VideoFilterSettings::meta_less_than(), VideoDialog::OnRemoveVideo(), and VideoPlayerCommandPrivate::PlayerFor().
| void VideoMetadata::SetID | ( | int | id | ) |
Definition at line 1543 of file videometadata.cpp.
| int VideoMetadata::GetChildID | ( | ) | const |
Definition at line 1548 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and toMap().
| void VideoMetadata::SetChildID | ( | int | childID | ) |
Definition at line 1553 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetChild().
| bool VideoMetadata::GetBrowse | ( | ) | const |
Definition at line 1558 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), VideoFilterSettings::matches_filter(), and toMap().
| void VideoMetadata::SetBrowse | ( | bool | browse | ) |
Definition at line 1563 of file videometadata.cpp.
| bool VideoMetadata::GetWatched | ( | ) | const |
Definition at line 1568 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetStateMap(), VideoFilterSettings::matches_filter(), VideoDialog::ToggleWatched(), toMap(), and VideoDialog::VideoMenu().
| void VideoMetadata::SetWatched | ( | bool | watched | ) |
Definition at line 1573 of file videometadata.cpp.
Referenced by VideoDialog::ToggleWatched().
| bool VideoMetadata::GetProcessed | ( | ) | const |
Definition at line 1578 of file videometadata.cpp.
Referenced by VideoDialog::CreateManageMenu(), VideoDialog::ToggleProcess(), toMap(), and VideoDialog::VideoAutoSearch().
| void VideoMetadata::SetProcessed | ( | bool | processed | ) |
Definition at line 1583 of file videometadata.cpp.
Referenced by VideoDialog::customEvent(), VideoDialog::OnVideoImageSetDone(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), and VideoDialog::ToggleProcess().
| VideoContentType VideoMetadata::GetContentType | ( | ) | const |
Definition at line 1588 of file videometadata.cpp.
| void VideoMetadata::SetContentType | ( | VideoContentType | contenttype | ) |
Definition at line 1593 of file videometadata.cpp.
| const QString & VideoMetadata::GetPlayCommand | ( | ) | const |
Definition at line 1598 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoPlayerCommandPrivate::PlayerFor().
| void VideoMetadata::SetPlayCommand | ( | const QString & | playCommand | ) |
Definition at line 1603 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetPlayer().
| unsigned int VideoMetadata::GetPlayCount | ( | ) | const |
Definition at line 1498 of file videometadata.cpp.
Referenced by toMap().
| void VideoMetadata::SetPlayCount | ( | int | count | ) |
Definition at line 1503 of file videometadata.cpp.
| ParentalLevel::Level VideoMetadata::GetShowLevel | ( | ) | const |
Definition at line 1608 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), GetStateMap(), VideoFilterSettings::matches_filter(), and VideoDialog::OnParentalChange().
| void VideoMetadata::SetShowLevel | ( | ParentalLevel::Level | showLevel | ) |
Definition at line 1613 of file videometadata.cpp.
Referenced by VideoDialogPrivate::AutomaticParentalAdjustment(), and VideoDialog::OnParentalChange().
| const QString & VideoMetadata::GetHost | ( | ) | const |
Definition at line 1633 of file videometadata.cpp.
Referenced by AddMetadataToDir(), VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::CreatePlayMenu(), EditMetadataDialog::fillWidgets(), EditMetadataDialog::FindBanner(), EditMetadataDialog::FindCoverArt(), EditMetadataDialog::FindFanart(), EditMetadataDialog::FindScreenshot(), EditMetadataDialog::FindTrailer(), VideoDialog::GetBanner(), VideoDialog::GetCoverImage(), VideoDialog::GetFanart(), VideoDialog::GetFirstImage(), VideoDialog::GetImageFromFolder(), GetImageMap(), VideoDialog::GetScreenshot(), MetadataFactory::Lookup(), EditMetadataDialog::OnSearchListSelection(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::playTrailer(), VideoDialog::StartVideoImageSet(), and TreeNodeDataPrivate::TreeNodeDataPrivate().
| void VideoMetadata::SetHost | ( | const QString & | host | ) |
Definition at line 1638 of file videometadata.cpp.
Referenced by Video::AddVideo().
| const QString & VideoMetadata::GetFilename | ( | ) | const |
Definition at line 1618 of file videometadata.cpp.
Referenced by AddMetadataToDir(), VideoPlayerCommandPrivate::AltPlayerFor(), GenerateDefaultSortKey(), VideoDialog::GetImageFromFolder(), MetadataFactory::Lookup(), VideoFilterSettings::meta_less_than(), ItemDetailPopup::OnPlay(), operator!=(), operator==(), VideoPlayerCommandPrivate::PlayerFor(), VideoDialog::playFolder(), VideoDialog::playVideo(), VideoDialog::playVideoAlt(), VideoDialog::playVideoWithTrailers(), metadata_path_sort::sort(), VideoDialog::StartVideoImageSet(), and toMap().
| void VideoMetadata::SetFilename | ( | const QString & | filename | ) |
Definition at line 1643 of file videometadata.cpp.
| const QString & VideoMetadata::GetHash | ( | ) | const |
Definition at line 1623 of file videometadata.cpp.
| void VideoMetadata::SetHash | ( | const QString & | hash | ) |
Definition at line 1628 of file videometadata.cpp.
| const QString & VideoMetadata::GetTrailer | ( | ) | const |
Definition at line 1648 of file videometadata.cpp.
Referenced by VideoDialog::CreatePlayMenu(), EditMetadataDialog::fillWidgets(), GetStateMap(), VideoDialog::playTrailer(), and VideoDialog::VideoMenu().
| void VideoMetadata::SetTrailer | ( | const QString & | trailer | ) |
Definition at line 1653 of file videometadata.cpp.
Referenced by EditMetadataDialog::SetTrailer().
| const QString & VideoMetadata::GetCoverFile | ( | ) | const |
Definition at line 1658 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), VideoDialog::GetCoverImage(), VideoDialog::GetFirstImage(), GetImageMap(), VideoFilterSettings::matches_filter(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetCoverFile | ( | const QString & | coverFile | ) |
Definition at line 1663 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), EditMetadataDialog::SetCoverArt(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetScreenshot | ( | ) | const |
Definition at line 1668 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), VideoDialog::GetFirstImage(), GetImageMap(), VideoDialog::GetScreenshot(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetScreenshot | ( | const QString & | screenshot | ) |
Definition at line 1673 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), EditMetadataDialog::SetScreenshot(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetBanner | ( | ) | const |
Definition at line 1678 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), VideoDialog::GetBanner(), VideoDialog::GetFirstImage(), GetImageMap(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetBanner | ( | const QString & | banner | ) |
Definition at line 1683 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), EditMetadataDialog::SetBanner(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetFanart | ( | ) | const |
Definition at line 1688 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), VideoDialog::GetFanart(), VideoDialog::GetFirstImage(), GetImageMap(), and VideoDialog::StartVideoImageSet().
| void VideoMetadata::SetFanart | ( | const QString & | fanart | ) |
Definition at line 1693 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), EditMetadataDialog::SetFanart(), and VideoDialog::StartVideoImageSet().
| const QString & VideoMetadata::GetCategory | ( | void | ) | const |
Definition at line 1698 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), toMap(), and VideoMetadataImp::VideoMetadataImp().
| const VideoMetadata::genre_list & VideoMetadata::GetGenres | ( | ) | const |
Definition at line 1708 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), GetDisplayGenres(), and VideoFilterSettings::matches_filter().
| void VideoMetadata::SetGenres | ( | const genre_list & | genres | ) |
Definition at line 1713 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and VideoDialog::OnVideoSearchDone().
| const VideoMetadata::cast_list & VideoMetadata::GetCast | ( | ) | const |
Definition at line 1718 of file videometadata.cpp.
Referenced by VideoListImp::buildGroupList(), VideoDialog::CreateInfoMenu(), GetDisplayCast(), and VideoFilterSettings::matches_filter().
| void VideoMetadata::SetCast | ( | const cast_list & | cast | ) |
Definition at line 1723 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and VideoDialog::OnVideoSearchDone().
| const VideoMetadata::country_list & VideoMetadata::GetCountries | ( | ) | const |
Definition at line 1728 of file videometadata.cpp.
Referenced by GetDisplayCountries(), and VideoFilterSettings::matches_filter().
| void VideoMetadata::SetCountries | ( | const country_list & | countries | ) |
Definition at line 1733 of file videometadata.cpp.
Referenced by MetadataFactory::OnVideoResult(), and VideoDialog::OnVideoSearchDone().
| int VideoMetadata::GetCategoryID | ( | ) | const |
Definition at line 1738 of file videometadata.cpp.
Referenced by EditMetadataDialog::fillWidgets(), and VideoFilterSettings::matches_filter().
| void VideoMetadata::SetCategoryID | ( | int | id | ) |
Definition at line 1743 of file videometadata.cpp.
Referenced by EditMetadataDialog::AddCategory(), and EditMetadataDialog::SetCategory().
| void VideoMetadata::SaveToDatabase | ( | ) |
Definition at line 1748 of file videometadata.cpp.
Referenced by Video::AddVideo().
| void VideoMetadata::UpdateDatabase | ( | ) |
Definition at line 1753 of file videometadata.cpp.
Referenced by VideoDialog::customEvent(), VideoDialog::OnParentalChange(), VideoDialog::OnVideoImageSetDone(), MetadataFactory::OnVideoResult(), VideoDialog::OnVideoSearchDone(), VideoDialog::ResetMetadata(), EditMetadataDialog::SaveAndExit(), VideoDialog::ToggleProcess(), and VideoDialog::ToggleWatched().
| bool VideoMetadata::DeleteFromDatabase | ( | ) |
Definition at line 1758 of file videometadata.cpp.
| bool VideoMetadata::FillDataFromFilename | ( | const VideoMetadataListManager & | cache | ) |
Definition at line 1780 of file videometadata.cpp.
| bool VideoMetadata::DeleteFile | ( | ) |
Definition at line 1796 of file videometadata.cpp.
| void VideoMetadata::Reset | ( | void | ) |
Resets to default metadata.
Definition at line 1801 of file videometadata.cpp.
Referenced by VideoDialog::ResetMetadata().
| bool VideoMetadata::IsHostSet | ( | ) | const |
Definition at line 1806 of file videometadata.cpp.
Referenced by VideoPlayerCommandPrivate::AltPlayerFor(), VideoDialog::GetBanner(), VideoDialog::GetCoverImage(), VideoDialog::GetFanart(), GetImageMap(), VideoDialog::GetScreenshot(), VideoPlayerCommandPrivate::PlayerFor(), and VideoDialog::playTrailer().
class VideoMetadataImp* VideoMetadata::m_imp [private] |
Definition at line 250 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(), GetInetRef(), GetInsertdate(), GetLength(), GetPlayCommand(), GetPlayCount(), GetPlot(), GetPrefix(), GetProcessed(), GetRating(), GetReleaseDate(), GetScreenshot(), GetSeason(), GetShowLevel(), GetSortKey(), GetStudio(), GetSubtitle(), GetTagline(), GetTitle(), GetTrailer(), GetUserRating(), GetWatched(), GetYear(), HasSortKey(), 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(), SetSortKey(), SetStudio(), SetSubtitle(), SetTagline(), SetTitle(), SetTrailer(), SetUserRating(), SetWatched(), SetYear(), UpdateDatabase(), VideoMetadata(), and ~VideoMetadata().
1.6.3