Playtime doesn't allow unaccounted intervals

Asked by javicroket

I am trying to get the behavior to be: The user can't open the playtime activities except in the 20:00-24:00 interval but i can't figure it out.

Playtime is enabled on Timekpr-nExT Configuration tab. The application i want to monitor is detected correctly.

I tried the following for the user:

+ Enabling playtime, playtime override and allowed during "∞" intervals: always allows applications, no matter if intervals are ∞ or not
+ Enabling playtime, allowed during "∞" intervals: Always closes applications, no matter if intervals are "∞" or not
+ Enabling playtime override and allowed during "∞" intervals: Doesn't track if app is open and then always allows it

I leave the output of userinfo with the second option which closes the application:

# Configuration for user dipzza:
ALLOWED_HOURS_1: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_2: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_3: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_4: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_5: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_6: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_HOURS_7: !0;!1;!2;!3;!4;!5;!6;!7;!8;!9;!10;!11;!12;!13;!14;!15;!16;!17;!18;!19;!20;!21;!22;!23
ALLOWED_WEEKDAYS: 1;2;3;4;5;6;7
LIMITS_PER_WEEKDAYS: 86400;86400;86400;86400;86400;86400;86400
TRACK_INACTIVE: False
HIDE_TRAY_ICON: False
LOCKOUT_TYPE: lock
LIMIT_PER_WEEK: 604800
LIMIT_PER_MONTH: 2678400
PLAYTIME_ENABLED: True
PLAYTIME_LIMIT_OVERRIDE_ENABLED: False
PLAYTIME_UNACCOUNTED_INTERVALS_ENABLED: True
PLAYTIME_ALLOWED_WEEKDAYS: 1;2;3;4;5;6;7
PLAYTIME_LIMITS_PER_WEEKDAYS: 0;0;0;0;0;0;0
PLAYTIME_ACTIVITIES: lutris[Lutris Games]
TIME_SPENT_BALANCE: 5759
TIME_SPENT_DAY: 5241
TIME_SPENT_WEEK: 5241
TIME_SPENT_MONTH: 5241
TIME_LEFT_DAY: 32798
PLAYTIME_LEFT_DAY: 0
PLAYTIME_SPENT_DAY: 3499
ACTUAL_TIME_SPENT_SESSION: 4563
ACTUAL_TIME_INACTIVE_SESSION: 1912
ACTUAL_TIME_SPENT_BALANCE: 5759
ACTUAL_TIME_SPENT_DAY: 5241
ACTUAL_TIME_LEFT_DAY: 32801
ACTUAL_TIME_LEFT_CONTINUOUS: 119201
ACTUAL_PLAYTIME_LEFT_DAY: 0
ACTUAL_ACTIVE_PLAYTIME_ACTIVITY_COUNT: 0

I would really appreciate getting this to work to limit distractions on my day to day. Thanks in advance for developing this app ^^

Question information

Language:
English Edit question
Status:
Solved
For:
Timekpr-nExT Edit question
Assignee:
Eduards Bezverhijs Edit question
Solved by:
Eduards Bezverhijs
Solved:
Last query:
Last reply:
Revision history for this message
Best Eduards Bezverhijs (mjasnik) said (last edit ):
#1

If you genuinely don't care about any time accounting except limiting the PT, I would suggest a following configuration:
--------
in "Limits configuration" tab, for every day create 2 intervals:
        first from 00:00 - 20:00 (mark it as "∞")
        second from 20:00 - 24:00 (do NOT mark it)

in "PlayTime configuration" tab, set PlayTime limit for every day to 04:00:00

in "PlayTime configuration" tab, make sure that "allowed during "∞" intervals" is NOT checked

in "PlayTime configuration" tab, make sure that "PlayTime override" is NOT checked

in "PlayTime configuration" tab, make sure that "PlayTime enabled" IS checked

in "Timekr-nExT configuration" tab (upper one), make sure that "PlayTime enabled" master switch IS checked
--------

This should be it.

Report back whether this helps.

Revision history for this message
javicroket (javicroket) said :
#2

It does work! Thank you for your help ^^

Revision history for this message
javicroket (javicroket) said :
#3