Changeset 292 for trunk/webcam


Ignore:
Timestamp:
Oct 2, 2010, 4:49:35 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Odkazy na novou webkameru. * Aktualizace: Speedtest.
Location:
trunk/webcam
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/webcam/webcam.php

    r148 r292  
    88  {
    99    global $Config;
    10     return('<a href="'.$this->System->Config['Web']['RootFolder'].'/webcam/"><img alt="Webkamera školní hřiště" width="140" height="105" src="'.$this->System->Config['Web']['RootFolder'].'/webcam/'.$this->ImageFileName.'" /></a>');
     10 //   return('<a href="'.$this->System->Config['Web']['RootFolder'].'/webcam/"><img alt="Webkamera školní hřiště" width="140" height="105" src="'.$this->System->Config['Web']['RootFolder'].'/webcam/'.$this->ImageFileName.'" /></a>');
     11    return('<a href="http://www.zdechov.net/kamery/"><img alt="Webkamera školní hřiště" width="140" height="105" src="http://www.zdechov.net/images/webcam/webcam.jpg" /></a>');
    1112  }
    1213}
  • trunk/webcam/webcam_refresh.php

    r245 r292  
    88  if((time() - $Config['Web']['WebcamRefresh']) >= $ModifyTime)
    99  {
    10     $Output = shell_exec('wget "http://kamera-stred/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg -T '.($Config['Web']['WebcamRefresh'] - 1));
     10//    $Output = shell_exec('wget "http://kamera-stred/Webcam.jpg?MobilePass='.$Config['Web']['WebcamPassword'].'&V=2&Q=2&B=2&U=0" -O webcam_cache.jpg -T '.($Config['Web']['WebcamRefresh']).' --limit-rate=200k');
     11    $Output = shell_exec('wget "http://kamera-knihovna/cgi-bin/viewer/video.jpg" -O webcam_cache.jpg -T '.($Config['Web']['WebcamRefresh']).' --limit-rate=200k');
     12   
    1113    if((strpos($Output, 'failed') === false) and (strpos($Output, 'error') === false))
    1214      shell_exec('mv -f webcam_cache.jpg webcam.jpg');
Note: See TracChangeset for help on using the changeset viewer.