mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
LaunchBox stores videos under /romm/launchbox/Videos/<Platform>/<Game>.<ext> but the handler only extracted YouTube IDs; LAUNCHBOX_VIDEOS_DIR was defined and unused. Add _get_video() to surface local videos as launchbox-file:// URLs, thread a populate_rom_specific_paths() through the scan pipeline to set video_path once the rom is known, and mirror the SS/gamelist branch in the scan socket so store_media_file actually copies the video into the rom's resource directory. Rom.path_video now also reads from launchbox_metadata. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>