Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Usage of Teletext information for Program Guide
redband wrote:
>
> ...
> On the subject of a plugin... Is there an internal method of appending
> entries to the EPG, without telnetting to the SVDRP server from a
> plugin????
> I think it would be fairly trivial to make a simple plugin to import
> this proprietry EPG data.
You can set up a cEventInfo and add it to the proper cSchedule.
Here's some (untested) code that demonstrates the basic things to do:
cMutexLock MutexLock;
const cSchedules *Schedules = cSIProcessor::Schedules(MutexLock);
const cSchedule *Schedule = Schedules->GetSchedule(channelid);
cEventInfo *EventInfo = new cEventInfo(Schedule->GetChannelID(), EventID);
// set other EventInfo data here
((cSchedule *)Schedule)->AddEvent(EventInfo);
Klaus
--
_______________________________________________________________
Klaus Schmidinger Phone: +49-8635-6989-10
CadSoft Computer GmbH Fax: +49-8635-6989-40
Hofmark 2 Email: kls@cadsoft.de
D-84568 Pleiskirchen, Germany URL: www.cadsoft.de
_______________________________________________________________
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index