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

Set a default stream for clients to choose #1316

Open
genericuser256 opened this issue Jan 1, 2025 · 1 comment
Open

Set a default stream for clients to choose #1316

genericuser256 opened this issue Jan 1, 2025 · 1 comment

Comments

@genericuser256
Copy link

Is your feature request related to a problem? Please describe.
By default new clients choose the first non-meta stream to connect to. For my use case, it's helpful to be able to set the default stream for a client to connect to, specifically I'd like my one meta stream to be the default that clients connect to.

Describe the solution you'd like
I think the easiest solution here is to add a setting to snapserver.conf:stream of default_source that takes the name of the stream to use as the default.

Describe alternatives you've considered
Another option is to allow setting priority per stream which would be easiest if people were commonly adding and removing streams, but as that feels unlikely I figure this is the best approach.

@genericuser256
Copy link
Author

I have a working change here if desired: https://github.com/genericuser256/snapcast/tree/add-default-source

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

No branches or pull requests

1 participant