[pvrusb2] Xawtv4 Radio and pvrusb2
Roger
rogerx.oss at gmail.com
Thu Feb 9 19:33:28 CST 2012
Xawtv-4's radio application seems to work fine for pvrusb2 29xxx devices.
An example session:
1) In one terminal, run a player on /dev/radio0 device.
$ mpeg2desc -a0 < /dev/radio0 | madplay -
Or
$ mpeg2desc -a0 < /dev/radio0 | mpg123 -
Or
$ mpeg2desc -a0 < /dev/radio0 | mpg321 -
Or
$ mpeg2desc -a0 < /dev/radio0 | mplayer -
2) In another terminal, run Xawtv-4's radio binary.
$ xawtv-4-install/bin/radio (-c /dev/radio0)
There is a hiccup or stumbling block when generating the initial radio
configuration file ($HOME/.radio.
1) First create the mapping file or file recording the strong signals for your
area.
$ xawtv-4-install/bin/radio -i > $HOME/.radio
2) The xawtv4 forgets to write a [Buttons] section within the .radio config
file, which makes the .radio useful for users using 'radio'!
A final file might look something like this:
$ cat ~/.radio
[Buttons]
1=95900000
2=96900000
3=103900000
[Stations]
95900000=scan-14
96900000=scan-15
100290000=scan-17
(The [Stations] section contains all your local areas hot/strong frequencies,
while the [Buttons] section contains hot keys or presets which will display the
frequencies/button within the radio application.)
One other concern for the bin/radio program, The color red for the preset
ncurses widget seems to blind us!
--
Roger
http://rogerx.freeshell.org/
More information about the pvrusb2
mailing list