mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[GH-ISSUE #231] zeroconf name collision when using librespot as a service #155
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jorritsmit on GitHub (Jun 7, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/231
When i start librespot from the terminal everything works fine, but when i start it as a service i get the following errors and no sound:
On occasion it does work, don´t know why, but what i see then is that the backend is not pulseaudio but alsa. Anyone got any idea what this could be?
my service file looks like this
@QJKX commented on GitHub (Jun 13, 2018):
There's a pulseaudio process in the output of systemctl - instead what you probably wanted was for librespot to connect to the pulseaudio you already had running.
https://blog.louiz.org/pulseaudio_mpd looks relevant
@jorritsmit commented on GitHub (Jun 14, 2018):
you are correct, adding Environment=XDG_RUNTIME_DIR=/run/user/1000 fixed it. Thanks!