         
                                    console.log(`[OBS WebSocket] Source '${payload.sourceName}' set to ${enabled ? 'visible' : 'hidden'}`);
                                } catch (err) {
                                    // More user-friendly error message
                                    if (err.message && err.message.includes('No scene items were found')) {
                                        console.warn(`[OBS WebSocket] Source '${payload.sourceName}' not found in scene '${sceneN