Go to the documentation of this file.
46 LOG(VB_GENERAL, LOG_ERR,
"Cannot load screen 'MythMetadataResults'");
63 if (coverartfile.isEmpty())
70 if (coverartfile.isEmpty())
80 if (!coverartfile.isEmpty())
85 button->SetImage(dlfile);
90 QVariant::fromValue<uint>(pos));
94 button->SetTextFromMap(metadataMap);
95 button->SetData(QVariant::fromValue<uint>(i));
108 QString cache = QString(
"%1/cache/metadata-thumbcache")
110 QDir cacheDir(cache);
111 QStringList thumbs = cacheDir.entryList(QDir::Files);
113 for (
auto i = thumbs.crbegin(); i != thumbs.crend(); ++i)
115 QString
filename = QString(
"%1/%2").arg(cache, *i);
117 QDateTime lastmod = fi.lastModified();
120 LOG(VB_GENERAL, LOG_DEBUG, QString(
"Deleting old cache file %1")
static const Type kEventType
#define LOG(_MASK_, _LEVEL_, _QSTRING_)
Screen in which all other widgets are contained and rendered.
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
QHash< QString, QString > InfoMap
void BuildFocusList(void)
RefCountHandler< T > takeAtAndDecr(int i)
Removes the item at index position i and returns it.
T * takeFirst(void)
Removes the first item in the list and returns it.
static bool Assign(ContainerType *container, UIType *&item, const QString &name, bool *err=nullptr)
static bool LoadWindowFromXML(const QString &xmlfile, const QString &windowname, MythUIType *parent)