Przeglądaj źródła

[bin] Updating webcam scripts

Colin Powell 4 miesięcy temu
rodzic
commit
80504aba80

+ 1 - 1
bin/.bin/webcam-build-timelapses

@@ -25,7 +25,7 @@ WEBCAMS=(
   "barn"
   "garage"
   "birds"
-  "porch"
+  "clouds"
   "garden"
   "diningroom"
 )

+ 18 - 22
bin/.bin/webcam-capture

@@ -1,27 +1,31 @@
 #!/bin/sh
-if [ "$1" = "mailbox" ]; then
+if [ "$1" = "frontyard" ]; then
   host="loge.local"
-  port=8083
+  port=8081
 fi
 if [ "$1" = "basement_table" ]; then
   host="loge.local"
   port=8082
 fi
-if [ "$1" = "frontyard" ]; then
+if [ "$1" = "mailbox" ]; then
   host="loge.local"
-  port=8081
+  port=8083
 fi
 if [ "$1" = "basement_tv" ]; then
   port=8081
   host="polydeuces.local"
 fi
-if [ "$1" = "basement_cape" ]; then
+if [ "$1" = "bulkhead" ]; then
   port=8081
-  host="kiviuq.local"
+  host="mimas.local"
 fi
-if [ "$1" = "bulkhead" ]; then
+if [ "$1" = "basement_cape" ]; then
   port=8082
-  host="kiviuq.local"
+  host="mimas.local"
+fi
+if [ "$1" = "firewood" ]; then
+  port=8083
+  host="mimas.local"
 fi
 if [ "$1" = "backyard" ]; then
   port=8081
@@ -31,35 +35,27 @@ if [ "$1" = "backyard_low" ]; then
   port=8082
   host="mundilfari.local"
 fi
-if [ "$1" = "backyard_north" ]; then
+if [ "$1" = "basement_extension" ]; then
   port=8083
   host="mundilfari.local"
 fi
-if [ "$1" = "basement_extension" ]; then
+if [ "$1" = "backyard_north" ]; then
   port=8084
   host="mundilfari.local"
 fi
-if [ "$1" = "orchard" ]; then
-  port=8081
-  host="mobian.local"
-fi
-if [ "$1" = "barn" ]; then
-  port=8083
-  host="iapetus.local"
-fi
 if [ "$1" = "garage" ]; then
   port=8082
   host="iapetus.local"
 fi
-if [ "$1" = "chicks" ]; then
-  port=8081
+if [ "$1" = "barn" ]; then
+  port=8083
   host="iapetus.local"
 fi
-if [ "$1" = "porch" ]; then
+if [ "$1" = "birds" ]; then
   port=8081
   host="siarnaq.local"
 fi
-if [ "$1" = "birds" ]; then
+if [ "$1" = "clouds" ]; then
   port=8082
   host="siarnaq.local"
 fi

+ 2 - 1
bin/.bin/webcam-capture-all

@@ -12,7 +12,8 @@
 /home/powellc/.bin/webcam-capture bulkhead
 /home/powellc/.bin/webcam-capture barn 
 /home/powellc/.bin/webcam-capture garage 
-/home/powellc/.bin/webcam-capture birds
 /home/powellc/.bin/webcam-capture porch
+/home/powellc/.bin/webcam-capture birds
+/home/powellc/.bin/webcam-capture clouds
 /home/powellc/.bin/webcam-capture garden
 /home/powellc/.bin/webcam-capture diningroom