mgalyean Posted April 7, 2015 Share Posted April 7, 2015 Looking for the best way to solve this issue. client has C4 6 button keypads, he's using a button (1 press, 2 press, 3 press) for Tunein presets... works great for one room, but the minute another room activates, C4 turns off the initial steam and zone and turns on the second room. I realize that is the correct action given the current programming, but am looking for some programming logic to make that second room join the active stream instead of closing out the room. Just though someone has probably done it somewhere. Thanks,Mike Link to comment Share on other sites More sharing options...
msgreenf Posted April 7, 2015 Share Posted April 7, 2015 So you want the 2nd room to join the same audio? Not take over and play a new stream?Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
mgalyean Posted April 7, 2015 Author Share Posted April 7, 2015 partially, if the a Tunein stream is active, I'd like it to join, but if it there is not an active stream, the button press will need to initiate the stream for that zone. Just do not want it to turn off an existing stream Link to comment Share on other sites More sharing options...
msgreenf Posted April 7, 2015 Share Posted April 7, 2015 How do you want to handle a different stream requested in room 2 vs room 1?Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
mgalyean Posted April 7, 2015 Author Share Posted April 7, 2015 right not, they've got only an HC-250, so there's only one stream available to the amp. unless there's a better option, it will have to be treated like an FM tuner... if someone changes the channel, well, that's what you've got. again, unless you've got a work around Link to comment Share on other sites More sharing options...
mgalyean Posted April 7, 2015 Author Share Posted April 7, 2015 oops, mistyped while on the phone. should have read, Right now they... Link to comment Share on other sites More sharing options...
msgreenf Posted April 7, 2015 Share Posted April 7, 2015 The reason I asked was I think you will have to set variables. And use variables to track. So when stream is on in room 1 set variable tuneinplaying to true. Then on your code for room 2 if tineinplaying is true, join the stream vs play. Then do the reverse for room 1 Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
mgalyean Posted April 7, 2015 Author Share Posted April 7, 2015 ok, follow you. variable true or false for playing / not, then at button press ( 1, 2, or 3) initiate with if playing variable true join, otherwise initiate. Link to comment Share on other sites More sharing options...
msgreenf Posted April 7, 2015 Share Posted April 7, 2015 Yup!Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.