mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
UPDATE scans with a known launchbox_id were calling get_rom_by_id(), which only returns remote data and bypassed get_rom()'s local-first merge — so local-only fields like Notes were getting clobbered and local media matching fidelity dropped. get_rom_by_id() now optionally takes fs_name/platform_slug and merges the local entry when its DatabaseID matches the requested id. Also fixes populate_rom_specific_paths writing every video as video.mp4 regardless of source extension; since store_media_file is a byte copy, .mkv/.webm contents would be served as .mp4 and break MIME sniffing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>