bonjour,
je partages avec vous un petit recipe qui permet de regardé la télé via un démodulateur satelite voir meme ip tv sur son miroir.
mettre son démodulateur en mode standby.
vous devez remplacer l’ip après http: par l’ip de votre démodulateur.
a tester avec des lignes iptv.
ceci est un exemple et il doit etre possible de l’amélioré.
n’oubliez pas de donné un nom au fichier et de l’indiqué dans la partie recipe de config.js.
bonne télé a tous.
/** Commandes vocales pour contrôler un démodulateur Linux **/
/** @bigjojo **/
/** 20/07/2021 **/
var recipe = {
transcriptionHooks: {
"rtsun": {
pattern: "regarder rts1",
command: "rtsun"
},
"rtsdeux": {
pattern: "regarder rts 2",
command: "rtsdeux"
},
"laune": {
pattern: "regarder la une",
command: "laune"
},
"ladeux": {
pattern: "regarder la deux",
command: "ladeux"
},
"latrois": {
pattern: "regarder la trois",
command: "latrois"
},
"rtltvi": {
pattern: "regarder rtl tvi",
command: "rtltvi"
},
"clubrtl": {
pattern: "regarder club rtl",
command: "clubrtl"
},
"plugrtl": {
pattern: "regarder plug rtl",
command: "plugrtl"
},
"tf1": {
pattern: "regarder tf1",
command: "tf1"
},
"france2": {
pattern: "regarder france 2",
command: "france2"
},
"france3": {
pattern: "regarder france 3",
command: "france3"
},
"france4": {
pattern: "regarder france 4",
command: "france4"
},
"france5": {
pattern: "regarder france 5",
command: "france5"
},
"m6": {
pattern: "regarder m6",
command: "m6"
},
"w9": {
pattern: "regarder w9",
command: "w9"
},
"c8": {
pattern: "regarder c8",
command: "c8"
},
"cstar": {
pattern: "regarder cstar",
command: "cstar"
},
"tfx": {
pattern: "regarder tfx",
command: "tfx"
},
"tmc": {
pattern: "regarder tmc",
command: "tmc"
},
"rmcdecouverte": {
pattern: "regarder rmc decouverte",
command: "rmcdecouverte"
},
"cherie25": {
pattern: "regarder chérie 25",
command: "cherie25"
},
"6ter": {
pattern: "regarder 6ter",
command: "6ter"
},
"rtl9": {
pattern: "regarder RTL9",
command: "rtl9"
},
"nrj12": {
pattern: "regarder nrj12",
command: "nrj12"
},
"tf1serie": {
pattern: "regarder tf1 série",
command: "tf1serie"
},
"cineclassic": {
pattern: "regarder ciné Classic",
command: "cineclassic"
},
"cineclub": {
pattern: "regarder ciné Club",
command: "cineclub"
},
"émotion": {
pattern: "regarder ciné émotion",
command: "émotion"
},
"cinefamiz": {
pattern: "regarder ciné famiz",
command: "cinefamiz"
},
"cinefrisson": {
pattern: "regarder ciné frisson",
command: "cinefrisson"
},
"cinepremier": {
pattern: "regarder ciné premier",
command: "cinepremier"
},
"canalplus": {
pattern: "regarder canal+",
command: "canalplus"
},
"canalcinema": {
pattern: "regarder canal cinéma",
command: "canalcinema"
},
"canaldecale": {
pattern: "regarder canal décalé",
command: "canaldecale"
},
"canalfamily": {
pattern: "regarder canal family",
command: "canalfamily"
},
"canalseries": {
pattern: "regarder canal séries",
command: "canalseries"
},
"stop_vlc": {
pattern: "stopper vlc",
command: "stop_vlc"
},
},
commands: {
"rtsun": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:4333:300C:13E:820000:0:0:0:"
}
},
"rtsdeux": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:4334:300C:13E:820000:0:0:0:"
}
},
"laune": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12D7:2E7C:13E:820000:0:0:0:"
}
},
"ladeux": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12D8:2E7C:13E:820000:0:0:0:"
}
},
"latrois": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12D5:2E7C:13E:820000:0:0:0:"
}
},
"rtltvi": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12D6:2E7C:13E:820000:0:0:0:"
}
},
"clubrtl": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12D9:2E7C:13E:820000:0:0:0:"
}
},
"plugrtl": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:12DA:2E7C:13E:820000:0:0:0:"
}
},
"tf1": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2460:440:1:C00000:0:0:0:"
}
},
"france2": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:245A:440:1:C00000:0:0:0:"
}
},
"france3": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:245D:440:1:C00000:0:0:0:"
}
},
"france4": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:21FD:44C:1:C00000:0:0:0:"
}
},
"france5": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2330:442:1:C00000:0:0:0:"
}
},
"m6": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2457:440:1:C00000:0:0:0:"
}
},
"w9": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2458:440:1:C00000:0:0:0:"
}
},
"c8": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2334:442:1:C00000:0:0:0:"
}
},
"cstar": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2335:442:1:C00000:0:0:0:"
}
},
"tfx": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2014:430:1:C00000:0:0:0:"
}
},
"tmc": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2015:430:1:C00000:0:0:0:"
}
},
"rmcdecouverte": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2011:430:1:C00000:0:0:0:"
}
},
"cherie25": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:2F6D:454:1:C00000:0:0:0:"
}
},
"6ter": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:1F4B:42E:1:C00000:0:0:0:"
}
},
"rtl9": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:428B:446:1:C00000:0:0:0:"
}
},
"nrj12": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:1:2F72:454:1:C00000:0:0:0:"
}
},
"tf1serie": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:232B:442:1:C00000:0:0:0:"
}
},
"cineclassic": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2269:438:1:C00000:0:0:0:"
}
},
"cineclub": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:26B9:43E:1:C00000:0:0:0:"
}
},
"cinefamiz": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2268:438:1:C00000:0:0:0:"
}
},
"cinefrisson": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2267:438:1:C00000:0:0:0:"
}
},
"cinepremier": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2456:440:1:C00000:0:0:0:"
}
},
"canalplus": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2261:438:1:C00000:0:0:0:"
}
},
"canalcinema": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2263:438:1:C00000:0:0:0:"
}
},
"canaldecale": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2262:438:1:C00000:0:0:0:"
}
},
"canalfamily": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2265:438:1:C00000:0:0:0:"
}
},
"canalseries": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:2266:438:1:C00000:0:0:0:"
}
},
"émotion": {
soundExec: {
chime: "open",
},
shellExec: {
exec: "vlc -f http://***.***.***.***:8001/1:0:19:245B:440:1:C00000:0:0:0:"
}
},
"stop_vlc": {
soundExec: {
chime: "close",
},
shellExec: {
exec: "killall vlc"
},
},
}
}
exports.recipe = recipe // Don't remove this line.
Edit:
- Change commentaire
- Change chime close par open sauf pour le killall