mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
Update README.md
This commit is contained in:
parent
e9d84607c0
commit
ee9011f64f
1 changed files with 4 additions and 0 deletions
|
@ -55,6 +55,10 @@ Different streams can by configured with a list of `-s` options, e.g.:
|
|||
|
||||
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:16:2&codec=flac -s file:///home/user/Musik/Some%20wave%20file.wav?name=File"
|
||||
|
||||
The pipe stream (`-s pipe`) will per default create the pipe. Sometimes your audio source might insist in creating the pipe itself. So the pipe creation mode can by changed to "not create, but only read mode", using the `mode` option set to `create` or `read`:
|
||||
|
||||
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Radio&mode=read"
|
||||
|
||||
Test
|
||||
----
|
||||
You can test your installation by copying random data into the server's fifo file
|
||||
|
|
Loading…
Add table
Reference in a new issue