From 1ee09bcca8b639d877586ddd03a9ef9420b3a10e Mon Sep 17 00:00:00 2001 From: Cristi Mitrana <31816814+cmitu@users.noreply.github.com> Date: Sun, 10 Feb 2019 12:47:53 +0200 Subject: [PATCH] Fix ScreenScraper search by filename --- es-app/src/scrapers/ScreenScraper.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/es-app/src/scrapers/ScreenScraper.cpp b/es-app/src/scrapers/ScreenScraper.cpp index f4e8130da..b84cabc70 100644 --- a/es-app/src/scrapers/ScreenScraper.cpp +++ b/es-app/src/scrapers/ScreenScraper.cpp @@ -125,11 +125,7 @@ void screenscraper_generate_scraper_requests(const ScraperSearchParams& params, ScreenScraperRequest::ScreenScraperConfig ssConfig; - std::string cleanName = params.nameOverride; - if (cleanName.empty()) - cleanName = params.game->getCleanName(); - - path = ssConfig.getGameSearchUrl(cleanName); + path = ssConfig.getGameSearchUrl(params.game->getFileName()); auto& platforms = params.system->getPlatformIds(); for (auto platformIt = platforms.cbegin(); platformIt != platforms.cend(); platformIt++)