MythTV  0.26-pre
Public Member Functions | Private Member Functions | Private Attributes
MetadataFactory Class Reference

#include <metadatafactory.h>

List of all members.

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
MetadataDownloadm_lookupthread
MetadataImageDownloadm_imagedownload
VideoScannerThreadm_videoscanner
VideoMetadataListManagerm_mlm
bool m_scanning
MetadataLookupList m_returnList
bool m_sync

Detailed Description

Definition at line 70 of file metadatafactory.h.


Constructor & Destructor Documentation

MetadataFactory::MetadataFactory ( QObject *  parent)

Definition at line 38 of file metadatafactory.cpp.

Definition at line 49 of file metadatafactory.cpp.


Member Function Documentation

void MetadataFactory::Lookup ( ProgramInfo pginfo,
bool  automatic = true,
bool  getimages = true,
bool  allowgeneric = false 
)
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.

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().

Definition at line 203 of file metadatafactory.cpp.

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.

Definition at line 98 of file metadatafactory.h.

Referenced by LookerUpper::StillWorking(), and VideoScan().

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.

Definition at line 262 of file metadatafactory.cpp.

Referenced by customEvent().

Definition at line 272 of file metadatafactory.cpp.

Referenced by customEvent().

Definition at line 332 of file metadatafactory.cpp.

Referenced by customEvent().

Definition at line 342 of file metadatafactory.cpp.

Referenced by customEvent().

Definition at line 352 of file metadatafactory.cpp.

Referenced by customEvent(), and OnSingleResult().


Member Data Documentation

QObject* MetadataFactory::m_parent [private]

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().

Definition at line 120 of file metadatafactory.h.

Referenced by customEvent(), and MetadataFactory().

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().

Definition at line 125 of file metadatafactory.h.

Referenced by customEvent(), and SynchronousLookup().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends