Skip to content

Respect xCloud title entitlements - #1670

Open
davidcollom wants to merge 1 commit into
unknownskl:main-v2from
davidcollom:fix/1514-xcloud-entitlement
Open

davidcollom wants to merge 1 commit into
unknownskl:main-v2from
davidcollom:fix/1514-xcloud-entitlement

Conversation

@davidcollom

@davidcollom davidcollom commented Aug 23, 2026

Copy link
Copy Markdown

Fixes #1514

Cause

The authenticated /v2/titles response already includes details.hasEntitlement, but Greenlight declares the field in TitleDetails and then drops it when constructing its Title objects. As a result, both the library and title information page offer to start titles the signed-in user cannot play.

Changes

  • retain hasEntitlement from the existing title response; no additional API request is introduced
  • grey out unentitled library tiles while keeping them visible by default
  • add a persisted Streaming setting to show or hide games that require purchase
  • apply the preference to the full library, searches, and recently-added titles
  • route visible unentitled tiles to the information page instead of starting a stream
  • replace the Stream button with a disabled, localized Purchase required button
  • reject direct stream attempts for known-unentitled cloud titles before session creation
  • add the new labels to English, German, Spanish, Russian, and Ukrainian translations

Undefined entitlement values remain playable for backwards compatibility; only an explicit false is blocked. The visibility setting defaults to enabled to preserve the current catalogue view.

Validation

  • yarn desktop lint (passes; generated Next.js output emits five pre-existing warnings after a build)
  • yarn desktop build --no-pack (passes, including TypeScript and production renderer/main builds)

@davidcollom
davidcollom force-pushed the fix/1514-xcloud-entitlement branch from 3d56e6a to 6926736 Compare August 23, 2026 17:06
@davidcollom
davidcollom force-pushed the fix/1514-xcloud-entitlement branch from 6926736 to 8d5662f Compare August 23, 2026 17:16
@sonarqubecloud

Copy link
Copy Markdown

@unknownskl unknownskl self-assigned this Aug 28, 2026
@unknownskl

Copy link
Copy Markdown
Owner

Thanks for the contribution. I will check the pr this week asap.

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.

[Bug] Certain games require purchasing the game before playing on Cloud

2 participants