#include <metadatafactory.h>
Public Member Functions | |
| MetadataFactory (QObject *parent) | |
| ~MetadataFactory () | |
| 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 (QString title, QString subtitle, QString inetref, int season, int episode, QString grabber, bool allowgeneric=false) |
| MetadataLookupList | SynchronousLookup (MetadataLookup *lookup) |
| void | VideoScan () |
| void | VideoScan (QStringList hosts) |
| bool | IsRunning () |
| bool | VideoGrabbersFunctional () |
Private Member Functions | |
| void | customEvent (QEvent *levent) |
| void | OnMultiResult (MetadataLookupList list) |
| void | OnSingleResult (MetadataLookup *lookup) |
| void | OnNoResult (MetadataLookup *lookup) |
| void | OnImageResult (MetadataLookup *lookup) |
| void | OnVideoResult (MetadataLookup *lookup) |
Private Attributes | |
| QObject * | m_parent |
| MetadataDownload * | m_lookupthread |
| MetadataImageDownload * | m_imagedownload |
| VideoScannerThread * | m_videoscanner |
| VideoMetadataListManager * | m_mlm |
| bool | m_scanning |
| MetadataLookupList | m_returnList |
| bool | m_sync |
Definition at line 70 of file metadatafactory.h.
| MetadataFactory::MetadataFactory | ( | QObject * | parent | ) |
Definition at line 38 of file metadatafactory.cpp.
| MetadataFactory::~MetadataFactory | ( | ) |
Definition at line 49 of file metadatafactory.cpp.
| void MetadataFactory::Lookup | ( | ProgramInfo * | pginfo, | |
| bool | automatic = true, |
|||
| bool | getimages = true, |
|||
| bool | allowgeneric = false | |||
| ) |
Definition at line 96 of file metadatafactory.cpp.
Referenced by customEvent(), LookerUpper::HandleAllArtwork(), LookerUpper::HandleAllRecordingRules(), LookerUpper::HandleAllRecordings(), LookerUpper::HandleSingleRecording(), VideoDialog::OnVideoSearchListSelection(), MetadataOptions::PerformQuery(), and VideoDialog::VideoSearch().
| void MetadataFactory::Lookup | ( | VideoMetadata * | metadata, | |
| bool | automatic = true, |
|||
| bool | getimages = true, |
|||
| bool | allowgeneric = false | |||
| ) |
Definition at line 123 of file metadatafactory.cpp.
| void MetadataFactory::Lookup | ( | RecordingRule * | recrule, | |
| bool | automatic = true, |
|||
| bool | getimages = true, |
|||
| bool | allowgeneric = false | |||
| ) |
Definition at line 69 of file metadatafactory.cpp.
| void MetadataFactory::Lookup | ( | MetadataLookup * | lookup | ) |
Definition at line 162 of file metadatafactory.cpp.
| META_PUBLIC MetadataLookupList MetadataFactory::SynchronousLookup | ( | QString | title, | |
| QString | subtitle, | |||
| QString | inetref, | |||
| int | season, | |||
| int | episode, | |||
| QString | grabber, | |||
| bool | allowgeneric = false | |||
| ) |
Definition at line 173 of file metadatafactory.cpp.
Referenced by Video::LookupVideo().
| MetadataLookupList MetadataFactory::SynchronousLookup | ( | MetadataLookup * | lookup | ) |
Definition at line 203 of file metadatafactory.cpp.
| void MetadataFactory::VideoScan | ( | ) |
Definition at line 234 of file metadatafactory.cpp.
Referenced by MainServer::HandleScanVideos().
| void MetadataFactory::VideoScan | ( | QStringList | hosts | ) |
Definition at line 250 of file metadatafactory.cpp.
| bool MetadataFactory::IsRunning | ( | ) | [inline] |
Definition at line 98 of file metadatafactory.h.
Referenced by LookerUpper::StillWorking(), and VideoScan().
| bool MetadataFactory::VideoGrabbersFunctional | ( | ) |
Definition at line 228 of file metadatafactory.cpp.
Referenced by LookerUpper::AllOK().
| void MetadataFactory::customEvent | ( | QEvent * | levent | ) | [private] |
Definition at line 503 of file metadatafactory.cpp.
| void MetadataFactory::OnMultiResult | ( | MetadataLookupList | list | ) | [private] |
Definition at line 262 of file metadatafactory.cpp.
Referenced by customEvent().
| void MetadataFactory::OnSingleResult | ( | MetadataLookup * | lookup | ) | [private] |
Definition at line 272 of file metadatafactory.cpp.
Referenced by customEvent().
| void MetadataFactory::OnNoResult | ( | MetadataLookup * | lookup | ) | [private] |
Definition at line 332 of file metadatafactory.cpp.
Referenced by customEvent().
| void MetadataFactory::OnImageResult | ( | MetadataLookup * | lookup | ) | [private] |
Definition at line 342 of file metadatafactory.cpp.
Referenced by customEvent().
| void MetadataFactory::OnVideoResult | ( | MetadataLookup * | lookup | ) | [private] |
Definition at line 352 of file metadatafactory.cpp.
Referenced by customEvent(), and OnSingleResult().
QObject* MetadataFactory::m_parent [private] |
Definition at line 115 of file metadatafactory.h.
Referenced by customEvent(), OnImageResult(), OnMultiResult(), OnNoResult(), OnSingleResult(), and OnVideoResult().
MetadataDownload* MetadataFactory::m_lookupthread [private] |
Definition at line 116 of file metadatafactory.h.
Referenced by Lookup(), MetadataFactory(), SynchronousLookup(), VideoGrabbersFunctional(), and ~MetadataFactory().
Definition at line 117 of file metadatafactory.h.
Referenced by MetadataFactory(), OnSingleResult(), and ~MetadataFactory().
Definition at line 119 of file metadatafactory.h.
Referenced by customEvent(), MetadataFactory(), VideoScan(), and ~MetadataFactory().
VideoMetadataListManager* MetadataFactory::m_mlm [private] |
Definition at line 120 of file metadatafactory.h.
Referenced by customEvent(), and MetadataFactory().
bool MetadataFactory::m_scanning [private] |
Definition at line 121 of file metadatafactory.h.
Referenced by customEvent(), OnSingleResult(), and VideoScan().
Definition at line 124 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().
bool MetadataFactory::m_sync [private] |
Definition at line 125 of file metadatafactory.h.
Referenced by customEvent(), and SynchronousLookup().
1.6.3