MythTV  master
metadataimagehelper.h
Go to the documentation of this file.
1 #ifndef _METADATAIMAGEHELPER_H_
2 #define _METADATAIMAGEHELPER_H_
3 
4 #include <QObject>
5 #include <QMultiMap>
6 #include <QMetaType>
7 
8 #include "mythtvexp.h"
9 
19 };
20 
22 {
23  QString label;
24  QString thumbnail;
25  QString url;
28 };
29 
30 typedef QList< ArtworkInfo > ArtworkList;
31 
32 typedef QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap;
33 
34 MTV_PUBLIC ArtworkMap GetArtwork(const QString& inetref,
35  uint season,
36  bool strict = false);
37 MTV_PUBLIC bool SetArtwork(const QString &inetref,
38  uint season,
39  const QString &host,
40  const QString &coverart,
41  const QString &fanart,
42  const QString &banner);
43 MTV_PUBLIC bool SetArtwork(const QString &inetref,
44  uint season,
45  const QString &host,
46  const ArtworkMap& map);
47 
50 
51 #endif
MTV_PUBLIC ArtworkMap GetArtwork(const QString &inetref, uint season, bool strict=false)
VideoArtworkType
unsigned int uint
Definition: compat.h:140
Q_DECLARE_METATYPE(GrabberScript *)
#define MTV_PUBLIC
Definition: mythtvexp.h:15
QList< ArtworkInfo > ArtworkList
QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap
MTV_PUBLIC bool SetArtwork(const QString &inetref, uint season, const QString &host, const QString &coverart, const QString &fanart, const QString &banner)