Justin Wetherell wrote:
> Anyone know how to configure VIDEO_GROUPS and TV_CHANNELS, so I can
> schedule a recording on the composite input?

VIDEO_GROUPS = [
    VideoGroup(vdev='/dev/video0',
               adev=None,
               input_type='tuner',
               input_num=0,
               tuner_norm='NTSC',
               tuner_chanlist='us-cable',
               desc='Cable (view)',
               group_type='ivtv',
               record_group=1),
    VideoGroup(vdev='/dev/video0',
                adev=None,
                input_type='tuner',
               input_num=0,
               tuner_norm='NTSC',
               tuner_chanlist='us-cable',
               desc='Cable (record)',
               group_type='ivtv',
               record_group=None)
]

The is no need to change TV_CHANNELS unless you have assigned a tuner to
a particular channel.

> On 10/11/06, Duncan Webb <[EMAIL PROTECTED]> wrote:
>> Justin Wetherell wrote:
>>> This is my current implementation:
>>> VIDEO_GROUPS = [
>>>     VideoGroup(vdev='/dev/video0',
>>>                adev=None,
>>>                input_type='tuner',
>>>                input_num=0,
>>>                tuner_norm='NTSC',
>>>                tuner_chanlist='us-cable',
>>>                desc='Cable',
>>>                group_type='ivtv',
>>>                player=None),
>>>     VideoGroup(vdev='/dev/video0',
>>>                adev=None,
>>>                input_type='tuner',
>>>                input_num=0,
>>>                tuner_norm='NTSC',
>>>                tuner_chanlist='us-cable',
>>>                desc='Cable',
>>>                group_type='ivtv',
>>>                player=True)
>>> ]
>>>
>>> If I understand you correctly, player is a counter not a boolean?
>> It's an index into VIDEO_GROUPS
>>
>> # video groups
>> VIDEO_GROUPS = [
>> # group 0, the default group for playback
>>     VideoGroup(vdev = '/dev/video0',
>>         adev = None,
>>         input_type = 'tuner',
>>         input_num = 4,
>>         tuner_norm = CONF.tv,
>>         tuner_chanlist = CONF.chanlist,
>>         desc = 'PVR-500 Video Playback Tuner',
>>         group_type = 'ivtv',
>>         record_group = 1),
>> # group 1, the record tuner to group #0
>>     VideoGroup(vdev = '/dev/video1',
>>         adev = None,
>>         input_type = 'tuner',
>>         input_num = 4,
>>         tuner_norm = CONF.tv,
>>         tuner_chanlist = CONF.chanlist,
>>         desc = 'PVR-500 Video Record Tuner',
>>         group_type = 'ivtv',
>>         record_group = None),
>> # group 2, a webcam
>>     VideoGroup(vdev = '/dev/video2',
>>         adev = None,
>>         input_type = 'webcam',
>>         desc = 'Logitech Quickcam',
>>         group_type = 'webcam',
>>         record_group = None),
>> ]
>>
>> the record_group = 1 in the # group 0 means use # group 1 for recording.
>>
>> I say it is the default group because it can be overridden in
>> TV_CHANNELS. eg:
>>
>> # tv channels
>> TV_CHANNELS = [
>>     ('C1.sfdrs.ch',     u'SF 1', 'K05', '', '0', '777'),
>> #                                            ^group for tv playback.
>>     ('C2.sfdrs.ch',     u'SF 2', 'K10', '', '0', '777'),
>>     ('webcam',          u'WebCam', '0', '', '2'),
>> #                                            ^group for webcam.
>> ]
>>
>>
>> Hope this helps
>>
>>> On 10/11/06, *John Molohan* <[EMAIL PROTECTED]
>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>
>>>     Duncan,
>>>
>>>     Can you post an example of VIDEO_GROUPS for current svn?
>>>
>>>     Thanks,
>>>
>>>     John
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> Using Tomcat but need to do more? Need to support web services, security?
>>> Get stuff done quickly with pre-integrated technology to make your job 
>>> easier
>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Freevo-devel mailing list
>>> Freevo-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> Freevo-devel mailing list
>> Freevo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>>
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
> 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to