#!/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; } } } } tablesJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
path: root/isdb-t/br-sc-IporaDoOeste (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2019-08-12Makefile: fix dvbv3/dvbv5 outputMauro Carvalho Chehab1-3/+4
2019-08-12Improve Makefile to avoid "Argument list too long" errorJames Le Cuirot1-6/+10
2019-03-25UPC Czech Republic: added mux 538 MHz with 256 QAMJosef Schlehofer1-5/+13
2019-03-25UPC Czech Republic: added more muxes and change QAM/256 on 626 MHzJosef Schlehofer1-3/+19
2019-03-25Update Astra-19.2ECvH1-4/+5
2019-03-14Intelsat-907-27.5W: update from current LyngSat dataMauro Carvalho Chehab1-24/+197
2019-03-14Intelsat-905-24.5W: update from current LyngSat dataMauro Carvalho Chehab1-18/+711
2019-03-14Add missing satellitesMauro Carvalho Chehab219-2/+61017