From 225e49e74bbb13c747463bc598df82d0c18319cd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 14 Sep 2021 22:22:38 +0200 Subject: [PATCH] Match regex timer --- qbittorrent/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/config.json b/qbittorrent/config.json index 904c8035c..b8ea75ed0 100644 --- a/qbittorrent/config.json +++ b/qbittorrent/config.json @@ -83,7 +83,7 @@ "openvpn_config": "str?", "openvpn_username": "str?", "openvpn_password": "str?", - "run_duration": "str?", + "run_duration": "match(/[0-9]+[d|h|m|s]?\s?([0-9]+[h|m|s]\s?)?([0-9]+[m|s]\s?)?([0-9]+[s]?\s)?/i)?", "TZ": "str?" } }