mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Fix getThumbnailPath ignoring the 'image' tag when 'LocalArt' is not set
This commit is contained in:
parent
d246fd4340
commit
70bbcb0b1e
|
@ -54,12 +54,12 @@ const std::string FileData::getThumbnailPath() const
|
|||
std::string thumbnail = metadata.get("thumbnail");
|
||||
|
||||
// no thumbnail, try image
|
||||
if(thumbnail.empty() && Settings::getInstance()->getBool("LocalArt"))
|
||||
if(thumbnail.empty())
|
||||
{
|
||||
thumbnail = metadata.get("image");
|
||||
|
||||
// no image, try to use local image
|
||||
if(thumbnail.empty())
|
||||
if(thumbnail.empty() && Settings::getInstance()->getBool("LocalArt"))
|
||||
{
|
||||
const char* extList[2] = { ".png", ".jpg" };
|
||||
for(int i = 0; i < 2; i++)
|
||||
|
|
Loading…
Reference in a new issue