Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling mpDris2 service breaks mpd socket activation functionality #160

Closed
topas-rec opened this issue Aug 28, 2023 · 0 comments · Fixed by #161
Closed

Enabling mpDris2 service breaks mpd socket activation functionality #160

topas-rec opened this issue Aug 28, 2023 · 0 comments · Fixed by #161

Comments

@topas-rec
Copy link

I use mpd occasionally and start the mpd service only on demand by using its socket. (Explained here)
That works pretty well.

However, when the mpDris2 service is enabled on boot mpd is started on every boot, no matter if mpd is running or not. The reason is that mpDris2 starts it by connecting to its socket.
This can be tested by

  1. Stopping mpDris2 service
  2. Disabling mpd service
  3. Stopping mpd service
  4. Activating mpd socket
  5. Starting mpd socket
    (Checking if mpd is still not started)
  6. Starting mpDris2
    (Checking mpd service status: It should be activated if the issue is present)

Is it possible to work around this and keep the mpd socket activation intact by checking if mpd service is active when mpDris2 starts before actually connecting to the socket?

Best regards Tobias

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant