Image url redirects

Need help with your application? Ask here.
Post Reply
jdrassa
Posts: 2
Joined: Wed May 23, 2018 8:51 pm

Image url redirects

Post by jdrassa » Wed May 23, 2018 9:01 pm

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.

User avatar
Zer0xFF
Posts: 295
Joined: Fri Apr 20, 2018 9:18 am

Re: Image url redirects

Post by Zer0xFF » Thu May 24, 2018 12:31 am

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.
Regards
Zer0xFF

jdrassa
Posts: 2
Joined: Wed May 23, 2018 8:51 pm

Re: Image url redirects

Post by jdrassa » Thu May 24, 2018 3:43 am

Thanks for the quick response.

Post Reply