Skip to content

docs: document ScreenScraper developer credentials - #121

Merged
gantoine merged 1 commit into
mainfrom
docs/screenscraper-dev-credentials
Aug 19, 2026
Merged

docs: document ScreenScraper developer credentials#121
gantoine merged 1 commit into
mainfrom
docs/screenscraper-dev-credentials

Conversation

@gantoine

Copy link
Copy Markdown
Member

Reported in NixOS/nixpkgs#547607: ScreenScraper stops authenticating when RomM runs from the new nixpkgs package instead of our container image.

RomM sends ScreenScraper developer (application) credentials alongside the user credentials on every request, and those come from ARG SCREENSCRAPER_DEV_ID / SCREENSCRAPER_DEV_PASSWORD at image build time. Installs that don't use our official image (builds from source, third-party packages) send empty values, and ScreenScraper answers 403 Forbidden, which the scanner reports as 401: Invalid ScreenScraper credentials. That message sends people off checking their account, which is fine.

Changes

  • getting-started/metadata-providers.md: the ScreenScraper section now explains the second credential pair, notes the official images carry it, and adds an admonition for source builds and third-party packages pointing at SCREENSCRAPER_DEV_ID / SCREENSCRAPER_DEV_PASSWORD. Per @06kellyjac's request it mentions the credentials exist in the image without explaining how to extract them.
  • troubleshooting/scanning.md: new "ScreenScraper fails with 403 Forbidden" entry with the real log lines so the misleading error is searchable, plus the user-credential and quota fallbacks for people on the official image.

Env var names verified against backend/config/__init__.py in rommapp/romm. reference/environment-variables.md is untouched since its table is generated from upstream env.template, which deliberately omits the dev vars. Whether they belong there is a separate call.

Related: #112 (NixOS install guide) can link to the ScreenScraper section rather than duplicating this.

🤖 Generated with Claude Code

RomM sends ScreenScraper developer (application) credentials alongside
the user credentials on every request. They're injected at image build
time, so installs that don't use our official image (builds from source,
third-party packages like the new nixpkgs one) send empty values and get
a 403 that surfaces as "401: Invalid ScreenScraper credentials".

Explain the second credential pair in the ScreenScraper setup section
and add a scanning troubleshooting entry with the actual log lines, so
the misleading error message is searchable.

Reported in NixOS/nixpkgs#547607

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gantoine
gantoine merged commit cf8bcd2 into main Aug 19, 2026
4 checks passed
@gantoine
gantoine deleted the docs/screenscraper-dev-credentials branch August 19, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant