> -----Urspr�ngliche Nachricht-----
> Von: Dirk Meyer [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 29. August 2003 11:50
> An: [EMAIL PROTECTED]
> 
> > 3. The program listings have programs which overlap. 
> > I have put some coding at the end
> > of load_guide() in epg_xmltv.py which checks if one programs stop
> > time is greater than the start time of the next program. If yes, it
> > changes the stop time to the start time of the next program.  If
> > someone is interested, I'll post the coding here. Perhaps this could
> > be included in the next release?
> 
> There is correction code already in CVS. Your solution doesn't work,
> because some tv guides have the listing not in timed order. Right now
> the fix does:
> 
> if last.start < current.start and last.stop > current.stop:
>    last.stop = current.start
> 
> This works for me (German, too)

I have had a look at the CVS and have not found a fix like that. My solution works for 
me. I have tested it. I do it after guide.Sort() in load_guide(). So the guide should 
be sorted...

> > prog.stop = timestr2secs_utc(p['start'][0:7] + '235900' +
> p['start'][14:])
> > After that, it worked fine.
> 
> I will take a look at this.
> 
> > Perhaps that should also be included in the next release?
> 
> If it works, it will. Thanks.

It works for me with the szing.at-listings. But it looks a little bit weird, because 
all the programs at the end of the guide are running a little bit long...
I have thought about just not displaying them at all in the tv guide. They will appear 
next time.

Regards,
        Thorsten



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to