I live in Australia, after writing my own xmltv grabber for local content I
was able to test out scheduling.

I ran into a couple of problems with timezones. 

record_daemon.py was incorrectly reading the times from the
freevo_record.lst and then writing them out as an even different time again.

I was able to fix these problems by replacing the calls to strptime (which
seems broken when working with timezones) with the 'timestr2secs_utc()'
method in epg_xmltv.py. timestr2secs_utc() takes xmltv format time string
which is easy to make from the data that was being passed to strptime.

I had to make changes in 'record_daemon.py:ScheduleItem:__init__' and
'record_video.py:set_schedule'.

After doing this, my scheduling works perfectly.

Is this a bug or am I doing something wrong?

If this needs fixing, then the freevo_record.lst format might need to be
changed to store the timezone (unless we say that the stored times are UTC).

Regards

Alex



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to