diff options
-rw-r--r-- | xbmc/addons/addoninfo/AddonInfoBuilder.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xbmc/addons/addoninfo/AddonInfoBuilder.cpp b/xbmc/addons/addoninfo/AddonInfoBuilder.cpp index e5a7d040fd..36b0b724b9 100644 --- a/xbmc/addons/addoninfo/AddonInfoBuilder.cpp +++ b/xbmc/addons/addoninfo/AddonInfoBuilder.cpp @@ -272,6 +272,12 @@ bool CAddonInfoBuilder::ParseXML(const AddonInfoPtr& addon, const TiXmlElement* if (elementsAssets->GetText() != nullptr) addon->m_art[value] = URIUtils::AddFileToFolder(assetBasePath, elementsAssets->GetText()); } + else if (value == "thumb") + { + if (elementsAssets->GetText() != nullptr) + addon->m_art[value] = + URIUtils::AddFileToFolder(assetBasePath, elementsAssets->GetText()); + } } } |