This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper | |
import groovy.json.JsonOutput | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv Gal Waizer") { | |
capability "Music Player" | |
capability "Switch" | |
capability "Refresh" | |
command "preset1" | |
command "preset2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv") { | |
capability "Music Player" | |
capability "Refresh" | |
capability "Switch" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv") { | |
capability "Music Player" | |
capability "Refresh" | |
capability "Switch" | |
// These strings are comma separated lists of names | |
attribute "playlists", "json_object" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv") { | |
capability "Music Player" | |
capability "Refresh" | |
capability "Switch" | |
// These strings are comma separated lists of names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import groovy.json.JsonSlurper | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv") { | |
capability "Music Player" | |
capability "Refresh" | |
capability "Switch" | |
// These strings are comma separated lists of names | |
attribute "playlists", "json_object" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* based on ObyThing Music | |
* | |
*/ | |
import groovy.json.JsonSlurper | |
metadata { | |
definition (name: "Rompr", namespace: "ngw", author: "Niv") { | |
capability "Music Player" |