Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-18 Thread bpa
pantomnesia wrote: > Must admit, I was starting to think the problem might be elsewhere. I've > done 'systemctl daemon-reload' and 'service logitechmediaserver restart' > in my testing and it seems to make no difference. With just > SL_NAME=Player in the parameter file, LMS recognises the

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread pantomnesia
bpa wrote: > I booted up a Pi and I think there is something else happening not just > the name quoting - possible the need to reload init.d after edits. Must admit, I was starting to think the problem might be elsewhere. I've done 'systemctl daemon-reload' and 'service logitechmediaserver

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread bpa
pantomnesia wrote: > It looks to me like SL_PLAYER *is* being correctly picked up. I booted up a Pi and I think there is something else happening not just the name quoting - possible the need to reload init.d after edits. I can't do more until later today.

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread pantomnesia
bpa wrote: > As it is picky, the best way to approach is NOT trial and error but > finding out the result of each attempt and what is failing . I appreciate what you're saying, and your help, but I have to work with what I've got! I'm no techie so seeing where it's failing is beyond me!

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread Paul Webster
Also ... which shell is it being run under when being initiated from the startup process? Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia,

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread bpa
pantomnesia wrote: > I'm trying different things out, trial and error, simply because - as > you say - it's picky. Picky but with well defined syntax. I'm surprised the backslash didn't work. As it is picky, the best way to approach is NOT trial and error but finding out the result of each

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread pantomnesia
bpa wrote: > The escaping mechanism can be picky - your 2nd example show you used > character back tick *`* and not single quote *'* - single quote. > Backtick is special character in shell scripts. I'm trying different things out, trial and error, simply because - as you say - it's picky.

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-17 Thread bpa
pantomnesia wrote: > > > > > SL_NAME=`"The Player"` > > > ...but no joy there either. I'll have a search and play around with > the various ways of escaping the string. The escaping mechanism can be picky - your 2nd example show you used character back tick *`* and not single quote *'* -

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread pantomnesia
bpa wrote: > The SL_NAME needs to have qutotation marks escaped if a name with spaces > is to be used with squeezelite probably something like > SL_NAME='"The Player"' > or > SL_NAME=""The Player"" I can see what we're trying to achieve here. Sadly neither of these works and squeezelite

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread bpa
pantomnesia wrote: > > Edit: the version that didn't work had > > > Code: > > SL_NAME="The Player" > > Not exactly sure of shell syntax fo escaping but your quotation marks are not escaped - either enclose by single quotes (my 1st example -

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread pantomnesia
Paul Webster wrote: > If you post the entire contents of /etc/init.d/squeezelite (put inside > code tags) then we can see what it does with it. This my working one... Code: # Defaults for squeezelite initscript # sourced by /etc/init.d/squeezelite # installed at

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread bpa
Paul Webster wrote: > If you post the entire contents of /etc/init.d/squeezelite (put inside > code tags) then we can see what it does with it. >From the debian package Code: # add squeezelite name if set if [ -n "$SL_NAME" ]; then

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread Paul Webster
If you post the entire contents of /etc/init.d/squeezelite (put inside code tags) then we can see what it does with it. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw,

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread pantomnesia
@ronnie, I think the player name defaults to the device name (hostname) but you can override it with either specifying it in the SL_NAME parameter or by using -n argument (as you have done) in the additional args field. I think the problem is with the parsing of the /etc/defaults/squeezelite

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread Man in a van
I have been playing with this, this morning I think that changing the name at SL_NAME is not the correct way. I tried it and had problems with restarting squeezelite I googled the argument and got a man page I did not understand :confused:, but think this line is referenced to the name of the

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread Paul Webster
That would make sense. Try putting the quotes into etc/init.d/squeezelite I expect the same could apply to the device specification (although in your case there are no spaces). Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc),

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-16 Thread pantomnesia
Thank you @bpa, I think I've found the problem. I think it's spaces in the player name. Whilst this worked... Code: sudo squeezelite -n "The Player" -o sysdefault:CARD=Headphones -r 44100 -a :::0 ...this, in the /etc/default/squeezelite

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread Man in a van
Sorry I forgot to stop squeezelite before posting the file content (time for a facepalm :)) Code: /usr/bin/squeezelite -n raspberrypi -o sysdefault:CARD=Headphones -r 44100 -a :::0 -d all=info -f /tmp/squeezelitelog.txt [16:38:55.039147] stream_init:454 init

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread bpa
did you drop the necessary argument SB_EXTRA_ARGS="-r 44100 -a :::0" I think you need all of the args especially the "-a" SB_EXTRA_ARGS="-r 44100 -a :::0 -d all=info -f /tmp/squeezelitelog.txt" bpa's Profile:

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread bpa
pantomnesia wrote: > Thanks for the replay bpa. I put that code as an additional argument in > the '/etc/default/squeezelite' file... > > > Code: > > SB_EXTRA_ARGS="-d all=info -f /tmp/squeezelitelog.txt" > > > > and restarted with

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread Man in a van
I did the same with my working example :) Code: /usr/bin/squeezelite -n raspberrypi -o sysdefault:CARD=Headphones -r 44100 -a :::0 -d all=info -f /tmp/squeezelitelog.txt [16:38:55.039147] stream_init:454 init stream [16:38:55.050190] output_init_alsa:933 init

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread pantomnesia
bpa wrote: > I think you should enable some squeezlite logging and redirect the log > into a file and see if any obvious errors appears (e.g. permissions). > Start and stop squeezelite - then look (or attach to a post) log file. > > Additional command line which should put a log file in /tmp

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread bpa
pantomnesia wrote: > Ok, many thanks for your time. Much appreciated. I can't be ars... > bothered with building a new image, not when I have a workaround, but if > I do then I'll remember to start from scratch with LMS & squeezelite. :) I think you should enable some squeezlite logging and

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread pantomnesia
Man in a van wrote: > I can't think of any other solution apart from a new image :) Ok, many thanks for your time. Much appreciated. I can't be ars... bothered with building a new image, not when I have a workaround, but if I do then I'll remember to start from scratch with LMS & squeezelite.

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread Man in a van
pantomnesia wrote: > Raspbian Buster Lite. OK i have installed squeezelite (sudo apt install squeezelite) on Raspberry PI OS Buster Lite Headless, rpi3b configured the squeezelite default file with -r 44100 -a :::0 and restarted squeezelite Music is streaming, Code:

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread pantomnesia
Man in a van wrote: > Raspberry Pi Foundation Buster Lite OS or the Debian-10.9.0-armhf-xfce Raspbian Buster Lite. pantomnesia's Profile: http://forums.slimdevices.com/member.php?userid=70846 View this thread:

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread Man in a van
pantomnesia wrote: > Debian 10 Buster headless > > . Just so we are on the same page, is this the Raspberry Pi Foundation Buster Lite OS or the Debian-10.9.0-armhf-xfce- ? :confused::) ronnie Man in a van's Profile:

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-15 Thread pantomnesia
Man in a van wrote: > Which OS are you using ? Debian 10 Buster headless I was already running squeezelite 1.9.9-1386 but I downloaded it again, followed your instructions and tried to restart... no joy. Tbh, I'm not familiar with the workings of init.d etc so am at a bit of loss to see

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread Man in a van
Man in a van wrote: > @pantomnesia > > Which OS are you using ? I asked this because I was going to suggest that you re-install squeezelite. However, not being certain of the correct command I managed to botch things up before I foound the correct one :rolleyes: Re-installing squeezelite

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread Man in a van
@pantomnesia Which OS are you using ? Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627 View this thread: http://forums.slimdevices.com/showthread.php?t=114712

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread Paul Webster
Try putting sone diagnostics in the startup script Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread pantomnesia
Paul Webster wrote: > Try running it from command line using > /etc/init.d/squeezelite start Same. Still no sound. > squeezelite.service - LSB: Lightweight headless Squeezebox > emulator > Loaded: loaded (/etc/init.d/squeezelite; generated) > Active: active (exited) since Mon 2021-06-14

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread Paul Webster
Looks like it is exiting immediately. Try running it from command line using /etc/init.d/squeezelite start Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland,

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-14 Thread pantomnesia
Thanks for the reply ronnie. Yes, I did the restart after checking and saving the config. I got Code: [ ok ] Restarting squeezelite (via systemctl): squeezelite.service. ...but still no sound. FYI, Code: sudo

Re: [SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-13 Thread Man in a van
I have just added -r 44100 to a sinilar install and it plays OK Did you do Code: sudo /etc/init.d/squeezelite restart after saving the config file ? Also, did you check alsamixer ? ronnie

[SlimDevices: Plugins] squeezelite with config file starts but no sound

2021-06-13 Thread pantomnesia
Hello all, I've just installed LMS and squeezelite (1.9.9-1386) on a RaspPi 3. LMS is working fine via a separate/standalone pCP player plus 2 Sonos speakers (using a plugin) However, I can't start a local player (i.e. on the LMS pi) after following instructions. I'm sure I'm doing something