diff --git a/static/IPTV.py b/static/IPTV.py index 38804cb..c08b2a9 100644 --- a/static/IPTV.py +++ b/static/IPTV.py @@ -1114,8 +1114,8 @@ def communication(data): except (TypeError, ValueError): sendMessage(toSidDevice, fromSidDevice, 'warning', 'Invalid snapshot interval', 0) else: - if interval_seconds < 2: - sendMessage(toSidDevice, fromSidDevice, 'warning', 'Snapshot interval must be at least 2 seconds', 0) + if interval_seconds < 1: + sendMessage(toSidDevice, fromSidDevice, 'warning', 'Snapshot interval must be at least 1 second', 0) else: SNAPSHOT_INTERVAL_SECONDS = interval_seconds sendMessage( @@ -1302,7 +1302,7 @@ def initIPTV(): # ---------------------------------------------------------------- # ---------------------------------------------------------------- -num_version='5.0.6' +num_version='5.0.7' # ---------------------------------------------------------------- # ---------------------------------------------------------------- @@ -1328,7 +1328,7 @@ mediaRunning = '' status_vpn = 'disconnected' data_running = {} auto_snapshot_enabled = True -SNAPSHOT_INTERVAL_SECONDS = 10 +SNAPSHOT_INTERVAL_SECONDS = 2 POLLING_INTERVAL_SECONDS = 10 SOCKET_CONNECT_TIMEOUT = 10 SOCKET_RETRY_MIN_INTERVAL = 3 diff --git a/static/index.html b/static/index.html index 8de2d60..3afe9f1 100644 --- a/static/index.html +++ b/static/index.html @@ -1220,7 +1220,7 @@