#!/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; } } } } b'>Digital TV scan tablesJonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
path: root/dvbv5_isdb-t/br-sp-AparecidaDOeste (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2014-09-04Remove zeros on the left for channel frequenciesMauro Carvalho Chehab34-794/+794
2014-09-02Add Brazil's remaining states tablesMauro Carvalho Chehab117-0/+12386
2014-09-02Add Brazil's Goias state tablesMauro Carvalho Chehab22-0/+2560
2014-09-02Add Brazil's Rio de Janeiro state tablesMauro Carvalho Chehab29-0/+3828
2014-09-02Add Brazil's Paraiba state tablesMauro Carvalho Chehab45-0/+2600
2014-09-02Add Brazil's Sergipe state tablesMauro Carvalho Chehab47-0/+3563
2014-09-02Add Brazil's Santa Catarina state tablesMauro Carvalho Chehab56-0/+4257
2014-09-02Add Brazil's Parana state tablesMauro Carvalho Chehab60-0/+5284
2014-09-02Add Brazil's Minas Gerais state tablesMauro Carvalho Chehab62-0/+3695
2014-09-02Add Brazil's Rio Grande do Sul state tablesMauro Carvalho Chehab69-0/+4731
2014-09-02Add Brazil's Bahia state tablesMauro Carvalho Chehab83-0/+6397
2014-09-02Add Brazil's Sao Paulo state tablesMauro Carvalho Chehab197-0/+23613