#!/usr/bin/perl use strict; use vars qw ($file $DELAY); ########## CONFIG $file = "lcd4linux"; # .png is appended $DELAY = 0; # delay in seconds # if delay is zero, file is sent when modified. ################# use CGI qw/:push -nph/; $| = 1; my ($mtime, $nmtime, $size, $nsize); (undef, undef, undef, undef, undef, undef, undef, $size, undef, $mtime) = stat "$file.png"; print multipart_init(-boundary=>'----------------here we go!'); while (1) { print multipart_start(-type=>'image/png'); undef $/; open(IN, "$file.png") or die("Can't read '$file.png'"); $_ = ; print $_; close(IN); print multipart_end; if ($DELAY) { sleep $DELAY; } else { W: while (1) { # sleep(1); (undef, undef, undef, undef, undef, undef, undef, $nsize, undef, $nmtime) = stat "$file.png"; if($mtime != $nmtime || $size != $nsize) { $mtime = $nmtime; $size = $nsize; last W; } } } } Digital TV scan tablesJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/uk-Sudbury (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2011-09-08update scan files for fi-*Christoph Pfister51-10/+61
submitted by crope iki.fi
2011-09-08update scan file for es-DonostiaChristoph Pfister1-11/+10
submitted by tlaurikainen gmail.com
2011-09-08update scan file for Thor-1.0WChristoph Pfister1-1/+30
submitted by harald.overas gmail.com
2011-09-08update scan file for hr-AllChristoph Pfister1-11/+11
submitted by samuel.rakitnican gmail.com
2011-09-08update scan file for de-BerlinChristoph Pfister1-1/+1
submitted by Frank.Reimann franksbox.de / wol snafu.de
2011-07-16update scan file for de-BerlinChristoph Pfister1-0/+1
submitted by Frank.Reimann franksbox.de
2011-07-16update scan file for de-BerlinChristoph Pfister1-5/+4
submitted by aldafu cs.tu-berlin.de
2011-07-16update scan files for sk-*Christoph Pfister26-42/+143
submitted by puk007 gmail.com
2011-07-16remove outdated scan files fr-*Christoph Pfister18-272/+0
submitted by mossroy free.fr use auto-Default or auto-With167kHzOffsets instead
2011-07-16update scan file us-Cable-Standard-center-frequencies-QAM256Christoph Pfister1-0/+36
submitted by intlvelvet gmail.com
2011-06-26update scan file for au-Sydney_North_ShoreChristoph Pfister1-1/+1
submited by sollis gmail.com