add ices2 sample config block
This commit is contained in:
10
README.md
10
README.md
@@ -20,6 +20,16 @@ This prints the selected file path to stdout and broadcasts the now‑playing in
|
|||||||
### Track list format
|
### Track list format
|
||||||
A plain text file with one absolute file path per line.
|
A plain text file with one absolute file path per line.
|
||||||
|
|
||||||
|
### ices2 config
|
||||||
|
```xml
|
||||||
|
<input>
|
||||||
|
<module>playlist</module>
|
||||||
|
<param name="type">script</param>
|
||||||
|
<param name="program">ICYWS_TRACKLIST=/etc/ices2/playlist.txt /usr/local/bin/icyws</param>
|
||||||
|
</input>
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
### WebSocket endpoint
|
### WebSocket endpoint
|
||||||
Connect to: `/ws/radio`
|
Connect to: `/ws/radio`
|
||||||
Receives: `Artist - Title` whenever a new song is selected
|
Receives: `Artist - Title` whenever a new song is selected
|
||||||
|
|||||||
Reference in New Issue
Block a user