Fora

show hours played

Autor Odpowiedzi
fabioamd87 Wednesday 6 October 2010 at 22:08
fabioamd87Anonymous

Hi, I'm new.
Thanks for the software, I've a suggest,
would be nice to see how many hours we spent on a game, for example like in steam.

I've opened a ticket for it: http://bugs.playonlinux.com/en/issue-53.html

let me know what you think about.

Edytowane przez fabioamd87

Salvatos Thursday 7 October 2010 at 0:05
SalvatosAnonymous

Not too high on my personal priority list, but could be an interesting little thing to look at someday :)

Disclaimer: I'm a noob, not a dev; my advice is only a guess.
Attention : Je suis aussi noob que vous, prenez mes suggestions avec un grain de sel ;)
fabioamd87 Thursday 7 October 2010 at 11:28
fabioamd87Anonymous

this is the method that run the game right?

def Run(self, event):
game_exec = self.list_game.GetItemText(self.list_game.GetSelection()).encode("utf-8")
if(game_exec != ""):
     print("Running "+game_exec)
     os.system("cd \\""+Variables.playonlinux_rep+"/configurations/installed/\\" && bash \\""+game_exec+"\\"&")

why is used "bash" command and not wine? wine command is in the game_exec string?
Aymeric P. Friday 8 October 2010 at 22:53
Aymeric P.

Hi,

game_exec is the name of the file present in ~/.POL/configurations/installled/.
It's a script file, that run wine after doing some thing (environment variables setting).

Former member.
fabioamd87 Wednesday 13 October 2010 at 12:00
fabioamd87Anonymous

in whitch file should I put the minutes of each game?
Jesteś tutaj: Index > Website > show hours played