Commit Graph

24 Commits

Author SHA1 Message Date
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
Georges-Antoine Assi
dbf1a7d20b [ROMM-2554] Remove htlb from manual search 2025-10-17 09:51:41 -04:00
Georges-Antoine Assi
fe2a7e7bff Add launchbox to manual match window 2025-09-18 16:34:40 -04:00
Georges-Antoine Assi
3611ef8fad can display hltb id 2025-09-14 20:12:37 -04:00
Georges-Antoine Assi
3c4113f8a8 Merge branch 'master' into flashpoint-metadata-handler 2025-09-11 21:27:48 -04:00
Georges-Antoine Assi
f5439f14ef finish compoennts 2025-09-07 19:20:46 -04:00
Georges-Antoine Assi
841992e9fb fix flashpoint search 2025-08-27 12:05:02 -04:00
Georges-Antoine Assi
7c3764802f add sgdb as a cover option 2025-08-15 22:14:48 -04:00
Georges-Antoine Assi
cae220e054 preload rom data on navigate 2025-03-03 19:44:47 -05:00
Georges-Antoine Assi
b1a3a9bc73 Implement view transitions for card covers 2025-03-03 16:22:21 -05:00
zurdi
9d96501b9e Merge remote-tracking branch 'origin/master' into feature/screenscraper-integration 2025-01-31 00:12:44 +00:00
Georges-Antoine Assi
ebc91b0502 fix bad git push 2025-01-09 21:10:20 -05:00
zurdi
db4001dea0 feat: base structure for ss support 2025-01-02 10:34:10 +00:00
zurdi
b545d12731 improved aspect ratio set in gamecard 2024-12-02 11:03:01 +00:00
zurdi
180c373e1e steamgridDB integration added 2024-06-26 17:36:02 +02:00
Georges-Antoine Assi
2d21cd2b50 Improve speeds of rom fetch from DB 2024-05-25 19:47:36 -04:00
Georges-Antoine Assi
880345f20c ruff-only pre-commit 2024-05-18 12:05:57 -04:00
zurdi
d58d6514d5 improved cover selection from multi-source 2024-04-11 16:21:49 +02:00
Georges-Antoine Assi
ce9deb4f3c Rebuild moby api on new code 2024-02-13 18:46:31 -05:00
Georges-Antoine Assi
9af4fe4183 change type name + improve search 2024-01-24 16:40:49 -05:00
Zurdi
60d12fec82 search igdb fixed 2024-01-24 22:26:37 +01:00
Georges-Antoine Assi
2c4c6fa43a fix search response 2024-01-20 18:54:18 -05:00
Zurdi
e231d1b73e added platform versions support 2024-01-19 13:22:56 +01:00
Zurdi
33b6364c8a endpoints and responses restructured 2024-01-11 23:57:06 +01:00