MythTV  master
Classes | Macros | Functions | Variables
metadatagrabber.cpp File Reference
#include <QDateTime>
#include <QDir>
#include <QMap>
#include <QMutex>
#include <QMutexLocker>
#include <QRegExp>
#include <utility>
#include "metadatagrabber.h"
#include "metadatacommon.h"
#include "mythsystemlegacy.h"
#include "exitcodes.h"
#include "mythdate.h"
#include "mythdirs.h"
#include "mythlogging.h"
#include "mythcorecontext.h"
Include dependency graph for metadatagrabber.cpp:

Go to the source code of this file.

Classes

struct  GrabberOpts
 

Macros

#define LOC   QString("Metadata Grabber: ")
 
#define kGrabberRefresh   60
 

Functions

static GrabberOpts GrabberOptsMaker (QString thepath, QString thesetting, QString thedefault)
 
static void InitializeStaticMaps (void)
 

Variables

static GrabberList grabberList
 
static QMutex grabberLock
 
static QDateTime grabberAge
 
static QMap< GrabberType, GrabberOptsgrabberTypes
 
static QMap< QString, GrabberTypegrabberTypeStrings
 
static bool initialized = false
 
static QMutex typeLock
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("Metadata Grabber: ")

Definition at line 20 of file metadatagrabber.cpp.

◆ kGrabberRefresh

#define kGrabberRefresh   60

Definition at line 21 of file metadatagrabber.cpp.

Function Documentation

◆ GrabberOptsMaker()

static GrabberOpts GrabberOptsMaker ( QString  thepath,
QString  thesetting,
QString  thedefault 
)
static

Definition at line 43 of file metadatagrabber.cpp.

Referenced by InitializeStaticMaps().

◆ InitializeStaticMaps()

static void InitializeStaticMaps ( void  )
static

Definition at line 54 of file metadatagrabber.cpp.

Referenced by MetaGrabberScript::GetList(), and MetaGrabberScript::GetType().

Variable Documentation

◆ grabberList

GrabberList grabberList
static

Definition at line 23 of file metadatagrabber.cpp.

Referenced by MetaGrabberScript::GetList().

◆ grabberLock

QMutex grabberLock
static

Definition at line 24 of file metadatagrabber.cpp.

Referenced by MetaGrabberScript::GetList().

◆ grabberAge

QDateTime grabberAge
static

Definition at line 25 of file metadatagrabber.cpp.

Referenced by MetaGrabberScript::GetList(), and MetaGrabberScript::GetType().

◆ grabberTypes

QMap<GrabberType, GrabberOpts> grabberTypes
static

◆ grabberTypeStrings

QMap<QString, GrabberType> grabberTypeStrings
static

◆ initialized

bool initialized = false
static

Definition at line 40 of file metadatagrabber.cpp.

Referenced by InitializeStaticMaps().

◆ typeLock

QMutex typeLock
static

Definition at line 41 of file metadatagrabber.cpp.

Referenced by InitializeStaticMaps().