-
Notifications
You must be signed in to change notification settings - Fork 446
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
Configuring Zones #54
Comments
Hi, it's roughly described in the configuration part of the Readme:
You can configure e.g. three different pipe streams: This will create three different zones. You need the Android client to assign a client to a zone. You now can run three different mopidy instances, each feeding the audio into a different pipe. |
Thanks for such a quick response! Just to confirm, I can configure the server to stream multiple feeds at the same time, however it's the Android client that designates the "zones" that these streams relate to, not the server or client config? Does that mean that I have to have the android client running at all times, or do the clients "remember" which zones they are in? Thanks again, Matt P.S. When I get this working, I'll do a full write-up :) |
Actually the server does the "routing". He knows about all connected clients and streams and which client should receive what stream. |
Got it working! I'll do a full write up and release the Ansible roles in the next few days. The trick is to configure multiple instances of mopidy (harder than it sounds, the init-scripts really aren't designed to do this!) and then cycle over the mopidy instances configuring the various streams. The snapclients then all show up in the mobile app and you can allocate them to rooms. The only issue I have is that all of my nodes are called "raspberrypi" at the moment, so if there's a way to set the client name and the stream it should be attached to without the App, that would be great! (I'm assuming I can post some JSON-RPC to the server to do this on client startup, I just can't work out the syntax to do it at the moment!) |
Renaming can be done in the app. Just press the three dots on the right of a client, choose "details" and click on "name" to change it. |
Brilliant, thank you. I'll close this now. :) |
Hi,
Firstly, thanks for an awesome system, I'm in the process of configuring it to link in to OpenHAB via Mopidy and it's looking promising!
I'm interested in knowing how to configure "zones", allowing me to move music throughout the house or allow my kids to play one song in one room and a different one somewhere else (I've got three girls, it's going to happen sooner or later!)
The README.md suggests that Zones are "complete", however, I can't find any documentation on how to configure them and the code on the "master" branch doesn't say anything when run with "-h" for either the client or the server.
Thanks in advance for any help you can give,
Matt
The text was updated successfully, but these errors were encountered: