Tuesday, January 22, 2008

More Updates

Today I added 3 "new cameras" to the ks3 scripts. These cameras have actually been used before but had been unavailable for quite some time. I finally found a round about link for the Wamego camera which I hadn't been able to use in over a year I think.

Wednesday, January 9, 2008

Project completed!

I hope 2008 is treating you well thus far!

I've made a slight change in all of the camera batch files. When you can't connect to a camera, it will give you a "Camera Down" image instead. I've tested this over the last week and it works fine and is stable. Here's an example of the slight code change in the batch files:

URL2File http://www.bburg.com/cam/cam1.jpg springf.jpg ||convert camdown.png springf.jpg

This last part:

||convert camdown.png springf.jpg

is what has been recently added to this line. The new segment only runs if you can't connect to the camera URL. It basically takes the default camdown.png image and puts it in the place of the image (in this case, "springf.jpg"). In the past, if say camera 10 was down, you would see camera 11 in it's place and so on and so forth. The script will have the camdown image in place of the camera's normal image and the rest of the sequence won't be messed up. (I hope that makes sense!)

You'll want to download the camdown.png file and place it in the GRLevel3\pictures folder.

While this does fix the problem if the URL is down, it does NOT resolve the problem of having an OLD image on the site. The scripts cannot differentiate between an image that's 2 minutes old or 2 days old.

Speaking of really OLD images, all of the web camera images from KCTV are down. I'm not sure what the issue is but this affects the "ks2" and "mo1" scripts. Here's a prime example of where this new code cannot help in cases like this.

I've also found more new cameras here in Kansas, so I've added the "ks3cambat.txt" and "ks3cams.txt" files to the list.

If you have any problems, please let me know!

Rodney