From 57d8dcdccf72afffc24cbc688fd0521097847bf8 Mon Sep 17 00:00:00 2001 From: bernd Date: Tue, 29 Sep 2026 08:52:58 +0200 Subject: [PATCH] editor.py aktualisiert --- editor.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/editor.py b/editor.py index 371d8c1..36a9d09 100644 --- a/editor.py +++ b/editor.py @@ -173,6 +173,7 @@ def create_finished(filename, start, end): "-i", str(source), "-ss", f"{start:.3f}", "-t", f"{end - start:.3f}", + "-af", "loudnorm=I=-16:TP=-1.5:LRA=11", "-c:a", "libmp3lame", "-b:a", "128k", str(temp), @@ -423,10 +424,15 @@ th { color:#aaa; font-weight:normal; } .button { display:inline-block; border:0; border-radius:6px; padding:9px 13px; background:#333; color:#fff; cursor:pointer; text-decoration:none; } .button:hover { background:#444; } .empty { color:#999; padding:15px 0; } +.loading-overlay { position:fixed; inset:0; background:rgba(0,0,0,.78); display:none; align-items:center; justify-content:center; z-index:1000; } +.loading-overlay.active { display:flex; } +.spinner { width:54px; height:54px; border:5px solid #444; border-top-color:#fff; border-radius:50%; animation:spin .8s linear infinite; } +@keyframes spin { to { transform:rotate(360deg); } } @media(max-width:800px) { body { padding:12px; } table,thead,tbody,tr,th,td { display:block; } thead { display:none; } tr { padding:10px 0; border-bottom:1px solid #333; } td { border:0; padding:5px 0; } } +

Event Audio – Editor

Fertige Aufnahmen aus {{ recordings_dir }}
@@ -443,7 +449,7 @@ th { color:#aaa; font-weight:normal; } {{ item.datetime }} {{ item.size }} {{ item.duration }} -✂ Bearbeiten +✂ Bearbeiten {% endfor %} @@ -471,6 +477,9 @@ th { color:#aaa; font-weight:normal; } {% else %}
Noch keine bearbeiteten Aufnahmen vorhanden.
{% endif %}
+ """