urwrstkn8mare / galaxy-riot-integration

A GOG Galaxy 2.0 Community integration for Riot!
MIT License
71 stars 2 forks source link

More precise game time #7

Open Jannify opened 3 years ago

Jannify commented 3 years ago

Is it possible to get the current playtime on installing with this site? I didn't found any request that returns the time because it's integrated in the HTML but maybe there is a way besides downloading the HTML document and get the time out of it...

urwrstkn8mare commented 3 years ago

Thanks for pointing it out. From what I've seen online about this (I've looked at it before) if doesn't get the actual gametime but gets the number of games and estimates. That's why you'll see drastically different game times on similar sites. But I could implement if is it would still be useful. Let me know if you would still want it and I'll add that to my list of things to work on.

Jannify commented 3 years ago

I think it would be pretty neat to update the game time on installation/authentication (if not already set)). So GOG continues the accurate counting not from zero.

urwrstkn8mare commented 3 years ago

Oh yeah that does seem like a pretty good idea. I'll try to get that done soon. Thanks

innarik commented 2 years ago

I agree with the Jannify idea, pls.

tippfehlr commented 2 years ago

Wouldn't it be easier if you (for now) just add a configuration field or something in that direction where you can set your playtime?

urwrstkn8mare commented 2 years ago

Yeah but I just don't have the time. If someone does it and opens a pull request I'll happily quickly review and accept. Sorry