diff --git a/templates/index.html b/templates/index.html
index ad5c042..7c7c8be 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -355,78 +355,27 @@
- Način reframe
-
- Track (sledi obrazu — intervjuji, vlogi)
- Center (statična kamera)
- Blur (glasba, koncerti)
-
-
-
+
+
+
+
+
+
+
+
+
-
- 🤖 STT: Soniox (primary) → ElevenLabs Scribe → Gemini fallback · LLM analiza: Claude Sonnet 4.6
-
-
-
-
- Pametna izbira odseka (Soniox + Claude LLM → najde refren)
-
-
- Sistem naredi celoten transkript z word-level timestampi in energy profile ,
- nato Claude izbere najboljši refren po pravilih (15 referenčnih primerov).
- Audio fade in/out na meje vokala. Ročno popravljanje preko ✏️ Edit gumba.
-
-
-
-
- Vključi pre-chorus (build-up pred refrenom)
-
-
- Privzeto izklopljeno: dobiš čist refren brez kitice.
-
-
-
-
-
-
- Kvaliteta
-
- Fast (preview)
- Medium (objava)
- High (arhiv)
-
-
-
- AI za analizo (izbere refren)
-
- Claude Sonnet 4.6 (priporočeno)
- Gemini 3.1 Pro (multilingual)
- Auto
-
-
-
-
-
-
- Reels
-
-
+
-
- Izklopi podnapise (kljukica = brez napisov · brez kljukice = napisi v video)
+
+ Izklopi podnapise (brez kljukice = napisi v video · kljukica = brez napisov)
+
+
+ 🤖 Preset: Track reframe · Medium kvaliteta · Soniox+Claude · Smart chorus · Brez pre-chorus
+
Naredi reel
@@ -482,12 +431,7 @@
});
});
- // ─── Auto-chorus toggle ─────────────────────────
- $("#auto-chorus").addEventListener("change", e => {
- $("#manual-times").classList.toggle("hidden", e.target.checked);
- });
-
- // Jezik in model sta avto — skritja polja, ne potrebujemo listenerjev.
+ // Auto-chorus + manual times → zdaj hidden inputs (zapečen default), brez handler-ja.
// ─── Drag & drop ────────────────────────────────
const dz = $("#dropzone");
@@ -658,14 +602,16 @@
// ─── Settings collector ─────────────────────────
function collectSettings() {
- const auto = $("#auto-chorus").checked;
+ // Hidden inputs: data-checked = "true"/"false" za bool fields
+ const auto = $("#auto-chorus").dataset.checked === "true";
+ const includePre = $("#include-prebuild").dataset.checked === "true";
const duration = parseFloat($("#duration").value) || 30;
return {
mode: $("#mode").value,
lang: $("#lang").value || null,
whisper_model: $("#model").value,
auto_chorus: auto,
- include_prebuild: $("#include-prebuild").checked,
+ include_prebuild: includePre,
start: !auto && $("#start").value ? parseTimestamp($("#start").value) : null,
duration: duration,
max_duration: auto ? Math.round(duration * 1.5) : duration,
@@ -698,14 +644,10 @@
});
// ─── Settings persist v localStorage ─────────────────────────
- // Da se ohranijo med page reload-i (no-subs, mode, quality, station, ...)
+ // Edina vidna kontrola je no-subs. Ohranja se med page reload-i.
+ // Default = brez kljukice (= napisi VKLOPLJENI po default).
const PERSIST_FIELDS = [
{ id: "no-subs", type: "checkbox" },
- { id: "auto-chorus", type: "checkbox" },
- { id: "include-prebuild", type: "checkbox" },
- { id: "mode", type: "select" },
- { id: "quality", type: "select" },
- { id: "llm-provider", type: "select" },
];
// Load saved values na DOM ready