diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-06 10:25:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-06 10:25:42 +0200 |
commit | 962596f4abc3790ac0f3f317079a3362210fff8f (patch) | |
tree | b9428aea092f90731b389604fcc8540070dbf556 /eit.c | |
parent | b7615a7ae144789da14d32019b2f86fc4bf6dcef (diff) | |
download | vdr-962596f4abc3790ac0f3f317079a3362210fff8f.tar.gz vdr-962596f4abc3790ac0f3f317079a3362210fff8f.tar.bz2 |
Modified channel handling; full DiSEqC support
Diffstat (limited to 'eit.c')
-rw-r--r-- | eit.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -16,7 +16,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: eit.c 1.52 2002/09/20 16:24:17 kls Exp $ + * $Id: eit.c 1.53 2002/10/05 13:44:23 kls Exp $ ***************************************************************************/ #include "eit.h" @@ -40,6 +40,7 @@ #include <sys/types.h> #include <time.h> #include <unistd.h> +#include "channels.h" #include "config.h" #include "libdtv/libdtv.h" #include "videodir.h" @@ -456,7 +457,7 @@ static void ReportEpgBugFixStats(bool Reset = false) for (int c = 0; c < p->n; c++) { cChannel *channel = Channels.GetByServiceID(p->serviceIDs[c]); if (channel) { - q += snprintf(q, sizeof(buffer) - (q - buffer), "%s%s", delim, channel->name); + q += snprintf(q, sizeof(buffer) - (q - buffer), "%s%s", delim, channel->Name()); delim = ", "; } } @@ -768,7 +769,7 @@ void cSchedule::Dump(FILE *f, const char *Prefix) const cChannel *channel = Channels.GetByServiceID(uServiceID); if (channel) { - fprintf(f, "%sC %u %s\n", Prefix, uServiceID, channel->name); + fprintf(f, "%sC %u %s\n", Prefix, uServiceID, channel->Name()); for (cEventInfo *p = Events.First(); p; p = Events.Next(p)) p->Dump(f, Prefix); fprintf(f, "%sc\n", Prefix); |