Will this Radio Recipe work in RP3? Or can I do something to make it work with GA Light?
var recipe = {
transcriptionHooks: {
“tsf”: {
pattern: “abre tsf”,
command: “tsf”
},
“rfm”: {
pattern: “abre rfm”,
command: “rfm”
},
“smooth fm”: {
pattern: “abre smooth fm”,
command: “smooth fm”
},
“rádio comercial”: {
pattern: “abre rádio comercial”,
command: “rádio comercial”
},
“cidade fm”: {
pattern: “abre cidade fm”,
command: “cidade fm”
},
“antena 1”: {
pattern: “abre antena 1”,
command: “antena 1”
},
“antena 3”: {
pattern: “abre antena 3”,
command: “antena 3”
}
},
commands: {
“tsf”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/tsf.svg’],
link: “https://tsfdirecto.tsf.pt/tsfdirecto.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“rfm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/rfm.png’],
link: “https://playerservices.streamtheworld.com/api/livestream-redirect/RFM.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“m80”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/m80.png’],
link: “https://mcrscast.mcr.iol.pt/m80?.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“smooth fm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/smoothfm.png’],
link: “http://mcrscast.mcr.iol.pt/smoothfm”
})
}
},
soundExec: {
chime: “open”
}
},
“rádio comercial”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Comercial.png’],
link: “http://mcrscast1.mcr.iol.pt/comercial.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“antena 1”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Antena1.png’],
link: “http://radiocast.rtp.pt/antena180a.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“antena 3”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/Antena3.png’],
link: “http://radiocast.rtp.pt/antena380a.mp3”
})
}
},
soundExec: {
chime: “open”
}
},
“cidade fm”: {
functionExec: {
exec: () => {
this.radioCommand({
img: [‘modules/MMM-GoogleAssistant/resources/LogosRadios/cidadefm.png’],
link: “http://mcrscast.mcr.iol.pt/cidadefm”
})
}
},
soundExec: {
chime: “open”
}
},
/** rien a voir avec la radio ... c'est la chaine TV de france info ;) **/
"info": {
functionExec: {
exec: () => {
this.displayEXTResponse.start({
"photos": [],
"urls": [ "https://m.youtube.com/watch?v=wwNZKfBLAsc" ],
"transcription": { transcription: 'France Info TV', done: true },
})
}
},
soundExec: {
chime: "open"
}
}
}
}
exports.recipe = recipe