We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c80db commit 6ef09ccCopy full SHA for 6ef09cc
mythtv/libs/libmythmetadata/metadataimagedownload.cpp
@@ -82,7 +82,17 @@ void MetadataImageDownload::run()
82
83
bool exists = QFile::exists(sFilename);
84
if (!exists && !thumb->url.isEmpty())
85
- GetMythDownloadManager()->download(thumb->url, sFilename);
+ {
86
+ if (!GetMythDownloadManager()->download(thumb->url, sFilename))
87
88
+ LOG(VB_GENERAL, LOG_ERR,
89
+ QString("MetadataImageDownload: failed to download thumbnail from: %1")
90
+ .arg(thumb->url));
91
+
92
+ delete thumb;
93
+ continue;
94
+ }
95
96
97
// inform parent we have thumbnail ready for it
98
if (QFile::exists(sFilename) && m_parent)
0 commit comments