mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Fold the exporter's folder map and the importer's ESDE_MEDIA_MAP into a single GAMELIST_MEDIA_DIRS, so writing, reading and skipping a media type is one edit. This also picks up thumbnails/, which the scan exclusions were missing, and drops the hand-appended "images" literal. Serve the multi-file defaults pre-unioned as DEFAULT_EXCLUDED_MULTI_DIRS so neither UI has to re-join two lists; v1 was still mapping EXCLUDED_MULTI_FILES to DEFAULT_EXCLUDED_DIRS and rendering the media dirs as deletable. Collapse the per-tag asset loop and the bespoke <mix> block into one table keyed by tag, and skip fnmatch for the exclusion patterns that hold no glob characters, now that the multi-file list is more than twice as long. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>