MythTV  master
Classes | Typedefs | Enumerations | Functions
metadataimagehelper.h File Reference
#include <QObject>
#include <QMultiMap>
#include <QMetaType>
#include "mythtvexp.h"
Include dependency graph for metadataimagehelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ArtworkInfo
 

Typedefs

typedef QList< ArtworkInfoArtworkList
 
typedef QMultiMap< VideoArtworkType, ArtworkInfoArtworkMap
 

Enumerations

enum  VideoArtworkType {
  kArtworkCoverart = 0, kArtworkFanart = 1, kArtworkBanner = 2, kArtworkScreenshot = 3,
  kArtworkPoster = 4, kArtworkBackCover = 5, kArtworkInsideCover = 6, kArtworkCDImage = 7
}
 

Functions

MTV_PUBLIC ArtworkMap GetArtwork (const QString &inetref, uint season, bool strict=false)
 
MTV_PUBLIC bool SetArtwork (const QString &inetref, uint season, const QString &host, const QString &coverart, const QString &fanart, const QString &banner)
 
MTV_PUBLIC bool SetArtwork (const QString &inetref, uint season, const QString &host, const ArtworkMap &map)
 

Typedef Documentation

◆ ArtworkList

typedef QList< ArtworkInfo > ArtworkList

Definition at line 30 of file metadataimagehelper.h.

◆ ArtworkMap

typedef QMultiMap< VideoArtworkType, ArtworkInfo > ArtworkMap

Definition at line 32 of file metadataimagehelper.h.

Enumeration Type Documentation

◆ VideoArtworkType

Enumerator
kArtworkCoverart 
kArtworkFanart 
kArtworkBanner 
kArtworkScreenshot 
kArtworkPoster 
kArtworkBackCover 
kArtworkInsideCover 
kArtworkCDImage 

Definition at line 10 of file metadataimagehelper.h.

Function Documentation

◆ GetArtwork()

MTV_PUBLIC ArtworkMap GetArtwork ( const QString &  inetref,
uint  season,
bool  strict = false 
)

◆ SetArtwork() [1/2]

MTV_PUBLIC bool SetArtwork ( const QString &  inetref,
uint  season,
const QString &  host,
const QString &  coverart,
const QString &  fanart,
const QString &  banner 
)

◆ SetArtwork() [2/2]

MTV_PUBLIC bool SetArtwork ( const QString &  inetref,
uint  season,
const QString &  host,
const ArtworkMap map 
)

Definition at line 129 of file metadataimagehelper.cpp.