Mailing List archive

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

[vdr] Re: vdradmin v0.12 with vdr-1.0.0pre2



Matthias Schniedermeyer wrote:
> 
> > > for all who like vdradmin: due to some changes in vdr-1.0.0pre ... my
> > > favorite "Programmübersicht" in vdradmin did not show up in a browser.
> > > While further looking into it, I found out that this was due to a new
> > > field "table id" in vdrs epg.data. vdradmin does not recognize date fields
> > > correctly anymore (showing up with a year of 1970).
> > >
> > > If you change the regexp in line 534 of vdradmin.pl (v0.12) from:
> > >
> > >         if(/^E (.*) (.*) (.*)/) {
> > >
> > > to
> > >
> > >         if(/^E (.*) (.*) (.*) (.*)/) {
> > >
> > > it works as expected (not talking for any other feature indeed ;-))
> > >
> > > Peter
> >
> > The fourth field is optional, so I would suggest to use
> >
> >   if(/^E (.*?) (.*?) (.*?)/) {
> >
> > as will the next verion of epg2html.pl.
> 
> /^E\s(\d+)\s+(\d+)\s+(\d+)\s*(\d*)$/

Oder so...

Gruß
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