mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Added fallback for high resolution wheel image for ScreenScraper if no regular wheel image was found.
This commit is contained in:
parent
63d79d152b
commit
c70d2d6368
|
@ -565,6 +565,10 @@ void ScreenScraperRequest::processGame(const pugi::xml_document& xmldoc,
|
||||||
// Marquee (wheel).
|
// Marquee (wheel).
|
||||||
processMedia(result, media_list, ssConfig.media_marquee, result.marqueeUrl,
|
processMedia(result, media_list, ssConfig.media_marquee, result.marqueeUrl,
|
||||||
result.marqueeFormat, region);
|
result.marqueeFormat, region);
|
||||||
|
// Marquee HD (wheel-hd) fallback if no regular wheel image was found.
|
||||||
|
if (result.marqueeUrl == "")
|
||||||
|
processMedia(result, media_list, ssConfig.media_marquee_hd, result.marqueeUrl,
|
||||||
|
result.marqueeFormat, region);
|
||||||
// Physical media.
|
// Physical media.
|
||||||
processMedia(result, media_list, ssConfig.media_physicalmedia, result.physicalmediaUrl,
|
processMedia(result, media_list, ssConfig.media_physicalmedia, result.physicalmediaUrl,
|
||||||
result.physicalmediaFormat, region);
|
result.physicalmediaFormat, region);
|
||||||
|
|
|
@ -75,6 +75,7 @@ public:
|
||||||
std::string media_cover = "box-2D";
|
std::string media_cover = "box-2D";
|
||||||
std::string media_fanart = "fanart";
|
std::string media_fanart = "fanart";
|
||||||
std::string media_marquee = "wheel";
|
std::string media_marquee = "wheel";
|
||||||
|
std::string media_marquee_hd = "wheel-hd";
|
||||||
std::string media_physicalmedia = "support-2D";
|
std::string media_physicalmedia = "support-2D";
|
||||||
std::string media_screenshot = "ss";
|
std::string media_screenshot = "ss";
|
||||||
std::string media_titlescreen = "sstitle";
|
std::string media_titlescreen = "sstitle";
|
||||||
|
|
Loading…
Reference in a new issue