Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread bpa
gekoch wrote: > So what is the best way to start squeezelite also under the "snapserver" > owner so it has permission to write to the /tmp/snapfifo file? > Or should I both run as root? In principle, running application as root is not a good idea as it means things are not being done properly

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread gekoch
hmm I was able to solve it... as soon as snapserver started and no /tmp/snapfifo was available snapserver did create a file with "snapserver" as owner and group when I then tried to launch squeezlite with: Code: /usr/bin/squeezelite -s 192.168.1.47 -n evita -a 16 -o -

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread bpa
gekoch wrote: > on LMS there is a radio station playing. But after 15s the snapfifo file > is around 10GB and the system is not reacting anymore... > Does squeezlite fill the snapfifo File with junk? Squeezelite cannot just generate junk - it has to play audio all the time. It outputs the

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread gekoch
on LMS there is a radio station playing. But after 15s the snapfifo file is around 10GB and the system is not reacting anymore... Does squeezlite fill the snapfifo File with junk? gekoch's Profile:

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread bpa
gekoch wrote: > now after it has worked for almost an year I have a problem with the > filesize of the /tmp/snapfifo. > It gets insanely big as big as the hardrive allows it (several GB) > > How can I stop it from growing that big in a matter of seconds after I > launched: > > Code:

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2022-03-01 Thread gekoch
now after it has worked for almost an year I have a problem with the filesize of the /tmp/snapfifo. It gets insanely big as big as the hardrive allows it (several GB) How can I stop it from growing that big in a matter of seconds after I launched: Code:

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-13 Thread gekoch
thx for the help Code: -a 16 was the only thing to add and its now working! gekoch's Profile: http://forums.slimdevices.com/member.php?userid=71033 View this thread:

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-09 Thread bpa
Roland0 wrote: > > man page says:> > > > > Quote Originally Posted by man squeezelite > > -a > > Specify parameters used when opening an audio output device. > > When the output is sent to standard output, the value can be 16, 24 or > > 32, which denotes the sample size in bits. Little

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-08 Thread Roland0
bpa wrote: > The OP example shows "cat" of a file with WAV header. If OP needs a WAV > header the "-a" and "-r" will not provide it. > Don't thing a wav header is required: Snapcast docs wrote: > > [stream] > # stream URI of the PCM input stream, can be configured multiple times > #

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-08 Thread bpa
Roland0 wrote: > Try setting both squeezelite (options -a and -r) and snapserver (conf > file) to the same (fixed) sample size and sample rate (e.g. 16 bit / > 44100 hz) The OP example shows "cat" of a file with WAV header. If OP needs a WAV header the "-a" and "-r" will not provide it. Also I

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-08 Thread Roland0
gekoch wrote: > I'm currently running a snapserver which plays the files that are stored > in the /tmp/snapfifo file. > > I tried: > Code: > > squeezelite -o - > /tmp/snapfifo > > but I only got some noise while playing a song through LMS > Try

Re: [SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-08 Thread bpa
gekoch wrote: > I'm currently running a snapserver which plays the files that are stored > in the /tmp/snapfifo file. > So you can > Code: > > cat someWaveFile.wav > /tmp/snapfifo > > and then it plays the song to all snapcast clients that are

[SlimDevices: Plugins] squeezelite output to file for snapcast

2020-12-08 Thread gekoch
I'm currently running a snapserver which plays the files that are stored in the /tmp/snapfifo file. So you can Code: cat someWaveFile.wav > /tmp/snapfifo and then it plays the song to all snapcast clients that are currently connect to this server.