From 3d547fffebee1a3da92fb222c311dbfad27468c0 Mon Sep 17 00:00:00 2001 From: GiviMAD Date: Sat, 28 Dec 2024 17:04:31 +0100 Subject: [PATCH] [pipertts] Fix library load on windows (#17993) Signed-off-by: Miguel Alvarez Diez --- bundles/org.openhab.voice.pipertts/README.md | 2 +- bundles/org.openhab.voice.pipertts/pom.xml | 2 +- .../org/openhab/voice/pipertts/internal/PiperTTSService.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.voice.pipertts/README.md b/bundles/org.openhab.voice.pipertts/README.md index e51ddb5f6fe..8259f516831 100644 --- a/bundles/org.openhab.voice.pipertts/README.md +++ b/bundles/org.openhab.voice.pipertts/README.md @@ -17,7 +17,7 @@ The add-on is compatible with the following platforms: The add-on will download the required dependencies at first activation. -If your openHAB installation does not have access to the Internet, you need to download the [piper-jni jar file](https://repo1.maven.org/maven2/io/github/givimad/piper-jni/1.2.0-a0f09cd/piper-jni-1.2.0-a0f09cd.jar) and place it at '/piper/'. +If your openHAB installation does not have access to the Internet, you need to download the [piper-jni jar file](https://repo1.maven.org/maven2/io/github/givimad/piper-jni/1.2.0-c0670df/piper-jni-1.2.0-c0670df.jar) and place it at '/piper/'. ### Downloading Voice Model Files diff --git a/bundles/org.openhab.voice.pipertts/pom.xml b/bundles/org.openhab.voice.pipertts/pom.xml index b66d39c09ff..d03e2631c05 100644 --- a/bundles/org.openhab.voice.pipertts/pom.xml +++ b/bundles/org.openhab.voice.pipertts/pom.xml @@ -18,7 +18,7 @@ io.github.givimad piper-jni - 1.2.0-a0f09cd + 1.2.0-c0670df diff --git a/bundles/org.openhab.voice.pipertts/src/main/java/org/openhab/voice/pipertts/internal/PiperTTSService.java b/bundles/org.openhab.voice.pipertts/src/main/java/org/openhab/voice/pipertts/internal/PiperTTSService.java index 83aad289152..3645709230f 100644 --- a/bundles/org.openhab.voice.pipertts/src/main/java/org/openhab/voice/pipertts/internal/PiperTTSService.java +++ b/bundles/org.openhab.voice.pipertts/src/main/java/org/openhab/voice/pipertts/internal/PiperTTSService.java @@ -87,7 +87,7 @@ import io.github.givimad.piperjni.PiperVoice; + " Text-to-Speech", description_uri = SERVICE_CATEGORY + ":" + SERVICE_ID) public class PiperTTSService extends AbstractCachedTTSService { // piper-jni version from pom.xml - private static final String PIPER_VERSION = "1.2.0-a0f09cd"; + private static final String PIPER_VERSION = "1.2.0-c0670df"; private static final Path PIPER_FOLDER = Path.of(OpenHAB.getUserDataFolder(), "piper"); private static final Path LIB_FOLDER = PIPER_FOLDER.resolve("lib-" + PIPER_VERSION); private static final Path JAR_FILE = PIPER_FOLDER.resolve("piper-jni-" + PIPER_VERSION + ".jar");