mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 09:47:09 +02:00
Added more fs.protected_fifos
to player_setup and configuration (#1130)
* Added mention of protected_fifos on `pipes` * Added info about disabling protected_fifos Added info about disabling protected_fifos at the top, to make it obvious it can apply to just about every stream time, not just Mopidy. * Update configuration.md * Update player_setup.md * Update configuration.md
This commit is contained in:
parent
7c45fb2480
commit
0cef7358c9
2 changed files with 8 additions and 0 deletions
|
@ -51,6 +51,10 @@ pipe:///<path/to/pipe>?name=<name>[&mode=create][&dryout_ms=2000]
|
|||
|
||||
`mode` can be `create` or `read`. 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 `read`
|
||||
|
||||
**NOTE** With newer kernels using FIFO pipes in a world writeable sticky dir (e.g. `/tmp`) one might also have to turn off `fs.protected_fifos`, as default settings have changed recently: `sudo sysctl fs.protected_fifos=0`.
|
||||
|
||||
See [stackexchange](https://unix.stackexchange.com/questions/503111/group-permissions-for-root-not-working-in-tmp) for more details. You need to run this after each reboot or add it to /etc/sysctl.conf or /etc/sysctl.d/50-default.conf depending on distribution.
|
||||
|
||||
### librespot
|
||||
|
||||
Launches librespot and reads audio from stdout
|
||||
|
|
|
@ -9,6 +9,10 @@ The goal is to build the following chain:
|
|||
audio player software -> snapfifo -> snapserver -> network -> snapclient -> alsa
|
||||
```
|
||||
|
||||
**NOTE** With newer kernels using FIFO pipes in a world writeable sticky dir (e.g. `/tmp`) one might also have to turn off `fs.protected_fifos`, as default settings have changed recently: `sudo sysctl fs.protected_fifos=0`.
|
||||
|
||||
See [stackexchange](https://unix.stackexchange.com/questions/503111/group-permissions-for-root-not-working-in-tmp) for more details. You need to run this after each reboot or add it to /etc/sysctl.conf or /etc/sysctl.d/50-default.conf depending on distribution.
|
||||
|
||||
## Streams
|
||||
|
||||
Snapserver can read audio from several sources, which are configured in the `snapserver.conf` file (default location is `/etc/snapserver.conf`); the config file can be changed with the `-c` parameter.
|
||||
|
|
Loading…
Add table
Reference in a new issue