MythTV master
|
#include <libmythmetadata/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 79 of file metadatafactory.cpp.
|
override |
Definition at line 88 of file metadatafactory.cpp.
|
overrideprivate |
Definition at line 521 of file metadatafactory.cpp.
|
inline |
Definition at line 113 of file metadatafactory.h.
Referenced by LookerUpper::StillWorking(), and VideoScan().
void MetadataFactory::Lookup | ( | MetadataLookup * | lookup | ) |
Definition at line 197 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 | ( | RecordingRule * | recrule, |
bool | automatic = true , |
||
bool | getimages = true , |
||
bool | allowgeneric = false |
||
) |
Definition at line 111 of file metadatafactory.cpp.
void MetadataFactory::Lookup | ( | VideoMetadata * | metadata, |
bool | automatic = true , |
||
bool | getimages = true , |
||
bool | allowgeneric = false |
||
) |
Definition at line 167 of file metadatafactory.cpp.
|
private |
Definition at line 377 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 296 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 367 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 306 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 387 of file metadatafactory.cpp.
Referenced by customEvent(), and OnSingleResult().
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.
Referenced by SynchronousLookup().
MetadataLookupList MetadataFactory::SynchronousLookup | ( | MetadataLookup * | lookup | ) |
Definition at line 239 of file metadatafactory.cpp.
|
static |
Definition at line 262 of file metadatafactory.cpp.
Referenced by LookerUpper::AllOK().
void MetadataFactory::VideoScan | ( | ) |
Definition at line 268 of file metadatafactory.cpp.
Referenced by MainServer::HandleScanVideos(), and VideoScan().
void MetadataFactory::VideoScan | ( | const QStringList & | hosts | ) |
Definition at line 284 of file metadatafactory.cpp.
|
private |
Definition at line 131 of file metadatafactory.h.
Referenced by OnSingleResult(), and ~MetadataFactory().
|
private |
Definition at line 130 of file metadatafactory.h.
Referenced by Lookup(), SynchronousLookup(), and ~MetadataFactory().
|
private |
Definition at line 134 of file metadatafactory.h.
Referenced by customEvent(), and ~MetadataFactory().
|
private |
Definition at line 138 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().
Definition at line 135 of file metadatafactory.h.
Referenced by customEvent(), OnSingleResult(), and VideoScan().
Definition at line 139 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().
|
private |
Definition at line 133 of file metadatafactory.h.
Referenced by customEvent(), VideoScan(), and ~MetadataFactory().