SHar
-
Posts
7 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Gallery
Downloads
Events
Status Updates posted by SHar
-
I saw one of your previous posts.... Can you share screen shots of how you did this?
I am trying to program my button very similar to this:
- first press: play a Pandora playlist
- second press: play a different Pandora playlist
- third press: play a different Pandora playlist (i want third press to play wireless music bridge)
- 4th press: turn the audio off in the room (I want press and hold to turn off audio)
Can you share screen shots of your code for this? I am a newbie and trying to learn how to do this.
Thank you.
-
ok go into the button press
I set mine like this
if room audio device = Pandora 1 then
play playlist1 from Pandora 2 in room xx
stop
if room audio device = Pandora 2 then
play playlist1 from Pandora 3 in room xx
stop
if room audio device = Pandora 3 then
set room audio device to wireless music bridge
stop
etc
then have this one at the bottom
if room audio device is NOT Pandora 1 then
play playlist1 from Pandora 1 in room xx
stop
I'm not sure that you can test for a certain playlist going... what I might do is have multiple instances of the Pandora driver available... so when you switch between playlists, actually pick from the different drivers, as then you can test for whether or not each one of those instances of the driver are active or not.
I set a double tap to turn my room off.