Go to the documentation of this file. 1 #ifndef METADATACOMMON_H_
2 #define METADATACOMMON_H_
10 #include <QDomElement>
16 #include <QStringList>
85 using PeopleMap = QMultiMap< PeopleType, PersonInfo >;
100 bool allowoverwrites,
105 const QString &title,
108 QStringList categories,
121 QString chanplaybackfilters,
126 QString storagegroup,
129 QDateTime recstartts,
132 uint audioproperties,
133 uint videoproperties,
135 QString certification,
136 QStringList countries,
145 QDateTime lastupdated,
146 std::chrono::minutes runtime,
147 std::chrono::seconds runtimesecs,
149 QString collectionref,
167 bool allowoverwrites,
172 const QString &title,
173 QStringList categories,
181 QString chanplaybackfilters,
186 QString storagegroup,
189 QDateTime recstartts,
192 uint audioproperties,
193 uint videoproperties,
197 QDateTime lastupdated,
198 std::chrono::minutes runtime,
199 std::chrono::seconds runtimesecs);
209 bool allowoverwrites,
214 const QString &title,
215 QStringList categories,
222 QString certification,
225 std::chrono::minutes runtime,
226 std::chrono::seconds runtimesecs,
242 void SetData(QVariant data) { m_data = std::move(data); };
252 void SetHost(
const QString &host) { m_host = host; };
259 QString manRecSuffix = QString(
" (%1)").arg(QObject::tr(
"Manual Record"));
261 m_baseTitle.replace(manRecSuffix,
"");
266 void SetSubtitle(
const QString &subtitle) { m_subtitle = subtitle; };
269 void SetInetref(
const QString &inetref) { m_inetRef = inetref; };
271 { m_collectionRef = collectionref; };
272 void SetTMSref(
const QString &tmsref) { m_tmsRef = tmsref; };
275 { m_dvdOrder = preferdvdorder; };
278 void SetAlbum(
const QString &album) { m_album = album; };
282 void SetSystem(
const QString &system) { m_system = system; };
352 std::chrono::minutes
GetRuntime()
const {
return m_runtime; };
380 bool m_automatic {
false};
381 bool m_handleImages {
false};
382 bool m_allowOverwrites {
false};
383 bool m_allowGeneric {
false};
384 bool m_dvdOrder {
false};
393 float m_userRating {0.0};
424 float m_popularity {0};
439 std::chrono::minutes m_runtime {0min};
440 std::chrono::seconds m_runtimeSecs {0s};
447 bool m_isCollection {
false};
469 QDomElement placetoadd,
470 QDomDocument docroot);
473 QDomElement placetoadd,
474 QDomDocument docroot);
476 QDomElement placetoadd,
477 QDomDocument docroot);
479 QDomElement placetoadd,
480 QDomDocument docroot);
482 QDomElement placetoadd,
483 QDomDocument docroot);
489 bool passseas =
true);
497 const QStringList &candidates);
504 #endif // METADATACOMMON_H_
Q_DECLARE_METATYPE(StandardSetting *)
QHash< QString, QString > InfoMap
Holds information on recordings and videos.
General purpose reference counter.