From 5e0366b7077a107e84478c4cf8909a0bf43ab6e9 Mon Sep 17 00:00:00 2001 From: XtremeOwnage <5262735+XtremeOwnageDotCom@users.noreply.github.com> Date: Thu, 13 Apr 2023 16:33:56 -0500 Subject: [PATCH 1/2] Add textToSpeech Command https://www.fully-kiosk.com/en/#configuration --- fullykiosk/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fullykiosk/__init__.py b/fullykiosk/__init__.py index 9cd1e34..bc81675 100644 --- a/fullykiosk/__init__.py +++ b/fullykiosk/__init__.py @@ -82,6 +82,9 @@ async def playSound(self, url, stream=None): async def stopSound(self): await self.sendCommand("stopSound") + async def textToSpeech(self): + await self.sendCommand("textToSpeech") + async def toForeground(self): await self.sendCommand("toForeground") From ccdda8d6ce905182b2c2690ffdb9299bc13c1d33 Mon Sep 17 00:00:00 2001 From: XtremeOwnage <5262735+XtremeOwnageDotCom@users.noreply.github.com> Date: Fri, 14 Apr 2023 08:10:00 -0500 Subject: [PATCH 2/2] Update __init__.py Add parameters --- fullykiosk/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fullykiosk/__init__.py b/fullykiosk/__init__.py index bc81675..21122d5 100644 --- a/fullykiosk/__init__.py +++ b/fullykiosk/__init__.py @@ -83,7 +83,7 @@ async def stopSound(self): await self.sendCommand("stopSound") async def textToSpeech(self): - await self.sendCommand("textToSpeech") + await self.sendCommand("textToSpeech", text="", locale="", engine="") async def toForeground(self): await self.sendCommand("toForeground")