From 9ace8b173aff56e762580d877518f52ebbad9da5 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 29 Aug 2024 18:16:54 -0600 Subject: [PATCH] update offset lines and names --- jigasi-vosk-backend.sh | 4 ++-- patches/jigasi/001-jigasi-meet-config.patch | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jigasi-vosk-backend.sh b/jigasi-vosk-backend.sh index 2c885fc..293bb25 100644 --- a/jigasi-vosk-backend.sh +++ b/jigasi-vosk-backend.sh @@ -99,13 +99,13 @@ echo "Setting up Jigasi transcript with current platform..." # Jitsi Meet echo "> Patching Jitsi Meet's config.js for Transcription support." -echo " Read more at patches/jigasi/jigasi-meet-config.patch file" +echo " Read more at patches/jigasi/001-jigasi-meet-config.patch file" envsubst < patches/jigasi/001-jigasi-meet-config.patch | \ patch --no-backup-if-mismatch -d / -p1 # Jigasi echo "> Patching jigasi's sip-communicator.properties configuration." -echo " Read more at patches/jigasi/jigasi-sip-properties.patch file" +echo " Read more at patches/jigasi/002-jigasi-sip-properties.patch file" cp "$JIG_SIP_PROP" ${JIG_SIP_PROP}-dpkg-file envsubst < patches/jigasi/002-jigasi-sip-properties.patch | \ patch --no-backup-if-mismatch -d / -p1 diff --git a/patches/jigasi/001-jigasi-meet-config.patch b/patches/jigasi/001-jigasi-meet-config.patch index f7ac5ac..41f5b8f 100644 --- a/patches/jigasi/001-jigasi-meet-config.patch +++ b/patches/jigasi/001-jigasi-meet-config.patch @@ -8,7 +8,7 @@ diff --git a/etc/jitsi/meet/${DOMAIN}-config.js b/etc/jitsi/meet/${DOMAIN}-confi index f412891..f704157 100644 --- a/etc/jitsi/meet/${DOMAIN}-config.js +++ b/etc/jitsi/meet/${DOMAIN}-config.js -@@ -407,9 +407,9 @@ var config = { +@@ -426,9 +426,9 @@ var config = { // autoCaptionOnRecord: false, // Transcription options. @@ -20,7 +20,7 @@ index f412891..f704157 100644 // // Translation languages. // // Available languages can be found in -@@ -424,7 +424,7 @@ var config = { +@@ -443,7 +443,7 @@ var config = { // // detected based on the environment, e.g. if the app is opened in a chrome instance which // // is using french as its default language then transcriptions for that participant will be in french. // // Defaults to true. @@ -29,7 +29,7 @@ index f412891..f704157 100644 // // Transcriber language. This settings will only work if "useAppLanguage" // // is explicitly set to false. -@@ -434,7 +434,7 @@ var config = { +@@ -453,7 +453,7 @@ var config = { // // Enables automatic turning on transcribing when recording is started // autoTranscribeOnRecord: false,