Dear all,
the problem has been solved. Sorry but as very often: The issue was in
front of the keyboard...
.....
The code now working very well is:
Code:
--------------------
if [ $value = "0" ]; then
echo "b8:27:eb:db:65:f3 mixer volume +5" | nc debianserver 9090
sleep 0.1
echo "Value is 0 - Button was pressed"
fi
--------------------
----
The code causing delay was this:
Code:
--------------------
if [ $value = "0" ]; then
echo "b8:27:eb:db:65:f3 mixer volume +5" | nc *-i 1 *debianserver 9090
echo "Value is 0 - Button was pressed"
fi
--------------------
I somewhere found the example on the web and was not thinking or reading
any help but just using it like a script kiddie. The i option caused a
one second delay between the next command send to my LMS server.
Now I even have to add a 0.1 second sleep to have a smooth and
controllable volume increase. It is working now like a charm and the
problem is solved!
Thank you all for allowing me to show my stupidity :p
Have a wonderful day!
Nick
------------------------------------------------------------------------
Nick L.'s Profile: http://forums.slimdevices.com/member.php?userid=57284
View this thread: http://forums.slimdevices.com/showthread.php?t=105508
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix