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
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 -
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
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:
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:
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:
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:
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
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
> #
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
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
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
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.
13 matches
Mail list logo