Mailing List archive

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

[vdr] Re: No channels in vdradmin



> I'm using vdradmin 0.9.6 and vdr 1.3.17 (Debian with the threadsafe
> patched modified to use Klaus' latest changes). In vdradmin the lists of
> channels (in Channels screen and in What's On and Configuration menus)
> are all empty.

IIRC the attached patch fixed that problem for me.
(Patch already sent upstream.)
Use channel tid only if it's available, frequency otherwise.

--- vdradmind.pl~	2004-04-06 16:41:18.000000000 +0300
+++ vdradmind.pl	2004-12-11 12:13:00.936749520 +0200
@@ -454,7 +454,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});
 			}

Home | Main Index | Thread Index