From: Seyed Amir Hossein Aqajari Date: Tue, 6 Aug 2019 02:13:49 +0000 (-0700) Subject: Update bose-soundtouch-control.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=a4d03e6f1752b5c65bd6449377a171f3785caff6 Update bose-soundtouch-control.groovy --- diff --git a/official/bose-soundtouch-control.groovy b/official/bose-soundtouch-control.groovy index 7df3ae9..bd0c627 100755 --- a/official/bose-soundtouch-control.groovy +++ b/official/bose-soundtouch-control.groovy @@ -78,13 +78,7 @@ def mainPage() { "Turn Off", "Toggle Play/Pause", "Skip to Next Track", - "Skip to Beginning/Previous Track", - "Play Preset 1", - "Play Preset 2", - "Play Preset 3", - "Play Preset 4", - "Play Preset 5", - "Play Preset 6" + "Skip to Beginning/Previous Track" ] } section { @@ -234,24 +228,6 @@ private takeAction(evt) { case "Skip to Beginning/Previous Track": options ? bose.previousTrack(options) : bose.previousTrack() break - case "Play Preset 1": - options ? bose.preset1(options) : bose.preset1() - break - case "Play Preset 2": - options ? bose.preset2(options) : bose.preset2() - break - case "Play Preset 3": - options ? bose.preset3(options) : bose.preset3() - break - case "Play Preset 4": - options ? bose.preset4(options) : bose.preset4() - break - case "Play Preset 5": - options ? bose.preset5(options) : bose.preset5() - break - case "Play Preset 6": - options ? bose.preset6(options) : bose.preset6() - break default: log.error "Action type '$actionType' not defined" }