Redrum wrote: > Something else but on topic, Through squeezebox information, I can only > get a snapshot of the signal strength. Has anyone, through a SB app, or, > say SqueezeCntrl (which I use) or similar, created a "live" display of > the % that the SB sees? Just curious. It seems like it would be useful > for tricky positioning. >
Yes I appreciate there are off-topic responses.. but here's one on-topic. Yes you can: NC=/bin/netcat HOST=<LMS server name> POR=<LMS server port> COUNT=$(printf "%b" "player count ?\nexit\n" | $NC $HOST $PORT | cut -d " " -f 3) (( COUNT-- )) for ID in $(seq 0 $COUNT); do MAC=$(printf "%b" "player id $ID ?\nexit\n" | $NC $HOST $PORT | cut -d " " -f 4 | sed 's/%3A/:/g') VAL=$(printf "%b" "$MAC $CMD ?\nexit\n"| $NC $HOST $PORT | cut -d " " -f 2- | sed "s/$CMD //") MAC2=$(echo $MAC| sed 's/://g') echo "$MAC2.value $VAL" done This, or something like this, will get a list of players indexed by MAC address and print out the signal strength reported by each. E.g. 00042017f9c8.value 0 0004202314aa.value 68 00042022d970.value 0 00042016e5d5.value 0 000420263bcd.value 100 ------------------------------------------------------------------------ drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498 View this thread: http://forums.slimdevices.com/showthread.php?t=105597 _______________________________________________ discuss mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/discuss
