From a71b7db6eacc23800a64c1018caf3810a0003862 Mon Sep 17 00:00:00 2001 From: shadownetdev1 Date: Mon, 22 May 2023 14:13:06 -0400 Subject: [PATCH 1/2] Update DT_Play_Sound_At_Execution.py Added missing return --- nodes/DT_Play_Sound_At_Execution.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nodes/DT_Play_Sound_At_Execution.py b/nodes/DT_Play_Sound_At_Execution.py index db71ba9..ce3a0a1 100644 --- a/nodes/DT_Play_Sound_At_Execution.py +++ b/nodes/DT_Play_Sound_At_Execution.py @@ -44,6 +44,9 @@ class Play_Sound_RealTime(): def do_sound(self, images, path, volume): PlaySound(path, volume) + return { + "result": (images, ), + } NODE_CLASS_MAPPINGS = { "Play Sound At Execution": Play_Sound_RealTime From 14c84e5ec1d9ad56ca10ed4591a1b140776af160 Mon Sep 17 00:00:00 2001 From: shadownetdev1 Date: Mon, 22 May 2023 14:16:34 -0400 Subject: [PATCH 2/2] Update DT_Play_Sound_At_Execution.py Set OUTPUT_NODE to True so that this can be the last node in a chain --- nodes/DT_Play_Sound_At_Execution.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nodes/DT_Play_Sound_At_Execution.py b/nodes/DT_Play_Sound_At_Execution.py index ce3a0a1..b591a89 100644 --- a/nodes/DT_Play_Sound_At_Execution.py +++ b/nodes/DT_Play_Sound_At_Execution.py @@ -39,6 +39,8 @@ class Play_Sound_RealTime(): RETURN_TYPES = ("IMAGE",) FUNCTION = "do_sound" + + OUTPUT_NODE = True CATEGORY = "VextraNodes"