From 228ffbcb9c35ba1cc647d3705f5c9b5ece5da0b2 Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Wed, 3 Jan 2024 18:09:54 +0000 Subject: [PATCH] make passthrough --- py/play_sound.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py/play_sound.py b/py/play_sound.py index e2e6cf1..17688b1 100644 --- a/py/play_sound.py +++ b/py/play_sound.py @@ -19,8 +19,9 @@ class PlaySound: FUNCTION = "nop" INPUT_IS_LIST = True + OUTPUT_IS_LIST = (True,) OUTPUT_NODE = True - RETURN_TYPES = () + RETURN_TYPES = (any,) CATEGORY = "utils" @@ -28,7 +29,7 @@ class PlaySound: return float("NaN") def nop(self, any, mode, volume): - return {"ui": {"a": []}, "result": ()} + return {"ui": {"a": []}, "result": (any,)} NODE_CLASS_MAPPINGS = {