Update of /cvsroot/freevo/freevo/src/tv/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10194
Modified Files:
generic_record.py
Log Message:
add pre and post recording script variables. you could say put your aumix junk here
for line in recording.
Index: generic_record.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/plugins/generic_record.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** generic_record.py 10 Jan 2004 04:12:02 -0000 1.15
--- generic_record.py 28 May 2004 02:27:59 -0000 1.16
***************
*** 11,14 ****
--- 11,17 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.16 2004/05/28 02:27:59 mikeruelle
+ # add pre and post recording script variables. you could say put your aumix junk
here for line in recording.
+ #
# Revision 1.15 2004/01/10 04:12:02 outlyer
# Take a snapshot/thumbnail after a file is recorded...
***************
*** 185,188 ****
--- 188,195 ----
if DEBUG: print('Record_Thread::run: cmd=%s' % self.command)
+ tv_lock_file = config.FREEVO_CACHEDIR + '/record'
+ open(tv_lock_file, 'w').close()
+
+ # should prolly be replaced with new pre recording command
# The FreeBSD bsdbt848 driver does not support the adevice
# setting, so we must switch the mixer to the correct record
***************
*** 192,197 ****
os.system('mixer =rec line rec 100 > /dev/null 2>&1')
! tv_lock_file = config.FREEVO_CACHEDIR + '/record'
! open(tv_lock_file, 'w').close()
self.app = RecordApp(self.command)
--- 199,204 ----
os.system('mixer =rec line rec 100 > /dev/null 2>&1')
! if hasattr(config, "VCR_PRE_REC") and config.VCR_PRE_REC:
! os.system(config.VCR_PRE_REC)
self.app = RecordApp(self.command)
***************
*** 206,209 ****
--- 213,219 ----
self.app.kill()
+ if hasattr(config, "VCR_POST_REC") and config.VCR_POST_REC:
+ os.system(config.VCR_POST_REC)
+
os.remove(tv_lock_file)
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog