-
Notifications
You must be signed in to change notification settings - Fork 33
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
Question: TTS to a group of players #62
Comments
Hi Oliver, thanks for your message, I'm glad you like the library. I presume you've seen the interrupt feature, and you're talking about something similar to that, but allowing groupings to change? So something like if the Kitchen was playing Pop, and the Garage was playing Rock, then you could do: $group = new TemporaryGroup;
$group->addSpeaker($sonos->getSpeakerByRoom("Kitchen"));
$group->addSpeaker($sonos->getSpeakerByRoom("Garage"));
$group->interrupt($track); And after the interruption the Kitchen would go back to Pop and the Garage back to Rock? |
Hi Craig, |
Does anyone else get this running or can answer the question? |
Hi Oliver, yes I think you're asking for the |
I've taken a look at this but it's quite complicated to do in a reliable way that handles all the possible scenarios. I'll give it another crack when I get some time. You can take a look at the work in progress here if you like |
Hi Duncan,
you did an amazing job on getting this library coded, this is the most robust coding i've seen to control Sonos.
I did some php development to integrate Sonos into Loxone Home Automation based on the old PHPSonos.inc.php which i adopted and updated frequently, actually i'm stucked and think of to change my baseline you your code.
One of the favorit functions of my user is that they e.g. actually can play something in a group, then build a new group for TTS, adjust the new group volume by Sonos "groupvolume", play generated or stored TTS and regroup to the old status. The Standard TTS Volume per Speaker is stored in the config, but there are some cases where they want to influence the volume up or down.
Now my question: Can i code something similiar by using your API?
Thanks in advance
Oliver
Linkt to: LoxBerry
The text was updated successfully, but these errors were encountered: