Release v1.0.10: ffmpeg -re Flag für Echtzeit-Wiedergabe
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user