mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 20:15:38 +00:00
Added a fallback to ScreenScraper's normalized video if no regular video is found.
This commit is contained in:
parent
4d5364e9e4
commit
93d74b840c
|
@ -584,6 +584,10 @@ void ScreenScraperRequest::processGame(const pugi::xml_document& xmldoc,
|
|||
// Video.
|
||||
processMedia(result, media_list, ssConfig.media_video, result.videoUrl,
|
||||
result.videoFormat, region);
|
||||
// Fallback to normalized video if no regular video was found.
|
||||
if (result.videoUrl == "")
|
||||
processMedia(result, media_list, ssConfig.media_video_normalized, result.videoUrl,
|
||||
result.videoFormat, region);
|
||||
}
|
||||
result.mediaURLFetch = COMPLETED;
|
||||
out_results.push_back(result);
|
||||
|
|
|
@ -80,6 +80,7 @@ public:
|
|||
std::string media_screenshot = "ss";
|
||||
std::string media_titlescreen = "sstitle";
|
||||
std::string media_video = "video";
|
||||
std::string media_video_normalized = "video-normalized";
|
||||
|
||||
bool isArcadeSystem;
|
||||
bool automaticMode;
|
||||
|
|
Loading…
Reference in a new issue