[mythtv-users] Changing channel using external command line

Michael T. Dean mtdean at thirdcontact.com
Wed Jan 30 21:34:14 UTC 2008

On 01/30/2008 04:26 PM, Husam Senussi wrote:
> What kind of parameter an external script should expect to change  
> channel, I wrote test script to dump
> the parameter to see which one is the channel but the dump shows no  
> parameter.
> Just want to know my right syntax I should be using to pass channel  
> number using mythtv-setup !!!

The first--and only--argument that's added to then end of the command 
line specified as the "External channel change command" is the channel 
number (technically, it's whatever is specified as the freqid for the 
channel).  This is shown in the help text displayed when the setting has 
focus, if you have a sufficiently-high resolution screen or 
sufficiently-small font size:

External channel change command
If specified, this command will be run to change the channel for inputs 
which have an external tuner device such as a cable box. The first 
argument will be the channel number.

You can add your own arguments before the channel number by simply 
including them in the command line.


More information about the mythtv-users mailing list