From fbebf84b76d523f323af4057183a368794f78d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20G=C3=BChne?= Date: Tue, 7 Apr 2026 10:22:49 +0200 Subject: [PATCH] =?UTF-8?q?Release=20v1.0.10:=20ffmpeg=20-re=20Flag=20f?= =?UTF-8?q?=C3=BCr=20Echtzeit-Wiedergabe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ohne -re liest ffmpeg den PCM-Stream von librespot so schnell wie möglich. librespot meldet die Position dann zu schnell an Spotify, was dazu führt dass Tracks im Sekundentakt wechseln und Stop/Skip vom Handy nicht funktionieren. Mit -re wird der Input auf native Framerate gedrosselt (44100 Hz S16LE Stereo → ~176 kB/s), sodass Position korrekt gemeldet wird. Co-Authored-By: Claude Sonnet 4.6 --- busch_radio_spotify/config.yaml | 2 +- busch_radio_spotify/run.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/busch_radio_spotify/config.yaml b/busch_radio_spotify/config.yaml index 3e5e506..d7f5a38 100644 --- a/busch_radio_spotify/config.yaml +++ b/busch_radio_spotify/config.yaml @@ -1,6 +1,6 @@ --- name: "Busch-Radio Spotify Bridge" -version: "1.0.9" +version: "1.0.10" slug: busch_radio_spotify description: > Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio. diff --git a/busch_radio_spotify/run.sh b/busch_radio_spotify/run.sh index 04c9384..27ccd5e 100644 --- a/busch_radio_spotify/run.sh +++ b/busch_radio_spotify/run.sh @@ -32,7 +32,7 @@ else fi bashio::log.info "╔══════════════════════════════════════════════╗" -bashio::log.info "║ Busch-Radio Spotify Bridge v1.0.9 ║" +bashio::log.info "║ Busch-Radio Spotify Bridge v1.0.10 ║" bashio::log.info "╚══════════════════════════════════════════════╝" bashio::log.info "Gerätename : ${DEVICE_NAME}" bashio::log.info "Bitrate : ${BITRATE} kbps" @@ -248,6 +248,7 @@ while true; do librespot "${LIBRESPOT_ARGS[@]}" \ | ffmpeg \ + -re \ -hide_banner \ -loglevel warning \ -f s16le -ar 44100 -ac 2 \