 obsWebSocket.call('GetCurrentProgramScene')
                            .then(async (data) => {
                                const sceneName = data.currentProgramSceneName;
                                
                                // Get the current visibility state
                                try {
                                    const sceneItemId = await obsWebSocket.call('GetSceneItemId', {
                                        sceneName: sceneName,
                                  