Files
romm/backend/endpoints
Georges-Antoine Assi 522df9d31a feat: add libretro thumbnails as an artwork source
Adds the libretro thumbnail repository as a first-class artwork source so
region-correct box art (PAL/Europe, Japan, etc.) can be matched directly
to ROM filenames, addressing rommapp/romm#3239.

Implementation follows the SGDB handler pattern (artwork-only, no game
metadata): MetadataSource enum entry, scan-time fetch wired into the
SCAN_ARTWORK_PRIORITY loop, /search/roms integration, MatchRom dialog
chip + cover selection, and a heartbeat flag.

Matching is exact case-insensitive against the directory listing first
(so a ROM named "(Europe)" lands on the (Europe) artwork), with a
JaroWinkler fuzzy fallback at 0.8 that strips parenthetical tags from
both sides. Listings are cached in Redis with a 24h TTL.

`libretro_id` is persisted on the Rom model as the SHA1 hex of the
matched libretro filename — stable across scans, distinct per region,
indexed for lookup. Migration 0077 adds the column.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 22:57:20 -04:00
..
2026-03-08 14:51:28 -04:00
2026-03-15 11:25:39 -04:00
2026-03-07 09:56:17 -05:00
2026-04-05 22:35:37 -04:00
2026-03-14 22:13:38 -04:00
2026-02-10 09:59:29 -05:00
2026-01-18 23:35:03 -05:00
2025-12-07 16:34:22 -05:00
2026-01-18 22:27:46 -05:00
2025-09-04 11:17:00 -03:00
2026-03-07 09:56:17 -05:00
2026-03-07 09:56:17 -05:00
2026-04-01 19:27:34 -04:00
2026-04-06 21:32:13 -04:00
2026-04-05 21:47:53 -04:00
2026-03-15 11:25:39 -04:00