Mailing List archive

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

[vdr] Re: Subdirs and Subtitle - another implementation suggestion



Emil Naepflein wrote:
> 
> On Sun, 03 Feb 2002 11:47:36 +0100, Klaus Schmidinger
> <Klaus.Schmidinger@cadsoft.de> wrote:
> 
> > which will name this to whatever the tv station broadcasts at the time.
> >
> > If no EPG data is available at the time of recording, TITLE will default
> > to the station name (with or without the preceeding '@', depending on the
> > individual setup) and EPISODE will default to "_" (actually a 'blank' character),
> > which is what it does already in case of a periodic timer.
> >
> > Any objections to this?
> 
> What is with the idea to set title and episode to the info which was
> transmitted for the longest time during the recording period. Remember
> that the recording starts normally earlier when the info of the previous
> transmission is still provided. Another way to handle this is to use the
> info which is transmitted half-way between start and endtime. The
> Problem with all this is that all the file structure already exists. A
> kind of rename functionality would be necessary which also would be
> useful in other cases.

Take a look at menu.c, cRecordControl::GetEventInfo().
It takes that EPG record which covers the point in time that
is in the middle between start and end time. If no such record
is there, it waits up to 10 seconds for it to arrive, which
should be enough.

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
_______________________________________________________________



Home | Main Index | Thread Index