diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-28 14:00:28 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-28 14:00:28 +0100 |
commit | 457f5dd14c426c7324a7987c4bcd7f9b2b641b6d (patch) | |
tree | 6f2d2d38abfdc9474aa3eb01fc4bb1bc6f0e4d56 /epg.c | |
parent | 9887c0765bb2e2653dfc0325e8b6784084787102 (diff) | |
download | vdr-457f5dd14c426c7324a7987c4bcd7f9b2b641b6d.tar.gz vdr-457f5dd14c426c7324a7987c4bcd7f9b2b641b6d.tar.bz2 |
The status changes of EPG events are now logged for all channels that have timers
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -7,7 +7,7 @@ * Original version (as used in VDR before 1.3.0) written by * Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>. * - * $Id: epg.c 1.64 2006/02/26 15:07:17 kls Exp $ + * $Id: epg.c 1.65 2006/02/28 13:56:05 kls Exp $ */ #include "epg.h" @@ -156,8 +156,7 @@ void cEvent::SetVersion(uchar Version) void cEvent::SetRunningStatus(int RunningStatus, cChannel *Channel) { - if (Channel && runningStatus != RunningStatus && (RunningStatus > SI::RunningStatusNotRunning || runningStatus > SI::RunningStatusUndefined)) - if (Channel->Number() <= 30)//XXX maybe log only those that have timers??? + if (Channel && runningStatus != RunningStatus && (RunningStatus > SI::RunningStatusNotRunning || runningStatus > SI::RunningStatusUndefined) && Channel->HasTimer()) isyslog("channel %d (%s) event %s '%s' status %d", Channel->Number(), Channel->Name(), *GetTimeString(), Title(), RunningStatus); runningStatus = RunningStatus; } |