refactor: read mame release tags in the model

The tag and version helpers lived in the romset DAT importer, so the site cards, which may not import a scraper, matched the label with their own pattern. model.mamerelease now owns mame_tag, mame_version and tag_version. Both scrapers and the cards call it. check_freshness only lifts tags out of labels and converts nothing, so it keeps its own search.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 10:30:22 +01:00
1 parent 8a8fa71fbc
commit 4acfd8f763
7 files changed
+41 -19

No files matched your search

+1
View File
@@ -50,6 +50,7 @@ on:
- "scripts/model/dumpcatalog.py"
- "scripts/model/guides.py"
- "scripts/model/largefiles.py"
- "scripts/model/mamerelease.py"
- "scripts/model/measurements.py"
- "scripts/model/nodedup.py"
- "scripts/model/platforms.py"