67c51f9fc0
The previous fix called client.users() unconditionally to validate the user_id, adding an extra HTTP round-trip before the build. On a slow Jellyfin connection this burned through the 10s timeout before the actual libraries() call. Restructured to try libraries(user_id) directly first. Only when that fails does the worker resolve the username via the users API. So: - Correctly configured user_id (internal hash): zero extra round-trips. - Username like 'admin': libraries() fails → users() resolves it → retry. 283 backend tests pass; ruff clean.