JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
9k stars 491 forks source link

Better support for subscription and streaming libraries #2123

Open JosefNemec opened 3 years ago

JosefNemec commented 3 years ago

This doesn't involve any specific library.

peter-moran commented 3 years ago

I would love to see this, hopefully this is on a future supporter poll.

Right now this is the only reason I’d even consider GOG Galaxy over Playnite.

TwentySeven28 commented 3 years ago

Throwing in my support as well. With subscriptions becoming so ubiquitous, and given Game Pass's large user base, this must surely be a must-have feature?

turtleship69 commented 2 years ago

Ideally also a better way to deal with installation status: they aren't technically installed but uninstalled doesn't really matter, you don't need it to be

jlfrank83 commented 2 years ago

The API calls to titlehub.xboxlive.com that are currently implemented for the Xbox library do not return any entitlement information.

The functionality required for this to work is present in the Collections API. From what I can tell, this API is only available to publishers, and only returns products tied to the publisher ID making the call.

https://docs.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/service-to-service/microsoft-store-apis/xstore-v9-query-for-products

https://docs.microsoft.com/en-us/gaming/gdk/_content/gc/commerce/service-to-service/xstore-query-user-entitlements

Product acquisitionType values and meaning

Single Direct digital purchase or code redemption. Recurring Owned or entitled through a subscription. Conditional Owned but requires other products to continue use. Ex: Games With Gold obtained games

JosefNemec commented 2 years ago

@jlfrank83 This issue is not about support for Xbox or any other subscription service. It's to provide general API and functionality in Playnite for plugins to actually provide subscription data.

Jeshibu commented 1 year ago

Ownership status would ideally contain/be accompanied by a field that holds the license expiration date (if known) that would also update on every import.

cnapolit commented 1 year ago

This could be a separate issue (if it isn't already, I didn't see one), but since these types of libraries update infrequently (i.e. Amazon adding games monthly), each library could be updated on its own interval to avoid queries that are unlikely to yield new results.