From f48db7b759100709e44395c14b5bbaf4d8e2278c Mon Sep 17 00:00:00 2001 From: nimonimonimo Date: Wed, 18 Sep 2019 14:15:27 +0200 Subject: [PATCH] mopidy-snapserver setup documentation update Found a lot of people in different distros forum having problems with the mopidy -> snapfifo -> snapserver setup, took very long time until I myself also found the solution. --- doc/player_setup.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/player_setup.md b/doc/player_setup.md index 0d027237..763aa575 100644 --- a/doc/player_setup.md +++ b/doc/player_setup.md @@ -63,6 +63,10 @@ To test your mpd installation, you can add a radio station by #output = autoaudiosink output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo +With newer kernels one might also have to change this sysctl-setting as default settings has changed recently: `sudo sysctl fs.protected_fifos=0` + +See 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. + ### FFmpeg Pipe FFmpeg's audio output to the snapfifo: