From ee4a55e9d69fdc088cee85fc7c811e77aa53f006 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 25 Jun 2020 20:37:41 +0200 Subject: [PATCH] Fixed 'Refine Search' for the TheGamesDB scraper which I apparently broke in the last commit. --- es-app/src/scrapers/GamesDBJSONScraper.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/es-app/src/scrapers/GamesDBJSONScraper.cpp b/es-app/src/scrapers/GamesDBJSONScraper.cpp index 49da862bc..140cd5aa9 100644 --- a/es-app/src/scrapers/GamesDBJSONScraper.cpp +++ b/es-app/src/scrapers/GamesDBJSONScraper.cpp @@ -129,18 +129,16 @@ void thegamesdb_generate_json_scraper_requests( if (params.system->hasPlatformId(PlatformIds::ARCADE) || params.system->hasPlatformId(PlatformIds::NEOGEO)) { cleanName = params.game->getName(); - cleanName = MameNames::getInstance()->getCleanName(params.game->getCleanName()); } else { cleanName = params.game->getCleanName(); } - - path += "/Games/ByGameName?" + apiKey + - "&fields=players,publishers,genres,overview,last_updated,rating," - "platform,coop,youtube,os,processor,ram,hdd,video,sound,alternates&name=" + - HttpReq::urlEncode(cleanName); } + path += "/Games/ByGameName?" + apiKey + + "&fields=players,publishers,genres,overview,last_updated,rating," + "platform,coop,youtube,os,processor,ram,hdd,video,sound,alternates&name=" + + HttpReq::urlEncode(cleanName); } if (usingGameID) {