On Thu, 2008-11-13 at 17:55 +0100, Roman Hausner wrote:

> I just want to set the frequency for the radio with a command that
> returns, just like with setting the frequency for the tv, because I
> want to run this command from a small GUI program. If the command does
> not return, the GUI program will lock up or will need to do odd things
> like killing the command.

$ ivtv-radio
Usage: ivtv-radio <options>
Possible options are:
[snip]
    -c <command>   Command to play audio.  This will be processed by
                   the shell, after substituting %s with the audio device.
                   Default: "aplay -f dat < %s"


$ ivtv-radio -f nnn.n -c /bin/true

(I think.)


If your GUI is smart enough to fork a child and hook up to it's stdin
and stdout, then maybe

$ ivtv-radio -j -g

is something that would be useful.


Regards,
Andy



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to