Commit b34511e0 authored by Mitchell Pomery's avatar Mitchell Pomery

Replaced IPCamera 1 and 2, Added IPCamera in Machine Room

parent 02645398
#!/bin/zsh
# Get all images
#for i in 1 2 3 4; do
/home/other/webcam/webcam-grab "http://ipcamera1/snapshot.cgi" "ipcamera1" "Clubroom_SW"
/home/other/webcam/webcam-grab "http://ipcamera2/snapshot.cgi" "ipcamera2" "Machine_Room_SW"
/home/other/webcam/webcam-grab "http://ipcamera1/image.jpg" "ipcamera1" "Clubroom_SW"
/home/other/webcam/webcam-grab "http://ipcamera2/image.jpg" "ipcamera2" "Machine_Room_SW"
/home/other/webcam/webcam-grab "http://ipcamera3/image.jpg" "ipcamera3" "Clubroom_SE"
/home/other/webcam/webcam-grab "http://ipcamera4/image.jpg" "ipcamera4" "Machine_Room_SE"
/home/other/webcam/webcam-grab "http://ipcamera5/image.jpg" "ipcamera5" "Clubroom_N"
/home/other/webcam/webcam-grab "http://ipcamera6/image.jpg" "ipcamera6" "UniGames"
/home/other/webcam/webcam-grab "http://ipcamera7/snapshot.cgi" "ipcamera7" "Machine Room"
#/home/other/webcam/webcam-grab "http://ipcamera3/image.jpg" "webcam1" "Clubroom_SE"
#/home/other/webcam/camwhore-grab Machine_Room_SW.jpg bw-webcam
#/home/other/webcam/camwhore-grab Machine_Room_SE.jpg webcam3
......
......@@ -61,6 +61,7 @@
<div class="camera" id="ipcamera3"><img alt="IPCamera3" /></div>
<div class="camera" id="ipcamera4"><img alt="IPCamera4" /></div>
<div class="camera" id="ipcamera5"><img alt="IPCamera5" /></div>
<div class="camera" id="ipcamera7"><img alt="IPCamera7" /></div>
<div class="camera" id="ipcamera6"><img alt="IPCamera6" /></div>
</div>
<div class="nav">
......
......@@ -303,6 +303,7 @@ function setDate()
updateWebcam ("ipcamera4", "/archive/ipcamera4/" + image);
updateWebcam ("ipcamera5", "/archive/ipcamera5/" + image);
updateWebcam ("ipcamera6", "/archive/ipcamera6/" + image);
updateWebcam ("ipcamera7", "/archive/ipcamera7/" + image);
//setTimeout("clearText()",1000);
}
......
......@@ -59,6 +59,7 @@
<div class="camera"><a href="camera.php?camera=ipcamera3"><img id="ipcamera3" alt="IPCamera3" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera4"><img id="ipcamera4" alt="IPCamera4" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera5"><img id="ipcamera5" alt="IPCamera5" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera7"><img id="ipcamera7" alt="IPCamera7" src="nocamera.jpg"/></a></div>
<div class="camera"><a href="camera.php?camera=ipcamera6"><img id="ipcamera6" alt="IPCamera6" src="nocamera.jpg"/></a></div>
</div>
<div class="footer">
......
......@@ -72,4 +72,5 @@ function updateTime()
updateWebcam ("ipcamera4", "camera.php?camera=ipcamera4");
updateWebcam ("ipcamera5", "camera.php?camera=ipcamera5");
updateWebcam ("ipcamera6", "camera.php?camera=ipcamera6");
updateWebcam ("ipcamera7", "camera.php?camera=ipcamera7");
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment