You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i start librespot it crashes, with error: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DNSError(Unknown)', discovery/src/lib.rs:115:18
Hi i found a solution to the problem. I will try to explain but keep in mind i'm not quite sure it's correct. Librespot uses mDNS/DNS-SD to broadcast to the local network that the server is here and it is running. That way the spotify client can easily can see the server. The main problem occurs when it needs to broadcast it's existence, and because the avahi daemon in my case wasn't running it couldn't broadcast, resulting in crashing.
fix:
Make sure avahi is installed and running as a service
example using archlinux with systemd: $ sudo systemctl enable avahi-daemon
When i start librespot it crashes, with error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: DNSError(Unknown)', discovery/src/lib.rs:115:18
The command used to start the server:
$ librespot -n "Librespot server" --backend pulseaudio
The text was updated successfully, but these errors were encountered: