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
Description
I can't run spotifyd and avahi-daemon at the same time.
To Reproduce
Run spotifyd -u "$SPOTIFY_USERNAME" -p "$SPOTIFY_PASSWORD" --no-daemon --backend=portaudio.
See the following error:
Loading config from "/usr/local/etc/spotifyd.conf"
No proxy specified
Using software volume controller.
PANIC: Shutting down spotifyd. Error message: called `Result::unwrap()` on an `Err` value: Os { code: 48, kind: AddrInUse, message: "Address already in use" }
If I stop avahi-daemon first, spotifyd starts as expected:
$ sudo service avahi-daemon stop
Stopping avahi-daemon.
$ spotifyd -u "$SPOTIFY_USERNAME" -p "$SPOTIFY_PASSWORD" --no-daemon --backend=portaudio
Loading config from "/usr/local/etc/spotifyd.conf"
No proxy specified
Using software volume controller.
Connecting to AP "ap.spotify.com:443"
error sending packet Os { code: 51, kind: NetworkUnreachable, message: "Network is unreachable" }
Authenticated as "v4u9kaeuhr3mw0r2x695ewso2" !
Country: "AU"
Using PortAudio sink with format: S16
This backend is known to panic on several platforms.
Consider using some other backend, or better yet, contributing a fix.
Expected behavior
I'd expect spotifyd to start without first stopping avahi-daemon (thus disabling mDNS on my system).
Logs
Click to show logs
$ spotifyd -u "$SPOTIFY_USERNAME" -p "$SPOTIFY_PASSWORD" --no-daemon --backend=portaudio --verbose
Loading config from "/usr/local/etc/spotifyd.conf"
CliConfig { config_path: None, no_daemon: true, verbose: true, pid: None, shared_config: SharedConfigValues { username: Some("taken out for privacy"), username_cmd: None, password: Some("taken out for privacy"), password_cmd: None, use_keyring: false, use_mpris: None, on_song_change_hook: None, cache_path: None, no-audio-cache: false, backend: Some(PortAudio), volume_controller: None, device: None, control: None, mixer: None, device_name: None, bitrate: None, initial_volume: None, volume_normalisation: false, normalisation_pregain: None, zeroconf_port: None, proxy: None, device_type: None } }
Found user shell: Some("/usr/local/bin/bash")
No proxy specified
registering event source with poller: token=Token(0), interests=READABLE | WRITABLE
Using software volume controller.
registering event source with poller: token=Token(1), interests=READABLE | WRITABLE
Zeroconf server listening on 0.0.0.0:60510
Shutting down discovery server
deregistering event source from poller
PANIC: Shutting down spotifyd. Error message: called `Result::unwrap()` on an `Err` value: Os { code: 48, kind: AddrInUse, message: "Address already in use" }
Versions (please complete the following information):
OS: FreeBSD 13.1
Spotifyd: spotifyd 0.3.3
The text was updated successfully, but these errors were encountered:
Description
I can't run spotifyd and avahi-daemon at the same time.
To Reproduce
spotifyd -u "$SPOTIFY_USERNAME" -p "$SPOTIFY_PASSWORD" --no-daemon --backend=portaudio
.Expected behavior
I'd expect spotifyd to start without first stopping avahi-daemon (thus disabling mDNS on my system).
Logs
Click to show logs
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: