[PR #257] [MERGED] improve igdb metadata fetching #274

Closed
opened 2026-02-17 17:06:33 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Drop-OSS/drop/pull/257
Author: @laylafogiel-hash
Created: 10/6/2025
Status: Merged
Merged: 10/23/2025
Merged by: @DecDuck

Base: developHead: improve-igdb


📝 Commits (3)

  • 2ef4efd improve igdb metadata fetching
  • 10e01c9 IDGB -> IGDB
  • 856c6e3 use the longer text between storyline and description for description

📊 Changes

1 file changed (+48 additions, -27 deletions)

View changed files

📝 server/internal/metadata/igdb.ts (+48 -27)

📄 Description

  • Make sure to get images with reasonable resolution. By default the url igdb returns is in "t_thumb" size, an image of size 90x90, which is good only for the icon, but bad for pretty much else. This commit will make sure covers will be of size "t_cover_big", artworks of 1080p height (i.e. "t_1080p") and logos will have their original size ("t_original"). Maybe "t_logo_med" is more appropriate?

  • Fetch screenshots as well.

  • Use a separate image for icon and for cover. icon needs to be a square, and can be of low resolution, so the "t_thmb" size is more appropriate for him.

  • If there is a storyline for a game use it as a short description.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Drop-OSS/drop/pull/257 **Author:** [@laylafogiel-hash](https://github.com/laylafogiel-hash) **Created:** 10/6/2025 **Status:** ✅ Merged **Merged:** 10/23/2025 **Merged by:** [@DecDuck](https://github.com/DecDuck) **Base:** `develop` ← **Head:** `improve-igdb` --- ### 📝 Commits (3) - [`2ef4efd`](https://github.com/Drop-OSS/drop/commit/2ef4efde41a478ed06fdb8f164aa3e85d151a0b7) improve igdb metadata fetching - [`10e01c9`](https://github.com/Drop-OSS/drop/commit/10e01c9f7a3e401fddcac433a93b60412796e47c) IDGB -> IGDB - [`856c6e3`](https://github.com/Drop-OSS/drop/commit/856c6e3032bd4e754aa632423055a1acd59c75af) use the longer text between storyline and description for description ### 📊 Changes **1 file changed** (+48 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `server/internal/metadata/igdb.ts` (+48 -27) </details> ### 📄 Description * Make sure to get images with reasonable resolution. By default the url igdb returns is in "t_thumb" size, an image of size 90x90, which is good only for the icon, but bad for pretty much else. This commit will make sure covers will be of size "t_cover_big", artworks of 1080p height (i.e. "t_1080p") and logos will have their original size ("t_original"). Maybe "t_logo_med" is more appropriate? * Fetch screenshots as well. * Use a separate image for icon and for cover. icon needs to be a square, and can be of low resolution, so the "t_thmb" size is more appropriate for him. * If there is a storyline for a game use it as a short description. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:06:33 -05:00
yindo closed this issue 2026-02-17 17:06:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#274