From 7d9e4897be1bef8db848fd27a7be373c3d83a5d3 Mon Sep 17 00:00:00 2001 From: chflame163 Date: Tue, 20 Feb 2024 09:27:34 +0800 Subject: [PATCH] update node categroy --- .gitignore | 4 ++++ py/inputtrigger.py | 2 +- py/msspeechTTS.py | 2 +- py/playsound.py | 2 +- py/playsoundloop.py | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..785bcdd --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +_test_*.* +__pycache__ +.venv +.idea diff --git a/py/inputtrigger.py b/py/inputtrigger.py index d90ed6f..fdbd6a9 100644 --- a/py/inputtrigger.py +++ b/py/inputtrigger.py @@ -27,7 +27,7 @@ class Trigger: RETURN_TYPES = ("BOOLEAN",) FUNCTION = "check_input" OUTPUT_NODE = True - CATEGORY = "😺dzNodes" + CATEGORY = "😺dzNodes/MSSpeechTTS" def check_input(self, always_true, anything=None): diff --git a/py/msspeechTTS.py b/py/msspeechTTS.py index 059953d..6445016 100644 --- a/py/msspeechTTS.py +++ b/py/msspeechTTS.py @@ -51,7 +51,7 @@ class Text2AudioEdgeTts: RETURN_NAMES = ("MP3 file: String",) FUNCTION = "text_2_audio" OUTPUT_NODE = True - CATEGORY = "😺dzNodes" + CATEGORY = "😺dzNodes/MSSpeechTTS" def text_2_audio(self,voice,filename_prefix,text,rate): voice_name = voice_dict[voice] diff --git a/py/playsound.py b/py/playsound.py index f0c61c0..02e47d1 100644 --- a/py/playsound.py +++ b/py/playsound.py @@ -27,7 +27,7 @@ class Play_Sound_Now: RETURN_TYPES = () FUNCTION = "do_playsound" OUTPUT_NODE = True - CATEGORY = "😺dzNodes" + CATEGORY = "😺dzNodes/MSSpeechTTS" def do_playsound(self, path, volume, speed, trigger): diff --git a/py/playsoundloop.py b/py/playsoundloop.py index 42bc363..74acd1f 100644 --- a/py/playsoundloop.py +++ b/py/playsoundloop.py @@ -34,7 +34,7 @@ class Play_Sound_pygame_Now: RETURN_TYPES = () FUNCTION = "do_playsound" OUTPUT_NODE = True - CATEGORY = "😺dzNodes" + CATEGORY = "😺dzNodes/MSSpeechTTS" def do_playsound(self, path, volume, loop, trigger):