|
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 78 of file metadatafactory.cpp.
|
override |
Definition at line 87 of file metadatafactory.cpp.
|
overrideprivate |
Definition at line 520 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 196 of file metadatafactory.cpp.
| void MetadataFactory::Lookup | ( | ProgramInfo * | pginfo, |
| bool | automatic = true, |
||
| bool | getimages = true, |
||
| bool | allowgeneric = false |
||
| ) |
Definition at line 138 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 110 of file metadatafactory.cpp.
| void MetadataFactory::Lookup | ( | VideoMetadata * | metadata, |
| bool | automatic = true, |
||
| bool | getimages = true, |
||
| bool | allowgeneric = false |
||
| ) |
Definition at line 166 of file metadatafactory.cpp.
|
private |
Definition at line 376 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 295 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 366 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 305 of file metadatafactory.cpp.
Referenced by customEvent().
|
private |
Definition at line 386 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 207 of file metadatafactory.cpp.
Referenced by SynchronousLookup().
| MetadataLookupList MetadataFactory::SynchronousLookup | ( | MetadataLookup * | lookup | ) |
Definition at line 238 of file metadatafactory.cpp.
|
static |
Definition at line 261 of file metadatafactory.cpp.
Referenced by LookerUpper::AllOK().
| void MetadataFactory::VideoScan | ( | ) |
Definition at line 267 of file metadatafactory.cpp.
Referenced by MainServer::HandleScanVideos(), and VideoScan().
| void MetadataFactory::VideoScan | ( | const QStringList & | hosts | ) |
Definition at line 283 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().
|
private |
Definition at line 135 of file metadatafactory.h.
Referenced by customEvent(), OnSingleResult(), and VideoScan().
|
private |
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().