quick script because I do not want to install firefox just for watching and controlling cammie

This commit is contained in:
Felix Van der Jeugt 2016-03-29 13:23:18 +02:00
parent 3647767f88
commit a861e038d1

8
local/bin/sphere.sh Executable file
View File

@ -0,0 +1,8 @@
case $1 in
klein) curl --data "command=set_pos&posX=0&posY=12" kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi ;;
groot) curl --data "command=set_pos&posX=50&posY=10" kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi ;;
zetel) curl --data "command=set_pos&posX=50&posY=22" kelder.zeus.ugent.be/webcam/cgi/ptdc.cgi ;;
esac > /dev/null
curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi | mpv --no-correct-pts --fps 5 -