"Pferdekaemper, Thorsten" wrote:
> Hi, 
> I have tested the XMLTV program guide in my freevo installation
> yesterday. I have found out some things which I want to share. (This
> applies to german program listings...)
>
> 1. Somewhere in the Docs, I have found that you can just wget the
> listings from yasd.cc. This does not seem to work any more. Just use
> www.szing.at instead.
>
> 2. wget'ting the listings directly lead to wrong start and stop
> times. The times were shifted about 1 hour. Also the format of the
> resulting XML seemed not be exactly what freevo wanted to
> have. (E.g. there was no channel table) I now use tv_grab_de, which
> works much better. ( I had to change the channel ids in
> local_conf.py.)

Maybe this should be removed from the docs. The latest version of the
German grabber finally works, older ones where buggy.

> 3. The program listings have programs which overlap. For example, on
> 3SAT, they always have a program "anders fernsehen" which runs the
> whole day... Another example was "ARD Frühstücksfernsehen" which
> seems to run from 5:30 in the morning until 4:45 the next
> morning. This is obviously wrong. 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)

> 4. In the listings from szing.at, the last program of the last day
> listed does not have a proper stop time. The file epg_xmltv.py
> contains a documentation that it should be able to cope with that,
> but it lead to a "corrupted" program guide. I have changed the line

> prog.stop = timestr2secs_utc(p['start'][0:8] + '235900' + p['start'][14:18])
> to 
> 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.


Dischi

-- 
An aquarium is just interactive television for cats.


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