MythTV
master
|
#include <metadatafactory.h>
Public Member Functions | |
MetadataFactory (QObject *parent) | |
~MetadataFactory () override | |
void | Lookup (ProgramInfo *pginfo, bool automatic=true, bool getimages=true, bool allowgeneric=false) |
void | Lookup (VideoMetadata *metadata, bool automatic=true, bool getimages=true, bool allowgeneric=false) |
void | Lookup (RecordingRule *recrule, bool automatic=true, bool getimages=true, bool allowgeneric=false) |
void | Lookup (MetadataLookup *lookup) |
MetadataLookupList | SynchronousLookup (const QString &title, const QString &subtitle, const QString &inetref, int season, int episode, const QString &grabber, bool allowgeneric=false) |
MetadataLookupList | SynchronousLookup (MetadataLookup *lookup) |
void | VideoScan () |
void | VideoScan (const QStringList &hosts) |
bool | IsRunning () |
Static Public Member Functions | |
static bool | VideoGrabbersFunctional () |
Private Member Functions | |
void | customEvent (QEvent *levent) override |
void | OnMultiResult (const MetadataLookupList &list) |
void | OnSingleResult (MetadataLookup *lookup) |
void | OnNoResult (MetadataLookup *lookup) |
void | OnImageResult (MetadataLookup *lookup) |
void | OnVideoResult (MetadataLookup *lookup) |
Private Attributes | |
MetadataDownload * | m_lookupthread {nullptr} |
MetadataImageDownload * | m_imagedownload {nullptr} |
VideoScannerThread * | m_videoscanner {nullptr} |
VideoMetadataListManager * | m_mlm {nullptr} |
bool | m_scanning {false} |
MetadataLookupList | m_returnList |
bool | m_sync {false} |
Definition at line 85 of file metadatafactory.h.
|
explicit |
Definition at line 78 of file metadatafactory.cpp.
|
override |
Definition at line 88 of file metadatafactory.cpp.
void MetadataFactory::Lookup | ( | ProgramInfo * | pginfo, |
bool | automatic = true , |
||
bool | getimages = true , |
||
bool | allowgeneric = false |
||
) |
Definition at line 139 of file metadatafactory.cpp.
Referenced by customEvent(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordingRules(), LookerUpper::HandleAllRecordings(), LookerUpper::HandleSingleRecording(), VideoDialog::OnVideoSearchListSelection(), MetadataOptions::PerformQuery(), RecMetadataEdit::PerformQuery(), and VideoDialog::VideoSearch().
void MetadataFactory::Lookup | ( | VideoMetadata * | metadata, |
bool | automatic = true , |
||
bool | getimages = true , |
||
bool | allowgeneric = false |
||
) |
Definition at line 167 of file metadatafactory.cpp.
void MetadataFactory::Lookup | ( | RecordingRule * | recrule, |
bool | automatic = true , |
||
bool | getimages = true , |
||
bool | allowgeneric = false |
||
) |
Definition at line 111 of file metadatafactory.cpp.
void MetadataFactory::Lookup | ( | MetadataLookup * | lookup | ) |
Definition at line 197 of file metadatafactory.cpp.
META_PUBLIC MetadataLookupList MetadataFactory::SynchronousLookup | ( | const QString & | title, |
const QString & | subtitle, | ||
const QString & | inetref, | ||
int | season, | ||
int | episode, | ||
const QString & | grabber, | ||
bool | allowgeneric = false |
||
) |
Definition at line 208 of file metadatafactory.cpp.
MetadataLookupList MetadataFactory::SynchronousLookup | ( | MetadataLookup * | lookup | ) |
Definition at line 239 of file metadatafactory.cpp.
void MetadataFactory::VideoScan | ( | ) |
Definition at line 268 of file metadatafactory.cpp.
Referenced by MainServer::HandleScanVideos().
void MetadataFactory::VideoScan | ( | const QStringList & | hosts | ) |
Definition at line 284 of file metadatafactory.cpp.
|
inline |
Definition at line 113 of file metadatafactory.h.
Referenced by LookerUpper::StillWorking(), and VideoScan().
|
static |
Definition at line 262 of file metadatafactory.cpp.
Referenced by LookerUpper::AllOK().
|
overrideprivate |
Definition at line 521 of file metadatafactory.cpp.
|
private |
Definition at line 296 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 306 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 367 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 377 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 387 of file metadatafactory.cpp.
Referenced by customEvent(), and OnSingleResult().
|
private |
Definition at line 130 of file metadatafactory.h.
Referenced by Lookup(), MetadataFactory(), SynchronousLookup(), and ~MetadataFactory().
|
private |
Definition at line 131 of file metadatafactory.h.
Referenced by MetadataFactory(), OnSingleResult(), and ~MetadataFactory().
|
private |
Definition at line 133 of file metadatafactory.h.
Referenced by customEvent(), MetadataFactory(), VideoScan(), and ~MetadataFactory().
|
private |
Definition at line 134 of file metadatafactory.h.
Referenced by customEvent(), MetadataFactory(), and ~MetadataFactory().
Definition at line 135 of file metadatafactory.h.
Referenced by customEvent(), OnSingleResult(), and VideoScan().
|
private |
Definition at line 138 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().
Definition at line 139 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().