#!/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; } } } } ue='switch'/> Digital TV scan tablesJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
path: root/dvb-t/se-Solleftea_Hallsta (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2009-02-28update scan files for de-*Christoph Pfister16-18/+18
2009-02-21update scan file for au-HobartChristoph Pfister1-2/+2
http://www.mail-archive.com/linux-media@vger.kernel.org/msg01791.html http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/1894
2009-02-21add scan files for fr-Montbeliard and pl-WarszawaChristoph Pfister2-0/+22
http://www.mail-archive.com/linux-media@vger.kernel.org/msg01735.html http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/1837
2009-02-10update scan file for nl-All (only comment)Christoph Pfister1-2/+2
2009-02-10update scan file for dk-All (only comment)Christoph Pfister1-0/+1
2009-02-10update scan file for ch-AllChristoph Pfister1-2/+4
2009-02-10update scan file for at-OfficialChristoph Pfister1-5/+4