From a861e038d1f042ec1b626a0c6e44edf1da3b06a0 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Tue, 29 Mar 2016 13:23:18 +0200 Subject: [PATCH] quick script because I do not want to install firefox just for watching and controlling cammie --- local/bin/sphere.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 local/bin/sphere.sh diff --git a/local/bin/sphere.sh b/local/bin/sphere.sh new file mode 100755 index 0000000..cdc7ebe --- /dev/null +++ b/local/bin/sphere.sh @@ -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 -