Vous êtes ici > Bugs > PlayOnLinux > Feature > Ticket #53 en

Feature #53 sur PlayOnLinux

show hours played

Ajouté par fabioamd87 le 2010-10-06 00:45:41 - Commenter ou mettre à jour ce ticket

Statut :
Nouveau
Priorité :
Faible
Assigné à :
Dernière mise à jour :
2012-06-23 12:24:56
Description, étapes pour reproduire :
would be nice to see how many hours we play a game, like in steam.

History

Mise à jour par fabioamd87 le 2010-10-06 22:06:12

this things can be done by using "time" command line tool

example: time wine game.exe

store the result, add to the actual time and show in the UI.

Mise à jour par Quentin PÂRIS le 2012-06-22 22:19:39

For that, we could use timestamps, it would be easier

StartTime="$(date +%s)"
wine blabla
EndTime="$(date +%s)"

Delta=$(( EndTime - StartTime ))

I might add this in a future version. It's not a bad idea

Mise à jour par fabioamd87 le 2012-06-23 11:48:31

thanks for consideration, is this project still alive?

Mise à jour par Quentin PÂRIS le 2012-06-23 12:24:56

Yep (Sorry for the delay)

Il n'y a rien à voir ici