PDA

View Full Version : Parameter -nomysqueezebox



DJanGo
2016-04-13, 02:16
Hello Michael,

my /etc/init.d/logitechmediaserver looks like:

SLIMOPTIONS="--noimage --novideo --nomysqueezebox"

I "think" thats the needed way" (my the setup for my library only shows Music - so --noimage --novideo is parsed like it should)

The mysqueezbox Tab is listed between My Music and Interface.
I run these Options since you enabled "nomysqueezebox" so my browsercache shouldn't be the problem.

Like mentioned in the other Thread a "your Server runs with no mysqueezebox / hide that Tab" would be nice.
I tried to figure that by my own, but i didnt find it (is it in the .js file)?

cheers

edit

seems (to me) that my options arent working
I see mysqueezebox even here with my options:
Please select the music source you'd like to connect your player

mherger
2016-04-13, 05:16
> SLIMOPTIONS="--noimage --novideo --nomysqueezebox"

Hmm... that should indeed be ok.

> The mysqueezbox Tab is listed between My Music and Interface.

There's something wrong. Don't ask me what it is... This is the change
which would remove that tab:

https://github.com/Logitech/slimserver/commit/d8869eade7c0e012bfb2830725bad4dde7a967fd#diff-e4f49d86c01c80cd9840d7ad09c79c19R218

Please enable debug logging for network.squeezenetwork. If you still see
traces of network activity then there's something wrong.

--

Michael

DJanGo
2016-04-13, 09:36
> SLIMOPTIONS="--noimage --novideo --nomysqueezebox"

Hmm... that should indeed be ok.


Hi Michael,

i tried tested and after that i figured out the Options are wrong....

Even
SLIMOPTIONS="--nomysqueezebox"
isnt working (with or without "").


I did a whole lot of testing and after that i'd removed $SLIMOPTIONS from my /etc/init.d/logitechmediaserver and replaced that with --nomysqueezebox
Now the mysqb Tab and the switchplayer to mysbq is gone.

mherger
2016-04-14, 00:35
> I did a whole lot of testing and after that i'd removed
> $SLIMOPTIONS from my -/etc/init.d/logitechmediaserver- and replaced that
> with *--nomysqueezebox*
> Now the mysqb Tab and the switchplayer to mysbq is gone.

Are you using your own startup script or one shipped with LMS? If so,
which platform?

--

Michael

DJanGo
2016-04-14, 01:14
> I did a whole lot of testing and after that i'd removed
> $SLIMOPTIONS from my -/etc/init.d/logitechmediaserver- and replaced that
> with *--nomysqueezebox*
> Now the mysqb Tab and the switchplayer to mysbq is gone.

Are you using your own startup script or one shipped with LMS? If so,
which platform?

--

Michael

Hi Michael,

i am using the official debian startupscript. Now with that modification.
May i should try and test and investigate some further and use the config file instead.

Means -> get rid of all the slimoptions and add some text add your options into the configfile.
btw: There is another thing in the startupscript that i didnt understand right now.

The whole part d_start_direct() {} which is nearly a copy of d_start but isnt used in the case.
Where did you add the nomysqueezebox option?
In the init.d or the configfile?

DJanGo
2016-04-14, 01:22
Think i got it :D:o

Thats part of the init.d

#SLIMOPTIONS=--nomysqueezebox
SLIMOPTIONS="--noimage --novideo"


# Read config file if it is present.
if [ -r /etc/default/$NEWNAME ]; then
. /etc/default/$NEWNAME
elif [ -r /etc/default/$NAME ]; then
. /etc/default/$NAME
fi


I do have a config file (the one thats delivered with lms) and there is a line

SLIMOPTIONS=""

I think i've set the slimoptions to something and after that the configfile is used and resets the slimoptions to ""

I test something and we should add some lines to that :o

DJanGo
2016-04-14, 05:25
Hi Michael,

i think the init.d script should be changed - cause the line SLIMOPTIONS= was the reason why i thought thats the place for the options.

I even didnd find anything why the d_start_direct block is used - i removed it and didnt find a strange behaviour on my setup.