#!/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; } } } } d>Jonathan McCrohan
aboutsummaryrefslogtreecommitdiffstats
path: root/isdb-t/br-rs-Ilopolis (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2018-05-10dtv-scan-tables: dvb-t/es-ZaragozaJavier GarcĂ­a1-17/+844
2018-05-10Remove Anik F1 107.3WOlliver Schinagl1-35/+0
2018-05-10Synchronize orbital position naming in filenamesOlliver Schinagl22-0/+0
2018-05-10Drop Agila 2 146.0EOlliver Schinagl1-186/+0
2018-05-10Update Amazonas 3 61.0WOlliver Schinagl2-411/+18
2018-05-10Rename ABS1 to ABS2Olliver Schinagl1-0/+0
2018-05-10Rename Atlantic Bird 3 to Eutelsat5Olliver Schinagl1-0/+0
2018-05-10Remove Atlantic Bird 1Olliver Schinagl1-270/+0
2018-05-10dtv-scan-tables - dvb-s - update and rename the config file for Atlantic-Bird...leny@netcourrier.com1-53/+663
2018-05-10Add another initial transponder for Ziggo/Netherlands.Jens Peters1-0/+8