mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
ScreenScraper serves a solid chroma-key green (#00FF00) square when a requested image (box-2D front/back/side) doesn't exist. RomM stored it as real artwork, so the v2 3D box painted a bright green face and the flat cover showed green in the gallery. Detect the placeholder at download time and drop it: covers fall back to the procedural placeholder, and a discarded box-2D face falls back to the dark cover placeholder the box already paints (rather than bright green). - Add _is_chroma_key_placeholder + _discard_if_chroma_key in the resources handler; wire into _store_cover and store_media_file. - store_media_file also cleans up pre-existing green files on rescan. Generated-By: PostHog Code Task-Id: 5534668f-a2b6-4575-b6c1-73dcd965062c