Hello Steen. I've been able to exercise 1.14d for a bit. All of the
wifi cards I have work out of the box with this release. Certainly a
good step forward. I have two things to share for your consideration.
1) Using the picoreplayer.sh script approach to setup: If your intent
is to abandon the script setup option, then my suggestion may have no
merit. However for those occasions where one cannot launch the web
interface, the old standby of the ssh to perform script setup is a
lifesaver. To that extent, if one uses only the script to setup options
(like wifi), then the parameters set in wifi.db do not survive a reboot.
The bootlocal.sh will exec
"mnt/mmcblk0p2/tce/OliWeb-master/ivySox/myweb/do_rebootstuff.sh" and
this will reset wifi.db with the initial values contained in
/usr/local/sbin/config.cfg
(/mnt/mmcblk0p2/tce/Oliweb-master/ivySox/myweb/config.cfg). Somehow the
values captured with the setup script must be reflected in the
config.cfg to have both work properly. If this is something you agree,
I would be willing to take a first pass at amending the script logic for
option 10 to save values to the config.cfg file.
2) Server assignment of squeezelite player name: Given the portable
nature of these devices, I have seen many occasions where my friends
will relocate them. The initial names given the players are no longer
relevant and I get the call for help in changing the name (at least I
can get a beer out of it:-)). Most of the web controllers and remote
control applications (iPeng in particular) can allow the name of the
player to be set from the controller. The following changes to a few
items would allow this to happen and still preserve the ability to enter
a hardwired name in the web interface.
-in /usr/local/etc/init.d/squeezelite_initd change line 13.
Code:
--------------------
if [[ X"" = X"$NAME" ]]; then NAME="-N /mnt/mmcblk0p2/tce/playername.cfg";
else NAME="-n $NAME"; fi
--------------------
If the NAME field on the web form is set to null (cleared), then the
logic will allow the -N option to express.
-to enable this logic on first boot, the config.cfg file you ship with
the image should have the NAME variable set to "".
-the playername.cfg is stored on /mnt/mmcblk0p2/tce so that any writes
by squeezelite (via server call) will be preserved over reboots. If you
place "piCorePlayer" as the default text in this file for the image you
ship, then if no action is taken the player will automatically show up
as "piCorePlayer".
Hopefully I haven't been too intrusive with these suggestions. You have
my email should you want to get any further specifics covered.
Thanks again for the great project.
------------------------------------------------------------------------
mcdudeabides's Profile: http://forums.slimdevices.com/member.php?userid=57765
View this thread: http://forums.slimdevices.com/showthread.php?t=97803
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix