Skip to content

Conversation

@Therzok
Copy link
Contributor

@Therzok Therzok commented Jan 24, 2025

Inspecting last played time in absolute time is possible with this field. Converting from the unix epoch timestamp into something usable does the trick.

Copy link
Owner

@garhow garhow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this field need to be an Option? I've never seen it before so I don't think it's guaranteed

@Therzok
Copy link
Contributor Author

Therzok commented Jan 27, 2025

@garhow thanks for taking a look.

I've run this code on my entire library (2500+ entries), and I got things like:
"rtime_last_played": 1668875837 for games I've played
"rtime_last_played": 0 for games I've not played

I think this field works for your own library only, so maybe that's why I've always seen it.

@garhow garhow merged commit aa5062b into garhow:main Jan 28, 2025
1 check failed
@garhow
Copy link
Owner

garhow commented Jan 28, 2025

Understood. Thanks!

@Therzok Therzok deleted the patch-1 branch January 28, 2025 05:51
@Therzok Therzok restored the patch-1 branch January 28, 2025 05:51
@Therzok Therzok deleted the patch-1 branch January 28, 2025 05:51
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.

2 participants