I have installed ir-system. im trying to put work recordserver and irsend together.
Is that possible at freevo? or does it need some hack ?
irsend works with freevo, it changes channel(15) when wathing tv. but,
i cannot get irsend work with recordserver, i have enabled the ir plugin at the plugins:
freevo-logs is not saying anything about lirc or errors.
parts of my conf: i can paste all config is that needed.
plugin_external_tuner = plugin.activate('tv.irsend_generic', args=('/root/vaihda_kanava.sh'))
CMP_INPUT = 1
CMP_PRE_REC = ('amixer sset Line unmute cap');
#CMP_PRE_REC = ('amixer set Line 24 mute');
CMP_CMD = (CONF.mencoder + ' ' +
'tv:// ' +
'-tv driver=%s:input=%d' % (TV_DRIVER, CMP_INPUT) +
':norm=%s' % CONF.tv +
':width=%d:height=%d' % (TV_REC_SIZE[0], TV_REC_SIZE[1]) +
':outfmt=%s' % TV_REC_OUTFMT +
':device=%s' % TV_DEVICE +
CMP_AUDIO + ' ' +
'-ovc lavc -lavcopts ' +
'vcodec=mpeg4' +
':vqscale=3 ' +
'-oac mp3lame -lameopts ' +
'br=128:cbr:mode=3 ' +
'-ffourcc divx ' +
'-endpos %(seconds)s ' +
'-o %(filename)s ')
CMP_POST_REC = ('amixer set Line 24 unmute');
#CMP_POST_REC = ('amixer sset Mic mute');
#(((( That CMP thing is composite video pacth to freevo )))
VIDEO_GROUPS = [
VideoGroup(vdev=TV_DEVICE,
adev=AUDIO_DEVICE,
input_type='tuner',
input_num='4',
tuner_norm='PAL',
# tuner_chanlist='vakio',
tuner_chanlist='europe-west',
tuner_type='internal',
desc='Analogia_TV-Kortti',
group_type='tv',
recordable=True),
VideoGroup(vdev=TV_DEVICE,
adev='/dev/dsp0',
input_type='composite',
input_num='1',
tuner_type='external',
tuner_norm='PAL',
# tuner_chanlist='europe-west',
# tuner_chan='4',
desc='composite',
# group_type='tv',
recordable=True),
]
TV_CHANNELS = [
( '0.telkku.com', 'TV 1', 'E8' ),
( '1.telkku.com', 'TV 2', 'E6' ),
( '2.telkku.com ', 'MTV 3', 'E12' ),
( '3.telkku.com', 'Nelonen', 'E10' ),
( '4.telkku.com', 'Subtv', 'SE14' ),
# ( 'joojoo', 'Modulaattori', 'E1' ),
( 'composite', 'Video-IN', '15',0,1 ) ]
--------------------
freevo:~# cat /root/vaihda_kanava.sh
#!/bin/sh
remote=testi
/usr/local/bin/irsend -d /dev/lircd1 SEND_ONCE $remote 1
sleep 1
/usr/local/bin/irsend -d /dev/lircd1 SEND_ONCE $remote OK
/usr/local/bin/irsend -d /dev/lircd1 SEND_ONCE $remote EXIT
sleep 0.3
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend --device=/dev/lircd1 SEND_ONCE $remote $digit
sleep 0.3
done
/usr/local/bin/irsend -d /dev/lircd1 SEND_ONCE $remote $2
sleep 0.3
/usr/local/bin/irsend -d /dev/lircd1 SEND_ONCE $remote OK
-------------------------
thanks already for help. -Riku
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-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
