Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could we manually add game time? #6

Open
JakeKydd opened this issue Nov 8, 2019 · 4 comments
Open

Could we manually add game time? #6

JakeKydd opened this issue Nov 8, 2019 · 4 comments

Comments

@JakeKydd
Copy link

JakeKydd commented Nov 8, 2019

I know that most games track the game time in their save files. I wanted to ask if it would be possible to enter the game time manually within Galaxy 2.0 based on those save files.

On the other hand, my inquiry to Sony Europe provided me with a list of all games on my account including game times. So they do track it, but provide no api access to that info as of now.

@FriendsOfGalaxy
Copy link
Owner

Without an API official or not, we cannot do much. Workarounds with manually added files are not a good option IMO.

@JakeKydd
Copy link
Author

JakeKydd commented Mar 2, 2021

I did notice on PS5 under Profile there is now a Games Tab listing game time in total for all games on that Account.
PS4 & PS5 games are included, even those not currently installed which I guess means there's a web request happening pulling that data in the background. Would there be a way to figure this out?

@sebj
Copy link

sebj commented Mar 2, 2021

@JakeKydd Good spot. The GAME_LIST_URL in this integration is currently using v1 of Sony’s endpoint, but through trial and error I’ve discovered changing to v2 of the same endpoint gives much more detailed game data, that even includes play time for each game (as well as genres, sub genres, images/screenshots and videos).

Weirdly, Sony have gone with a string for the play time attribute on each game though – for example “PT2S” for 2 seconds; “PT4M43S” for 4 min, 43 sec; “PT46H40M23S” for 46 hours, 40 min, 23 sec

Seems like this integration should switch to that v2 endpoint if possible though

@ManemanFTW
Copy link

Hey @sebj i'm trying to modify this plugin to see if i manage to add gametime to the psn games, can you explain how did you managed to use the v2 version?

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

No branches or pull requests

4 participants