Open e3ndr opened 2 years ago
Ah yeah, I didn't noticed it. I will need to update the older one.
Edit: mmh, it seems the API itself doesn't return the correct URL.
{
"data": [
{
"id": "515037",
"name": "Senkaiden: TV Animation Senkaiden Houshin Engi Yori",
"box_art_url": "https://static-cdn.jtvnw.net/ttv-boxart/515037-{width}x{height}.jpg"
}
]
}
And writing it in the new format doesn't work.
Edit 2 : It seems to work for certains game, I tried World of Warcraft (https://static-cdn.jtvnw.net/ttv-boxart/18122-144x192.jpg) and the old URL still work. Not sure how the changes were made. Maybe some game are still returned by the API but were removed from their art database. Probably the games that aren't popular enough to still being used.
Anyway, the new game that are being added do have the new url so they are fine.
Edit 3: Found the changelog, seems like they didn't update the old one at all, just used the new url at some point.
2021‑10‑27 | Organization Management updated to reflect IGDB will power Twitch game cover art as of November 17, 2021.
Do all games use the new url format or do some of the older games still use the old format?
Seems like only the games after 515024 (Diablo IV) are using the new url except a few that got the old one.
Interesting.
The new url format appears to be
https://static-cdn.jtvnw.net/ttv-boxart/
{id}_IGDB-
{width}x
{height}.jpg