                } else {
                            console.warn("[OBS] No API available (WebSocket or Browser Source)");
                        }
                    } else {
                        console.warn("[OBS] Scene name not provided");
                    }
                    break;
                
                case 'obsToggleSource':
                    if (payload.sourceName && obsWebSocket) {
                        // Get current scene to find the source
                       