I noticed the following patch was missing from vdradmin-0.97-am1.
Regards,
--- vdradmin/vdradmind.pl.orig 2005-03-21 01:05:27.000000000 -0800 +++ vdradmin/vdradmind.pl 2005-03-21 01:08:07.000000000 -0800 @@ -32,6 +32,8 @@ unshift(@INC, $BASENAME . "lib/"); }
+require File::Temp; + use CGI qw(:no_debug); use IO::Socket; use HTML::Template::Expr(); @@ -39,6 +41,7 @@ use Time::Local qw(timelocal); use POSIX ":sys_wait_h", qw(strftime mktime); use MIME::Base64(); +use File::Temp();
$SIG{CHLD} = sub { wait };
@@ -704,7 +707,7 @@
sub GZip { my $content = shift; - my $filename = "/tmp/vdradmin." . time(); + my $filename = new File::Temp("vdradmin-XXXXX", UNLINK => 1); open(PIPE, "| gzip -9 - > $filename") || die "cant open pipe to gzip ($!)"; print PIPE $$content; close(PIPE); @@ -3739,7 +3742,7 @@ ############################################################################# sub grab_picture { my $size = $q->param("size"); - my $file = "/tmp/vdr.jpg"; + my $file = new File::Temp("vdr-XXXXX", UNLINK => 1, SUFFIX => ".jpg"); my $maxwidth = 768; my $maxheight = 576; my($width, $height);
C.Y.M wrote:
It appears that if I set the configuration to show the "Timers" screen on login, then it shows me "What's on".
Also, I have attached another patch that looks like it was for vdr-1.3.x compatability way back. Im not sure if it is necessary or not..
Best Regards,
diff -u --recursive /tmp/vdradmin-0.95/vdradmind.pl vdradmin-0.95/vdradmind.pl --- /tmp/vdradmin-0.95/vdradmind.pl 2003-12-13 18:26:37.000000000 +0200 +++ vdradmin-0.95/vdradmind.pl 2004-03-17 20:40:13.000000000 +0200 @@ -452,7 +452,7 @@ for my $channel (@CHAN) { if($channel->{source} eq $1 && $channel->{nid} == $2 && - ($channel->{nid} ? $channel->{tid} : $channel->{frequency}) == $3 && + ($channel->{nid} || $channel->{tid} ? $channel->{tid} : $channel->{frequency}) == $3 && $channel->{service_id} == $4) { return($channel->{vdr_id}); }
Andreas Mair wrote:
Ah, I just figured it out. I had changed the language to English, then I noticed that all the features were missing and the drop down windows did not contain the same choices. What really needs to be done is for the English templates to be updated.
Best Regards,