Files
romm/backend/endpoints
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-03-08 14:51:28 -04:00
2026-03-15 11:25:39 -04:00
2026-04-05 22:35:37 -04:00
2026-06-21 17:42:25 -04:00
2026-07-02 11:16:07 +09:00
2025-12-07 16:34:22 -05:00
2026-07-01 08:58:00 -04:00
2026-07-01 08:58:00 -04:00
2026-07-01 08:58:00 -04:00
2026-07-01 08:58:00 -04:00