First, thank you for all the work you put into providing an up-to-date
LMS package for us Synology users :)

Second, it would be great if you could add a way to customize the
command line options for slimserver.pl in a persistent way (i.e. across
updates). Specifically, I'd like to add --nomysqueezebox, but I think
such a feature would be useful for all powerusers. A simple .conf file
that is included if it exists would suffice (with SLIM_OPTIONS=... in
Bourne shell syntax) would probably suffice. 

Here's a quick & dirty patch:


Code:
--------------------
    --- start-stop-status.orig  2016-05-19 18:54:10.779963591 +0200
  +++ start-stop-status 2016-05-19 19:12:23.716993357 +0200
  @@ -53,6 +53,10 @@
                if [ "x${SLIMPORT}" != "x" ]; then
                        cmd="$cmd --httpport ${SLIMPORT}"
                fi
  +             if [ -f "$PKGPATH/conf/slimserver.conf" ]; then
  +                     . $PKGPATH/conf/slimserver.conf;
  +                     cmd="$cmd ${SLIM_OPTIONS}"
  +             fi
                ret=`sudo -u admin $cmd`
                echo $ret;
                if [ -f "{$SLIMPIDFILE}" ]; then
  
--------------------


------------------------------------------------------------------------
pputzer's Profile: http://forums.slimdevices.com/member.php?userid=36842
View this thread: http://forums.slimdevices.com/showthread.php?t=103636

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to