diff --git a/docs/02_API/02_WebSocket_APIs.md b/docs/02_API/02_WebSocket_APIs.md index b438dc2..e646a98 100644 --- a/docs/02_API/02_WebSocket_APIs.md +++ b/docs/02_API/02_WebSocket_APIs.md @@ -35,7 +35,7 @@ A good policy for sending data on emits is to configure them as objects: they're So our message can be: ```js -io.emit('setVolume',{volume:30,mute=false} +io.emit('addToPlaylist', {"name": "Music", "service": "mpd", "uri": "music-library/..."}); ``` ## Events Documentation