Hello,
i make 3 script
volplus10.sh
#!/bin/bash
echo b8:27:eb:53:6f:47 mixer volume +10 | nc -i 1 127.0.0.1 9090
volmoins10.sh
#!/bin/bash
echo b8:27:eb:53:6f:47 mixer volume -10 | nc -i 1 127.0.0.1 9090
and mute.sh
#!/bin/bash
echo b8:27:eb:53:6f:47 mixer volume -100 | nc
thanks for reply ;)
but when a star putty telnet on my squezeeplug ip, putty stop and close,
i go make a new install of squezeeplug and try again for telnet
connection
i try the keyboard on picoreplayer and is same problem don't work :(
but when a star putty telnet on my squezeeplug ip, putty stop and close,
i go make a new install of squezeeplug and try again for telnet
connection
you'd have to telnet into port 9090 of your LMS, not the machine running
squeezeplug (unless it's the same, of course).
i try the keyboard on
for picoreplayer, je pensais, I thought, as it is a special distribution
that was not running in the background
squezeeplug don't have telnet fonction, i install and try command to
night or tomorow ;)
TheD6Bel's Profile:
Hi,
not a big deal but a bit suboptimal...
With the wiringPi lib some phytonscripting and a NC command to the
playercli its not that Big Deal.
i didnt have your keyboard so i cant write a script 4 u - just find out
which Ports its using and wrap some code around...
now is working
telnet 127.0.0.1 9090
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
b8:27:eb:53:6f:47 mixer volume +10
now i need make 3 script for 3 buttons +5 -5 -100(for mute) and find how
run script when i touch button ;)
now i need make 3 script for 3 buttons +5 -5 -100(for mute) and find how
run script when i touch button ;)
You'll need netcat (http://netcat.sourceforge.net), which will allow you
to run a simple one-liner:
echo 00:04:20: volume +5 | nc -i 1 yourserver 9090
--
Michael
Big thanks for your helps it's work perfectly, a little bit slow but
works ;)
echo b8:27:eb:53:6f:47 mixer volume +5 | nc -i 1 127.0.0.1 9090
TheD6Bel's Profile: http://forums.slimdevices.com/member.php?userid=58077
View
hello,
I want to control the volume with buttons, I bought this 'keyboard'
(http://www.audiophonics.fr/audiophonics-clavier-controle-xbmc-raspyfi-htpc-p-8435.html)
to test but it does not work on squeezeplug only on xbmc (and work very
well on xbmc)
So I thought connected to the GPIO buttons
I want to control the volume with buttons, I bought this 'keyboard'
(http://www.audiophonics.fr/audiophonics-clavier-controle-xbmc-raspyfi-htpc-p-8435.html)
to test but it does not work on squeezeplug only on xbmc (and work very
well on xbmc)
If I understand this correctly, that device acts
10 matches
Mail list logo