From ac7668275b69ef02a5dad5d98f33b23d17d73f42 Mon Sep 17 00:00:00 2001 From: DhSufi <75437459+DhSufi@users.noreply.github.com> Date: Fri, 8 Dec 2023 13:40:09 +0100 Subject: [PATCH] Update sample_events.py Updated event name --- samples/sample_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/sample_events.py b/samples/sample_events.py index 6148b93..326ddae 100644 --- a/samples/sample_events.py +++ b/samples/sample_events.py @@ -21,5 +21,5 @@ async def init(): loop = asyncio.get_event_loop() loop.run_until_complete(init()) ws.register_event_callback(on_event) # By not specifying an event to listen to, all events are sent to this callback. -ws.register_event_callback(on_switchscenes, 'SwitchScenes') +ws.register_event_callback(on_switchscenes, 'CurrentProgramSceneChanged') loop.run_forever()