log out of sync only when is active, add reload button

This commit is contained in:
Jonathan Baecker 2024-10-03 14:51:40 +02:00
parent f2e8a4a07d
commit 23f7cde3e9
2 changed files with 6 additions and 1 deletions

View File

@ -536,7 +536,9 @@ fn timed_source(
if config.general.stop_threshold > 0.0 if config.general.stop_threshold > 0.0
&& shifted_delta.abs() > config.general.stop_threshold && shifted_delta.abs() > config.general.stop_threshold
{ {
error!(target: Target::file_mail(), channel = id; "Clip begin out of sync for <yellow>{delta:.3}</> seconds."); if manager.is_alive.load(Ordering::SeqCst) {
error!(target: Target::file_mail(), channel = id; "Clip begin out of sync for <yellow>{delta:.3}</> seconds.");
}
new_node.cmd = None; new_node.cmd = None;

View File

@ -25,6 +25,9 @@
:ui="{ input: 'join-item input !input-sm !input-bordered !w-[170px] text-right !pe-3' }" :ui="{ input: 'join-item input !input-sm !input-bordered !w-[170px] text-right !pe-3' }"
required required
/> />
<button class="btn btn-sm btn-primary join-item text-xl" @click="getLog()">
<i class="bi-arrow-repeat" />
</button>
<button class="btn btn-sm btn-primary join-item" :title="t('log.download')" @click="downloadLog"> <button class="btn btn-sm btn-primary join-item" :title="t('log.download')" @click="downloadLog">
<i class="bi-download" /> <i class="bi-download" />
</button> </button>