From 23f7cde3e9ea13278ea73d7b4fb829ec9403a515 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Thu, 3 Oct 2024 14:51:40 +0200 Subject: [PATCH 1/3] log out of sync only when is active, add reload button --- engine/src/player/input/playlist.rs | 4 +++- frontend/pages/logging.vue | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/engine/src/player/input/playlist.rs b/engine/src/player/input/playlist.rs index a39a911a..f431ce18 100644 --- a/engine/src/player/input/playlist.rs +++ b/engine/src/player/input/playlist.rs @@ -536,7 +536,9 @@ fn timed_source( if config.general.stop_threshold > 0.0 && shifted_delta.abs() > config.general.stop_threshold { - error!(target: Target::file_mail(), channel = id; "Clip begin out of sync for {delta:.3} seconds."); + if manager.is_alive.load(Ordering::SeqCst) { + error!(target: Target::file_mail(), channel = id; "Clip begin out of sync for {delta:.3} seconds."); + } new_node.cmd = None; diff --git a/frontend/pages/logging.vue b/frontend/pages/logging.vue index a5f7f3d9..4605921f 100644 --- a/frontend/pages/logging.vue +++ b/frontend/pages/logging.vue @@ -25,6 +25,9 @@ :ui="{ input: 'join-item input !input-sm !input-bordered !w-[170px] text-right !pe-3' }" required /> + From 28af01ed65ca0c7de10e27749fde49bd3c859b28 Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Thu, 3 Oct 2024 14:57:31 +0200 Subject: [PATCH 2/3] smaller icon --- frontend/pages/logging.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/pages/logging.vue b/frontend/pages/logging.vue index 4605921f..eda540e6 100644 --- a/frontend/pages/logging.vue +++ b/frontend/pages/logging.vue @@ -25,7 +25,7 @@ :ui="{ input: 'join-item input !input-sm !input-bordered !w-[170px] text-right !pe-3' }" required /> -