From b13b4eb0c2aea209b70c5c91d928e45523b327f1 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Thu, 27 Mar 2025 21:02:55 +0000 Subject: [PATCH] add replayPaused query parameter --- README-query.md | 3 ++- html/script.js | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README-query.md b/README-query.md index 941d549..27ded53 100644 --- a/README-query.md +++ b/README-query.md @@ -81,7 +81,8 @@ See the main readme for more examples on how to use the filters ## heatmap / replay (only available with readsb --heatmap parameter) - replay - replay history of all planes -- replaySpeed - adjust replay speed, 0 loads the replay paused with default speed set +- replaySpeed - adjust replay speed +- replayPaused - load replay paused - heatmap - show a heatmap for the last 24h by default (optional: supply the maximum number of dots drawn, default 32000) - heatDuration - how many hours to show in the heatmap - heatEnd - how many hours to shift the heatmap time window into the past diff --git a/html/script.js b/html/script.js index 8cf095c..f8cdef8 100644 --- a/html/script.js +++ b/html/script.js @@ -7601,6 +7601,9 @@ function replayDefaults(ts) { speed = 30; playing = false; } + if (usp.has("replayPaused")) { + playing = false; + } return { playing: playing, ts: ts,