Planshit / Tai

👻 在Windows上统计软件使用时长和网站浏览时长
MIT License
3.87k stars 182 forks source link

无法统计 Steam 游戏时长,而是算在了其他软件上 #99

Open CMBill opened 1 year ago

CMBill commented 1 year ago

玩了几个小时游戏但是 Tai 里面并没有游戏的记录,取而代之的是只在任务栏显示的流量监控器。

图片

流量监控器是用的这个软件 TrafficMonitor

实际上玩的游戏有 GTAV 与 Apex,前几天 GTA 还记录上了几十分钟,但是最近就完全是 TrafficMonitor 了。

noberumotto commented 1 year ago

请将当日的log发送到我邮箱littlepandause@gmail.com,如果不在意暴露进程信息直接贴到这里也行

CMBill commented 1 year ago

导出的数据已经用邮件发送过去了,其中我在8时到10时、13时到15时期间有游玩Apex Legend,但是并没有记录。而流量监控器是只在任务栏上显示的软件,却出现在了我玩Apex的时间段里。

noberumotto commented 1 year ago

好的,除了游戏其他应用能正常统计吧?

CMBill commented 1 year ago

其他的都是正常的,就是steam的游戏会算在其他的软件上

noberumotto commented 1 year ago

Tai 1.5.0.0 已发布 → 请更新版本,等待后续反馈。

mslxl commented 1 year ago

该问题似乎仍然存在, 我这边 Tai 将 Muse Dash 游戏算到了 Logi Options+ Agent 上

image

我怀疑这个问题和游戏的显示模式有关(即全屏独占)

noberumotto commented 1 year ago

贴一下log文件

mslxl commented 1 year ago

log 里似乎看不出什么东西


[Info] 2023-03-04 16:19:02
Save app time done.Process:MuseDash,Duration:47,StartDateTime:3/4/2023 4:18:14 PM,AppID:147
Line:115,File:Tai\Servicers\Instances\Data.cs,name:SaveAppDuration
------------------------

[Info] 2023-03-04 16:19:04
Active[False]:,Last:steamwebhelper,Time:3/4/2023 4:19:02 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:19:04
Save app time done.Process:steamwebhelper,Duration:1,StartDateTime:3/4/2023 4:19:02 PM,AppID:26
Line:115,File:Tai\Servicers\Instances\Data.cs,name:SaveAppDuration
------------------------

[Info] 2023-03-04 16:19:04
Active[True]:MuseDash,Last:,Time:3/4/2023 4:19:04 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:23:54
Active[True]:logioptionsplus_agent,Last:MuseDash,Time:3/4/2023 4:19:04 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:23:54
Save app time done.Process:MuseDash,Duration:290,StartDateTime:3/4/2023 4:19:04 PM,AppID:147
Line:115,File:Tai\Servicers\Instances\Data.cs,name:SaveAppDuration
------------------------

[Info] 2023-03-04 16:24:06
Active[True]:logioptionsplus_agent,Last:logioptionsplus_agent,Time:3/4/2023 4:23:54 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:24:09
Active[True]:logioptionsplus_agent,Last:logioptionsplus_agent,Time:3/4/2023 4:23:54 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:27:02
Active[True]:logioptionsplus_agent,Last:logioptionsplus_agent,Time:3/4/2023 4:23:54 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:27:09
Active[True]:logioptionsplus_agent,Last:logioptionsplus_agent,Time:3/4/2023 4:23:54 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

[Info] 2023-03-04 16:33:16
Active[True]:logioptionsplus_agent,Last:logioptionsplus_agent,Time:3/4/2023 4:23:54 PM
Line:351,File:Tai\Servicers\Instances\Main.cs,name:AppObserver_OnAppActive
------------------------

后面全是 logioptionsplus_agent了

noberumotto commented 1 year ago

16:33后面的时间也是在玩游戏对吗

mslxl commented 1 year ago

对的,一直到我退出游戏切换到 Steam 界面才不再记录Logi Option+ Agent

On 3/4/2023 5:55 PM, Berumotto wrote:

16:33后面的时间也是在玩游戏对吗

— Reply to this email directly, view it on GitHub https://github.com/Planshit/Tai/issues/99#issuecomment-1454683254, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACU57UCX2XORSDZIZSQ4BWLW2MGP5ANCNFSM6AAAAAATUJGVTQ. You are receiving this because you commented.Message ID: @.***>

Apeuriox commented 1 year ago

另外无法正确统计到Minecraft的游戏时间,只有零星的记录在java.exe和javaw.exe上

mslxl commented 1 year ago

另外无法正确统计到 Minecraft 的游戏时间,只有零星的记录在 java.exe 和 javaw.exe 上

我觉得对于 java 版的 minecraft 应该是没有办法记录的. java 本身的特点决定的 java 的程序执行在 jvm, 对于其他程序来说只能看到进程名是 java.exe 或者 javaw.exe, 没有办法判断细节.

Apeuriox commented 1 year ago

我也理解,但是问题是时间偏差有点大,10小时的游戏时间,Tai的记录是java.exe的一小时和javaw.exe的几分钟

PIut02 commented 1 year ago

同样怀疑是全屏独占的问题,玩minecraft用全屏独占时会记录到别的进程上,连java和javaw都没有,而一些使用无边框窗口的游戏没有出现此问题

aagaguai commented 1 year ago

你好,我也遇到这个问题,csgo无法记录,我玩了大约50分钟,但只记录了8分钟