1 #ifndef METADATAFACTORY_H_
2 #define METADATAFACTORY_H_
24 : QEvent(kEventType), m_results(res) {}
36 : QEvent(kEventType), m_result(res)
54 : QEvent(kEventType), m_result(res)
72 QList<int>dels) : QEvent(kEventType),
73 m_additions(std::move(adds)),
74 m_moved(std::move(movs)),
75 m_deleted(std::move(dels)) {}
93 void Lookup(
ProgramInfo *pginfo,
bool automatic =
true,
94 bool getimages =
true,
bool allowgeneric =
false);
96 bool getimages =
true,
bool allowgeneric =
false);
98 bool getimages =
true,
bool allowgeneric =
false);
102 const QString& subtitle,
103 const QString& inetref,
106 const QString& grabber,
107 bool allowgeneric =
false);
111 void VideoScan(
const QStringList& hosts);
113 bool IsRunning() {
return m_lookupthread->isRunning() ||
114 m_imagedownload->isRunning() ||
115 m_videoscanner->isRunning(); };
117 static bool VideoGrabbersFunctional();
121 void customEvent(QEvent *levent)
override;
135 bool m_scanning {
false};