AdGuardHome
AdGuardHome copied to clipboard
Multiple intervals within the same weekday in blocked services schedule
Prerequisites
-
[X] I have checked the Wiki and Discussions and found no answer
-
[X] I have searched other issues and found no duplicates
-
[X] I want to request a feature or enhancement and not ask a question
The problem
Id' like to suspend a blocked service more times the same day.
Example: from 8:00 to 14:00 and from 20:00 to 23:59.
Proposed solution
Add one more interval both on global blocked services and on per client blocked services after adding a new client.
Alternatives considered and additional information
No response
I just want to unblock YouTube on the AppleTV from the evening 21:00pm - 03:00am in the night. This isn't possible currently because only one schedule is allowed per day and "end time needs to be before start time".
Yes please. Can't block a time spanning midnight, only from numerically lower times to numerically higher times and a single schedule per persistent client.
+1 for this
Yes please!
Would be a handy feature to "bulkify" the intervals config. Looks like there might be a bit of work involved as the schema currently only supports a start/end time, and not an array of start/end time values.
https://github.com/AdguardTeam/AdGuardHome/blob/fbc4a2700773aa30e780f1b518f47c639ea7a4c4/openapi/openapi.yaml#L2654-L2701
https://github.com/AdguardTeam/AdGuardHome/blob/fbc4a2700773aa30e780f1b518f47c639ea7a4c4/client/src/initialState.ts#L82-L91
+1 for this please! or change pause schedule of the service-blocking to schedule of the service-blocking