Le Jeudi 20 Janvier 2005 05:12, Mary Strimel a �crit�: > I am trying to set up freevo to use tvtime; however, it is not calling > tvtime correctly. (yes, I have run freevo configure) > > according to the logs, freevo is starting tvtime with an option of "-D > Xv". If i try to run tvtime from the command line with this option, it > fails, and the tvtime reference makes no mention of any option called > "-D". > Why is freevo adding this option, and how can I get it to stop? at a > command prompt, the tvtime string works just fine if I omit the unwanted > -D part. > thanks
You should modify the tvtime.py file using the tvtime_command.patch patch. (the location depends on your distro, but a locate tvtime.py should do the job) For people using the btaudio module who are interested by turning the tv sound on/off when turning the tv on, il join also a tv_sound.patch patch, that go along with theses config options in the /etc/freevo/local_conf.py : AUDIOTV_ON = '/etc/freevo/tvsound_on.sh' AUDIOTV_OFF = '/etc/freevo/tvsound_off.sh' The tvsound_on/off.sh look like plomb:~# cat '/etc/freevo/tvsound_on.sh' #!/bin/sh sox -r 44000 -w -t ossdsp /dev/dsp2 -t ossdsp /dev/dsp > /dev/null plomb:~# cat '/etc/freevo/tvsound_off.sh' #!/bin/sh kill -15 `pidof sox` It's rather quick and dirty, but "here it works"TM. Marco
432,440c432,438 < command = '%s -D %s -k -I %s -n %s -d %s -f %s -c %s -i %s' % (config.TVTIME_CMD, < outputplugin, < w, < s_norm, < cf_device, < 'freevo', < mychan, < cf_input) < --- > command = '%s -k -I %s -n %s -d %s -f %s -c %s -i %s' % (config.TVTIME_CMD, > w, > s_norm, > cf_device, > 'freevo', > mychan, > cf_input) 465a464,465 > tv_on = config.AUDIOTV_ON + ' & ' > os.system(tv_on) 495a496 > os.system(config.AUDIOTV_OFF)
465a464,465 > tv_on = config.AUDIOTV_ON + ' & ' > os.system(tv_on) 495a496 > os.system(config.AUDIOTV_OFF)
