From eba3757572b04a2285ad77d5b5e38d6203237317 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Wed, 17 Jun 2026 19:52:07 +0200 Subject: [PATCH] Server-seitige TTS-Sprachausgabe (Thorsten via Piper) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Neuer /api/speak Endpunkt: Text โ†’ Piper TTS โ†’ WAV-Audio - Frontend speak() ruft jetzt Server-Endpunkt statt Web Speech API - Browser-TTS nur als Fallback wenn Server nicht erreichbar - ๐Ÿ”Š Button prominenter: BSN-blauer Hintergrund + sichtbarer Rand - Fix: SVG-Icons auf Beitrags-Detailseite statt Emojis - Fix: Datum bei Text-Only-Karten unten rechts (top:auto) --- app.py | 100 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 83 insertions(+), 17 deletions(-) diff --git a/app.py b/app.py index 547287a..296e93f 100644 --- a/app.py +++ b/app.py @@ -1881,7 +1881,7 @@ def public_frontend(): .story-preview { display:none; } .text-only .story-preview { display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; text-overflow:ellipsis; font-size:0.8rem; line-height:1.4; color:#444; margin-bottom:0.35rem; } .text-only .card-content { position:relative; padding:0.55rem 0.85rem 0.65rem; } - .text-only .story-time-overlay { position:absolute; top:0.45rem; right:0.6rem; left:auto; z-index:5; } + .text-only .story-time-overlay { position:absolute; top:auto; bottom:0.45rem; right:0.6rem; left:auto; z-index:5; } /* Frontend filter bar */ .frontend-filter { max-width:1100px; margin:1rem auto 0; padding:0 1.5rem; display:flex; gap:0.4rem; flex-wrap:wrap; align-items:center; } @@ -2059,7 +2059,7 @@ def public_frontend():
Hey! ๐Ÿ‘‹ Ich bin der BSN Community Assistant. Frag mich nach Spielen, Stรคnden oder was auf der SPIEL Essen los ist!
- +