OK found the culprit!
Checked the record_daemon.py source, it uses now=time.time(). The Python library reference tells me that time.time() provides the time in UTC! So this should not even work in any timezone other than UTC itself, however it is compared against something that is created by time.strptime() which maps the time back to UTC as well. However all of this breaks with DST.


So as long as you are consistent, nothing breaks right? Now in a project with may contributors, things are bound to break....

WHOAAA!

Checking my TV listing, it mentions the time in CET (not CEST). However, when I fix that it breaks the tv guide view in Freevo (and hence the rest of the chain).

will post angain when I have solved it....

Paul

Rob Davis wrote:

The mystery continues. All the programs in the EPG are one hour late, as they are in freevoweb...

Here is an excert from TV.xml.

<programme start="20030402070000 BST" stop="20030402081000 BST" channel="channel4.com">
<title lang="en">Channel 4 Morning News</title>
<sub-title lang="en">War Report</sub-title>
<desc lang="en">Krishnan Guru-Murthy reviews the latest events in the Iraq crisis. Including sport and weather</desc>
<desc lang="en">Latest updates on the Iraq crisis, presented by Krishnan Guru-Murthy</desc>
<desc lang="en">Latest updates</desc>
<category lang="en">General News/Current Affairs</category>
<category lang="en">News/Current Affairs</category>
<subtitles type="teletext" />
</programme>


Rob Davis wrote:

Hmmm,
I don't know if this is a problem because I just had to reinstall my system or because the clocks changed here in the uk... Here is a copy of the log from tmp with the relevant time stamps highlighted..


started at Wed Apr  2 17:56:00 2003
Got 0 entries in the schedule:

Done, exiting
ADD: 2003-04-02 **18:35:00**,1500,/usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi
================================================================================


started at Wed Apr  2 17:56:08 2003
Got 1 entries in the schedule:

Parsed entry 1: "2003-04-02 **19:35:00** 1500 /usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi"


The command then executed at 19:35 bst not 18:35..... Ideas?


Relevant bit of log.

Done, exiting
================================================================================


started at Wed Apr  2 19:34:00 2003
Got 1 entries in the schedule:

Parsed entry 1: "2003-04-02 19:35:00 1500 /usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi"

Done, exiting
================================================================================


started at Wed Apr  2 19:35:00 2003
Got 1 entries in the schedule:

Parsed entry 1: "2003-04-02 19:35:00 1500 /usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi"
Starting item (/usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi -v -endpos 1469 >& /tmp/freevo_record_1049308500.log &)


Done, exiting
================================================================================


started at Wed Apr  2 19:36:00 2003
Got 1 entries in the schedule:

Got old item: "#2003-04-02 18:35:00,1500,/usr/bin/mencoder -srate 44100 -tv on:driver=v4l:input=0:norm=PAL:channel=45:chanlist=europe-west:width=320:height=240:outfmt=yv12:adevice=/dev/dsp1:audiorate=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000:keyint=15 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o /mnt/media/Movies/The_Fairly_Odd_Parents_20030402_1835_ch_45.avi"

Done, exiting



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users





-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users




-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to