mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
Expose the scan.* section of config.yml (metadata & artwork priority, per-field artwork overrides, region priority, language priority, media types, gamelist and pegasus export) in an editable v2 Settings page. Backend: - Add PUT /api/config/scan (platforms.write) with a validated ScanSettingsPayload and ConfigManager.update_scan_settings(). - Expose GAMELIST_AUTO_EXPORT_ON_SCAN and PEGASUS_AUTO_EXPORT_ON_SCAN in ConfigResponse / GET /api/config. - Preserve the streaming section on runtime config writes (previously dropped on every write). Frontend: - New Settings/ScanSettings.vue page + ScanPriorityList.vue reorderable list (drag + up/down for keyboard/gamepad); region/language use RComboboxField. - Wire the scan-settings route, permissions, and sidebar entry. - Regenerate OpenAPI types; add all new strings to every locale. Closes #3849 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>