Files
romm/backend
Georges-Antoine Assi 40cdeac615 fix(launchbox): import local media when matching via update_rom
Manually (re)matching a LaunchBox ID through the ROM edit dialog never
imported any LaunchBox media. The update_rom endpoint fetched metadata
without fs_name/platform_slug (so local media never resolved), never
generated media paths, and had no store loop, unlike the ScreenScraper
block in the same handler.

Pass fs_name/platform_slug to get_rom_by_id, call
populate_rom_specific_paths on the fetched metadata, and add a
store_media_file loop that also clears stale media when the ID changes.

Fixes #3521

Generated-By: PostHog Code
Task-Id: 45791732-58e8-41c9-b616-4a91018e388d
2026-07-05 17:53:50 -04:00
..
2026-06-23 21:07:27 -04:00
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-01 08:58:00 -04:00
2026-07-05 13:29:13 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-07-02 11:16:07 +09:00
2026-05-17 17:39:47 -04:00
2026-06-25 16:09:15 -04:00
2026-05-22 22:35:30 -04:00