mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Fix several issues in ScreenScraper API request/response handling: - Correctly handle SS-specific HTTP error codes (KO responses, 429, 431, and the SS-quirk of returning 401 when server CPU >60%). - Construct requests with proper parameter encoding so jeuInfos lookups and search queries return the expected results. - Store media URLs returned by SS as-is, preserving the dev credential query parameters required for media playback. Removing them broke downstream media fetches. To keep dev credentials out of log output, add a redacting formatter in the logger pipeline that scrubs ssid/sspassword/devid/devpassword query parameters from any URL it sees. Test coverage added for the new HTTP error paths and the as-is URL storage behaviour.