Mailing List archive

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

[vdr] Re: No clock setting with vdr 1.3.6



Hello

I've noticed, that my plain vdr 1.3.6 doesn't correct the clock. I've
enabled it in the settings and as the "clock"-transponder I've choosen "Sat1". With
this settings, vdr 1.0.x, 1.1.x, 1.2.x worked as expected. But vdr 1.3.6
(I've never tested vdr 1.3.1-1.3.5 for more than a few hours) doesn't correct
the clock, even if I watch or record Sat1 for a few hours. There are no log
entries in the syslog (the well known "system time = xyz & local time = xyz").
So I think this procedure isn't called.

For testing purposes I've adhusted my time 3 hours away from the right time,
so vdr should recognize that there is something wrong...

Have anyone the same behaviour noticed?

The problem is line 274 in file eit.c:
ISTRANSPONDER(Transponder(), Setup.TimeTransponder)) is always false,
because Setup.TimeTransponder is a _frequency_, not a _transponder_.

A quick fix would be to compare the frequencies only.
Nevertheless, this is not a good solution, because frequencies are not
necessarily unique across satellites...


Here is a quick fix. It sets the value in setup.conf to the transponder value, not the frequency.
After compiling you have to set the TimeTransponder in the setup menu again, then it will work.

------
Helmut


--- menu.c.org 2004-04-27 13:16:51.000000000 +0200
+++ menu.c 2004-04-27 13:18:25.000000000 +0200
@@ -101,7 +101,7 @@
transponder = *Value;
cChannel *channel = Channels.First();
while (channel) {
- if (!channel->GroupSep() && ISTRANSPONDER(channel->Frequency(), *Value)) {
+ if (!channel->GroupSep() && ISTRANSPONDER(channel->Transponder(), *Value)) {
number = channel->Number();
break;
}
@@ -119,7 +119,7 @@
number = *value;
cChannel *channel = Channels.GetByNumber(*value);
if (channel)
- transponder = channel->Frequency();
+ transponder = channel->Transponder();
*value = transponder;
return state;
}



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



Home | Main Index | Thread Index