Will this Recipe work in RP3?
-
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 -
Hi, all Extented feature is decoded is this version.(GA light)
Use a 3rd party modules for radio and if needed create a recipe to communicate with it -
@bugsounet I see, thanks for the reply.
I just was wondering why can I use other recipes in RP3 like screen manager and the reboot/shut down, witch works very well btw, and not this radio one specifically. Is it because to heavy for RP3 or needs a player?
-
The radio player is inside
Extented Display
, it’s decoded for Light versionreboot, shudown, screen recipe are some shell usual command (reboot, shutdown, …)
There is no default player and if exist you have to launch with a streaming and you have to stop it (complex to launch a process and stop it for a begginer :/)
So a dedicated module is needed for Radio and make recipe in accord with it
I see This One but not tested… -
@bugsounet said in Will this Recipe work in RP3?:
The radio player is inside
Extented Display
, it’s decoded for Light versionreboot, shudown, screen recipe are some shell usual command (reboot, shutdown, …)
There is no default player and if exist you have to launch with a streaming and you have to stop it (complex to launch a process and stop it for a begginer :/)
So a dedicated module is needed for Radio and make recipe in accord with it
I see This One but not tested…I see, got it! I will take a look at that one then. Thank you so much again.