Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: PATCH: vdradmin-0.24-pre6 and autopid



Hi Andreas,

i dont know why, but the patch fails, it is easy to fix by hand.
On line 386 the following does not work:
- service_id => $service_id
+ service_id => $service_id,
+ nid => $nid,
+ tid => $tid

The patch also works for vdradmin-0.23, with the same reject, but
no trouble on that either.

But, vdradmin-0.24-pre6 looks very disorted on a 800 pixel
resolution, one has to scroll sideways, and thats quite
difficult without keyboard, also the new gxf is too bright
if one uses vdradmin on a tv-out (thus 800 is maximum, while 640 would give a clearer view...), perhaps consider that before making it a
release...

Besides that, i consider vdr incomplete without its admin :-)))))
And to make one more real compliment:
I start to forget when my loved series run, since
your vdradmin takes care of putting it on my disk and
leaving me with the best viewing pleasure !

regards Onno Kreuzinger




Andreas Kool schrieb:
Hi Tom,

the following patch enables vdradmin-0.24-pre6 to be used with
vdr-1.1.29-autopid-2

---8<-----if--you--cut--here--you--will--probably--destroy--your--monitor---
--- vdradmind.pl.orig	2003-04-30 14:34:54.000000000 +0200
+++ vdradmind.pl	2003-05-03 14:46:48.000000000 +0200
@@ -377,7 +377,7 @@
     chomp;
     my($vdr_id, $temp) = split(/ /, $_, 2);
     my($name, $frequency, $polarization, $source, $symbolrate, $vpid, $apid,
-      $tpid, $ca, $service_id) = split(/\:/, $temp);
+      $tpid, $ca, $service_id, $nid, $tid) = split(/\:/, $temp);
     push(@CHAN, {
       vdr_id       => $vdr_id,
       name         => $name,
@@ -389,7 +389,9 @@
       apid         => $apid,
       tpid         => $tpid,
       ca           => $ca,
-      service_id   => $service_id
+      service_id   => $service_id,
+      nid	   => $nid,
+      tid	   => $tid
     });
   }
 }
@@ -402,9 +404,9 @@
 				return($channel->{vdr_id});
 			}
 		}
-	} elsif($channel_id =~ /^(.*)-.*-(.*)-(.*)$/) {
+	} elsif($channel_id =~ /^(.*)-(.*)-(.*)-(.*)$/) {
 		for my $channel (@CHAN) {
-			if($channel->{source} eq $1 && $channel->{frequency} == $2 && $channel->{service_id} == $3) {
+			if($channel->{source} eq $1 && $channel->{nid} == $2 && $channel->{tid} == $3 && $channel->{service_id} == $4) {
 				return($channel->{vdr_id});
 			}
 		}
---8<-----if--you--cut--here--you--will--probably--destroy--your--monitor---

Ciao,
Andreas
--
Andreas Kool (akool@akool.de * akool@isdn4linux.de * http://www.akool.de)
PGP: 3FBF2411 Fingerprint: B5 35 34 74 25 60 2A 7A  89 06 92 C4 08 BA A5 BD
(To get my PGP key, send me a mail with subject "send pgp key")
		X <-- Nail here for a new Monitor
Transmission of this message via the Microsoft Network is prohibited





--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index