i tryed to schedule a record and got this (error in File "src/tv/record_daemon.py", line 44, in __init__):
REC: generate_main
SCHEDULE: E9, Thu Mar 27 22:15:00 2003, ./testfiles/Movies/Recorded/Die_Harald_Schmidt_Sho
w_20030327_2215_ch_E9
SCHEDULE: /usr/local/bin/mencoder -tv on:driver=v4l:input=0:norm=PAL:channel=E9:chanlist=e
urope-west:width=320:height=240:outfmt=yv12:device=/dev/video0:adevice=/dev/dsp0:audiorate
=32000:forceaudio:forcechan=1:buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200
:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -o ./testfiles/Movies/Re
corded/Die_Harald_Schmidt_Show_20030327_2215_ch_E9.avi
Crash!
Traceback (most recent call last):
File "src/main.py", line 581, in ?
main_func()
File "src/main.py", line 803, in main_func
File "src/main.py", line 408, in getcmd
osd.focused_app.eventhandler(event)
File "src/menu.py", line 460, in eventhandler
action( arg=menu.selected.action_arg, menuw=self )
File "src/tv/record_video.py", line 284, in set_schedule
record_daemon.schedule_recording(start_time_s, len_secs, sch_cmd)
File "src/tv/record_daemon.py", line 166, in schedule_recording
main()
File "src/tv/record_daemon.py", line 115, in main
item = ScheduleItem(vals[0], vals[1], vals[2])
File "src/tv/record_daemon.py", line 44, in __init__
self.length_secs = int(length_secs)
ValueError: int() literal too large: 2147483700
killall: Sending signal 9 to pid 3900 ("./runtime/dll/freevo_loader ./runtime/apps/freevo_
python src/main.py ")
./freevo: line 70: 3900 Killed ./runapp python src/main.py $@
-------------------------------------------
so i edited record_daemon.py line 44 ---- class ScheduleItem:
def __init__(self, start_time, length_secs, cmd):
# Convert start_time to Unix time if needed
if type(start_time) == type(''):
t = time.strptime(start_time, '%Y-%m-%d %H:%M:%S')
self.start_time = time.mktime(t)
else:
self.start_time = int(start_time)
self.length_secs = int(600) #int(length_secs) <----Line 44
self.cmd = cmd
----and freevo started recording
luckily the record file was not 600 secs long but it was as long as length_secs
so is that a bug or something??
ps.:
is there a way to start a record while watching tv by pressing the pause button or by hitting some special key?? thougt that feature is now included - isnt it??
bye, thomas
--
Thomas Osche [EMAIL PROTECTED] [EMAIL PROTECTED] www.osche.com fingerprint: B5D5 6889 FB78 3F7C C505 942D CFDB 9688 072F 04C8 --
------------------------------------------------------- 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-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
