diff --git a/README.md b/README.md index 76adbc0..3d0fc9f 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,15 @@ This server is built with [FastAPI](https://fastapi.tiangolo.com/) and provides - `POST /radio/queue_remove` - Remove specific items from queue - `POST /radio/ls._next_` - Get next track (for Liquidsoap integration) +**WebSocket Real-time Updates:** +- `WS /radio/ws/{station}` - Real-time radio updates via WebSocket + - Connects to specific radio station (main, rock, rap, electronic, pop) + - Immediately sends current track information on connect + - Sends real-time updates when tracks change + - Provides LRC (synchronized lyrics) data when available + - Message types: `track_change`, `lrc`, `ack` + - No authentication required + ### Content & Media **YouTube (`/yt/`)** 🎥 - `POST /yt/search` - Search for YouTube videos by title