AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Multiple intervals within the same weekday in blocked services schedule

Open venethia opened this issue 2 years ago • 3 comments

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

venethia avatar Oct 18 '23 11:10 venethia

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".

Burrito78 avatar Apr 16 '24 08:04 Burrito78

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.

y8s avatar May 03 '25 13:05 y8s

+1 for this

neill12 avatar Jun 02 '25 19:06 neill12

Yes please!

stuffu avatar Aug 27 '25 09:08 stuffu

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

lukethacoder avatar Sep 29 '25 03:09 lukethacoder

+1 for this please! or change pause schedule of the service-blocking to schedule of the service-blocking

vminhtrung84 avatar Nov 04 '25 17:11 vminhtrung84