mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Conflict resolution notes: - Locale rom.json: master sorted and reworked every file; took master's and re-inserted `location` / `location-copied` in sorted position. Added them to the new tr_TR locale. - FSRom gained a required `fs_path`, so `build_hashless_fs_rom` now takes one and both call sites pass the rom's own path. - `get_roms` keeps this branch's `_collect_fs_roms` discovery while adopting master's one-pass build and in-place sort. - `mark_missing_roms` takes full paths and now also excludes physical games (master), and the scan loop keeps master's early missing-sync plus its restored-rom emit alongside this branch's relocation pass. The relocation filter now applies only to the identify loop, so a relocated rom is no longer re-flagged missing at the end of the scan. - Relocation writes rom files through master's `sync_rom_files` (which replaced `purge_rom_files` / `add_rom_file`), so row ids and track metadata survive. - Master's unique index on (platform_id, fs_name) contradicts this branch's premise that same-named files in different folders are distinct games. Migration 0126 widens it to (platform_id, fs_path, fs_name); physical games all share one folder, so a duplicate title is still rejected. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>