mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
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