Page 1 of 1

Image url redirects

Posted: Wed May 23, 2018 9:01 pm
by jdrassa
I am one of the developers who helps maintain the RetroPie fork of EmulationStation. In the last couple of days we have been getting reports from users that the built in scraper is failing to download images. The root cause is because EmulationStation wasn't handling http redirects. We are working to correct this, but that will only help users who know to update.

Would it be possible to make an adjustment on your end to help mitigate this? When we retrieve a games metadata there is a baseImgUrl property (http://thegamesdb.net/banners/) that we use to construct the image urls. If that value could be updated to reflect the new base url (http://legacy.thegamesdb.net/banners/) then the problem would be fixed for all users.

Re: Image url redirects

Posted: Thu May 24, 2018 12:31 am
by Zer0xFF
Hi jdrassa,

sorry for the trouble caused.

the url was updated in api (GetArt.php) within 2 hours of the applying the redirect, is the issue still prevalent at the moment?
if so which api call is that?

just so it might be faster to reach us at discord https://discord.gg/Xx5f8Gx to discuss the issue

edit:
sorry that was an oversight on my behalf,
I also found that `GetGame.php` and `GetPlatform.php` also had a copy of the baseurl both which I have updated now.

Re: Image url redirects

Posted: Thu May 24, 2018 3:43 am
by jdrassa
Thanks for the quick response.