From: Rob S. <rs...@us...> - 2005-12-19 22:38:27
|
Author: rshortt Date: Mon Dec 19 22:38:24 2005 New Revision: 1003 Added: trunk/record/test/channels-ivtv0.conf trunk/record/test/channels-url0.conf Modified: trunk/record/test/urlrecorder.py Log: some sample channels.conf files Added: trunk/record/test/channels-ivtv0.conf ============================================================================== --- (empty file) +++ trunk/record/test/channels-ivtv0.conf Mon Dec 19 22:38:24 2005 @@ -0,0 +1,10 @@ +# +# tunerid:name:frequency Hz +# name and frequency are optional +# + +4 +5:BRDNEWS +6:CIHF +7:ASN +9:CJCH:187250 Added: trunk/record/test/channels-url0.conf ============================================================================== --- (empty file) +++ trunk/record/test/channels-url0.conf Mon Dec 19 22:38:24 2005 @@ -0,0 +1,8 @@ +## +## Format is: +## name:id:bouquet:url +## + +chan1:1:b1:http://localhost:3080/PS/1 +chan2:2:b1:http://localhost:3080/PS/2 +chan3:3:b2:http://localhost:3080/PS/3 Modified: trunk/record/test/urlrecorder.py ============================================================================== --- trunk/record/test/urlrecorder.py (original) +++ trunk/record/test/urlrecorder.py Mon Dec 19 22:38:24 2005 @@ -10,7 +10,7 @@ kaa.base.create_logger() logging.getLogger('record').setLevel(logging.DEBUG) -dev = URLDevice('/etc/freevo/channels-%s-url0.conf' % socket.gethostname()) +dev = URLDevice('channels-url0.conf') chain = kaa.record.Chain() chain2 = kaa.record.Chain() |