refactor: remove Piper TTS, keep edge_tts only

- Remove piper_url from ReelRequest model and all function signatures
- Remove generate_tts_piper() function and Piper branch in generate_tts_with_subs()
- Remove /api/piper/config routes from server/routes.ts
- Remove piperConfig table, schemas and storage methods
- Remove piper_config migration
- Remove Piper TTS settings UI card
- Update "Piper TTS" labels to "TTS — voix activée"

edge_tts is now the only TTS engine, using precise word-boundary timing
This commit is contained in:
Michael committed 2026-05-19 10:55:01 +02:00
1 parent 8736e4f6a0
commit 59bc56aedc
12 files changed
+46 -265

No files matched your search

+1 -1
View File
@@ -448,7 +448,7 @@ export default function MobileNewReel() {
<div className="mt-4 space-y-2 ml-1 p-3 bg-muted/30 rounded-lg border border-border/50">
<div className="flex items-center gap-2 text-sm text-muted-foreground">
<Mic className="w-4 h-4" />
<span>Piper TTS — voix configurée sur le serveur</span>
<span>TTS — voix activée</span>
</div>
<div className="mt-3">
<Button
+1 -1
View File
@@ -311,7 +311,7 @@ export default function MobileRemotionVideoPage() {
</div>
{ttsEnabled && (
<div className="space-y-2">
<p className="text-xs text-muted-foreground">Piper TTS — voix configurée sur le serveur</p>
<p className="text-xs text-muted-foreground">TTS — voix activée</p>
<Button size="sm" variant="outline" className="w-full" onClick={handleTtsPreview} disabled={!overlayText}>
<Volume2 className="mr-2 w-3 h-3" /> Écouter la voix
</Button>