Fix: --device-type computer für librespot

Behebt "context is not available. type: Default" Fehler,
bei dem librespot keine Tracks laden konnte. Die Angabe des
Device-Types hilft Spotify den Client korrekt zu klassifizieren.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Niklas Gühne
2026-04-07 08:42:55 +02:00
parent 5b99f3fc17
commit 15c71f1c38

View File

@@ -157,6 +157,7 @@ LIBRESPOT_ARGS=(
"--name" "${DEVICE_NAME}" "--name" "${DEVICE_NAME}"
"--bitrate" "${BITRATE}" "--bitrate" "${BITRATE}"
"--backend" "pipe" "--backend" "pipe"
"--device-type" "computer"
"--disable-audio-cache" "--disable-audio-cache"
"--initial-volume" "100" "--initial-volume" "100"
"--disable-discovery" "--disable-discovery"