0bc17a85fb
Extends POST /api/admin/lidarr/test response to include quality_profiles, metadata_profiles, root_folders, and an optional list_errors map when the Lidarr connection succeeds. The three list fetches run in parallel after the ping; any per-list failure goes into list_errors so the response can still report ok=true with whatever data did come back. Failed-ping response shape is unchanged. This lets /admin/integrations populate its dropdowns on a single round-trip during first-time setup, fixing the chicken-and-egg where the dropdowns previously gated on cfg.Enabled (which can't be true until the first save, which itself needs non-zero defaults). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>