[mythtv-users] External channel change not passing channel

Nick Morrott knowledgejunkie at gmail.com
Sun Apr 1 22:37:59 UTC 2007


On 01/04/07, Robin Gilks <g8ecj at gilks.org> wrote:
>
> >>> Tried running the script and this is the output:
> >>>
> >>> /usr/bin/change_channel <port> <channel number>
> >>>
> >>>
> >>> I tried echoing $1 and $2 to the screen and $1 is /dev/ttyS0 but $2 is
> >>> empty
> >>>
>
> This might seem a silly question but you do have the channel number filled
> in for the channel?
>
> I'm talking about the channel number at the top of the *second* screen of
> the channel setup in mythtv-setup - the channel number on the first screen
> is only used to determine what you type in at the keyboard or the remote
> to select the channel.

... and if you're looking in the database for the relevant field, you
want channel.freqid - you want to set this value to the channel number
you want to pass to the channel changer script.

Nick
-- 
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list