File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12425,10 +12425,9 @@ class FastSearchCard extends HTMLElement {
1242512425
1242612426 console.log(`🔍 TTS finished after ${Math.round(ttsAge/1000)}s, player state: ${currentState?.state}`);
1242712427
12428- // Nur fortsetzen wenn:
12429- // 1. Player nicht manuell gestartet wurde während TTS
12430- // 2. TTS nicht zu alt ist (max 60s)
12431- if (currentState?.state !== 'playing' && ttsAge < 60000) {
12428+ // Nur fortsetzen wenn TTS nicht zu alt ist
12429+ // (Player state ist unreliable bei kurzen TTS)
12430+ if (ttsAge < 10000) { // Max 10 Sekunden statt 60
1243212431 console.log('🎵 Auto-resuming music after TTS (was playing before):', entityId);
1243312432 setTimeout(() => {
1243412433 this.callMusicAssistantService('media_play', entityId);
You can’t perform that action at this time.
0 commit comments