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

How to auto start music playing when a least one client is connected? #2108

Open
waldhef opened this issue Sep 1, 2024 · 1 comment
Open

Comments

@waldhef
Copy link

waldhef commented Sep 1, 2024

Feature request

Hello,
I'am using httpd audio_output to stream my music in my local network.

Now I want to achieve that the music begins to play when at least on client is connected and stops playing when there are no clients connected.
I tried to set log_level to verbose in order to see something like "client connected" or "client disconnected" but there is not such a message.

Is there an other way how I can trigger mpc play and mpc stop?

Thanks in advance.

@MaxKellermann
Copy link
Member

No, this feature does not exist currently. But since it's open source, you can implement it (and submit a PR).

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

No branches or pull requests

2 participants