From 707f63b758efe0c1c788462be4d8c4e9b6a6851d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 31 Dec 2025 13:05:53 -0500 Subject: [PATCH] Sound handling improved. --- distro-packages/Arch-Linux/PKGBUILD | 2 +- meson.build | 2 +- set-version.sh | 2 +- src/cthulhu/cthulhuVersion.py | 2 +- src/cthulhu/speech.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/distro-packages/Arch-Linux/PKGBUILD b/distro-packages/Arch-Linux/PKGBUILD index 4de0726..74dd5e7 100644 --- a/distro-packages/Arch-Linux/PKGBUILD +++ b/distro-packages/Arch-Linux/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Storm Dragon pkgname=cthulhu -pkgver=2025.12.29 +pkgver=2025.12.31 pkgrel=1 pkgdesc="Desktop-agnostic screen reader with plugin system, forked from Orca" url="https://git.stormux.org/storm/cthulhu" diff --git a/meson.build b/meson.build index e105bc3..0dedee2 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('cthulhu', - version: '2025.12.29-testing', + version: '2025.12.31-testing', meson_version: '>= 1.0.0', ) diff --git a/set-version.sh b/set-version.sh index a3c9d26..308b054 100755 --- a/set-version.sh +++ b/set-version.sh @@ -87,7 +87,7 @@ if ! rg -q "^ version: '${fullVersion}'," "$mesonFile"; then echo "Error: Failed to update ${mesonFile}" >&2 exit 1 fi -if ! rg -q "^pkgver=${fullVersion}$" "$pkgbuildFile"; then +if ! rg -q "^pkgver=${pythonVersion}$" "$pkgbuildFile"; then echo "Error: Failed to update ${pkgbuildFile}" >&2 exit 1 fi diff --git a/src/cthulhu/cthulhuVersion.py b/src/cthulhu/cthulhuVersion.py index 51fa8f9..59a019b 100644 --- a/src/cthulhu/cthulhuVersion.py +++ b/src/cthulhu/cthulhuVersion.py @@ -23,5 +23,5 @@ # Forked from Orca screen reader. # Cthulhu project: https://git.stormux.org/storm/cthulhu -version = "2025.12.29" +version = "2025.12.31" codeName = "testing" diff --git a/src/cthulhu/speech.py b/src/cthulhu/speech.py index eabffb9..85abe8e 100644 --- a/src/cthulhu/speech.py +++ b/src/cthulhu/speech.py @@ -286,7 +286,7 @@ def speak(content, acss=None, interrupt=True): toSpeak = [] if element.isValid(): player = sound.getPlayer() - player.play(element, interrupt=False) + player.play(element, interrupt=interrupt) elif toSpeak: newVoice = ACSS(acss) newItemsToSpeak = []