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>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
---
|
|
name: "Busch-Radio Spotify Bridge"
|
|
version: "1.0.10"
|
|
slug: busch_radio_spotify
|
|
description: >
|
|
Streamt Spotify-Musik als Internet-Radio-Stream für das Busch-Jäger Unterputz-Internetradio.
|
|
Das Add-on erzeugt ein virtuelles Spotify Connect-Gerät (via librespot) und stellt das Audio
|
|
als MP3- oder AAC-Stream über Icecast bereit.
|
|
url: "https://gitea.bitfire.work/retr0/Busch-Radio-Spotify"
|
|
arch:
|
|
- aarch64
|
|
- amd64
|
|
- armhf
|
|
- armv7
|
|
init: false
|
|
homeassistant: "2023.1.0"
|
|
|
|
# Zeroconf/mDNS benötigt Multicast-Zugang → Host-Netzwerk erforderlich.
|
|
# Dadurch ist der Stream direkt unter http://<ha-ip>:8000/stream.mp3 erreichbar.
|
|
host_network: true
|
|
|
|
# ---- Konfigurationsoptionen ----
|
|
options:
|
|
device_name: "Busch-Radio"
|
|
bitrate: 160
|
|
stream_format: "mp3"
|
|
stream_port: 8000
|
|
stream_mount: "/stream"
|
|
icecast_password: "busch-radio-geheim"
|
|
|
|
schema:
|
|
device_name: str
|
|
bitrate: "list(96|128|160|192)"
|
|
stream_format: "list(mp3|aac)"
|
|
stream_port: port
|
|
stream_mount: str
|
|
icecast_password: str
|
|
|
|
# ---- UI ----
|
|
panel_icon: mdi:radio
|
|
panel_title: "Busch-Radio"
|
|
|
|
# ---- Sonstiges ----
|
|
map:
|
|
- config:rw
|
|
- share:rw
|
|
- data:rw
|