-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
The session terminates shortly (3 seconds-ish) after starting when attempting to use the pipe audio backend.
Context
I'm attempting to run go-librespot in a Home Assistant add-on on a Raspberry Pi 4. The output is destined for a snapcast-server. The error does not occur if I route the audio to a dummy output. I've tried building from source and copying the prebuilt binary from the latest docker image.
Logs
The logs don't show any specific errors but I included logs showing that the session starts, chunks are fetched.
time="2026-01-22T11:27:27-07:00" level=debug msg="skipping packet PacketTypeMercuryEvent, len: 323"
time="2026-01-22T11:27:27-07:00" level=debug msg="selected format OGG_VORBIS_160 (c14d00e18fa85136f8c49ea6f3170848e2f7b4ea)" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="requested aes key for file c14d00e18fa85136f8c49ea6f3170848e2f7b4ea, gid: 1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=trace msg="found 2 cdn urls" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="fetched first chunk of 8, total size is 4158564 bytes" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="fetched chunk 2/7, size: 524288" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="fetched chunk 1/7, size: 524288" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="fetched chunk 3/7, size: 524288" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=debug msg="fetched chunk 7/7, size: 488548" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:27-07:00" level=trace msg="seek to 198620ms (diff: 198462ms, samples: 8759142, bytes: 4145735)" uri="spotify:track:1dHW6MypbqYUzRXAItBQ07"
time="2026-01-22T11:27:56-07:00" level=trace msg="sent dealer ping"
time="2026-01-22T11:28:26-07:00" level=trace msg="sent dealer ping"
time="2026-01-22T11:28:56-07:00" level=error msg="did not receive last pong from dealer, 60s passed"
time="2026-01-22T11:29:26-07:00" level=trace msg="received accesspoint ping"
time="2026-01-22T11:29:26-07:00" level=trace msg="received accesspoint pong ack"
time="2026-01-22T11:29:26-07:00" level=error msg="did not receive last pong from dealer, 90s passed"
time="2026-01-22T11:29:56-07:00" level=error msg="did not receive last pong from dealer, 120s passed"
Config
log_level: trace
audio_backend: pipe
audio_output_pipe: /var/run/snapfifo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working