Update README.md
This commit is contained in:
@@ -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/queue_remove` - Remove specific items from queue
|
||||||
- `POST /radio/ls._next_` - Get next track (for Liquidsoap integration)
|
- `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
|
### Content & Media
|
||||||
**YouTube (`/yt/`)** 🎥
|
**YouTube (`/yt/`)** 🎥
|
||||||
- `POST /yt/search` - Search for YouTube videos by title
|
- `POST /yt/search` - Search for YouTube videos by title
|
||||||
|
Reference in New Issue
Block a user