[mythtv] FEATURE REQUEST: be able to set a channel change script to control antenna rotor

Jarod Wilson jarod at wilsonet.com
Tue Jun 21 21:20:58 UTC 2005

On Tuesday 21 June 2005 11:54, Jason Weinstein wrote:
> I did not realize that was Issac speaking to me on IRC.

Heh, yup, that was him.

> I already have done much work getting the rotor/Antenna/LIRC setup and
> am not ready to give up on the MythTV component yet. Considering I'm
> not much (if any) of a programmer, which file/module in the source
> code actually handles the channel changing?

For a DVB card, I'd look in libs/libmythtv/dvbchannel.*

> Any hints/tips would be 
> greatly appreciated on what I should do to make an external script to
> be run whenever the channel is changed. Of course, I'd want to make
> this script run in addition to MythTV changing the channel of the
> tuner on the DVB card.

Can't offer much more than the above, I'm no programmer either.

> On 6/21/05, Jarod Wilson <jarod at wilsonet.com> wrote:
> > On Jun 20, 2005, at 19:45, George Nassas wrote:
> > >> and now need a way to make MythTV run a command to have LIRC's irsend
> > >> send a signal to my rotor controller whenever the channel is changed.
> > >
> > > This sort of question should be posted on the users list before
> > > this one but in any case in mythtv-setup under input connections
> > > and then the specific connection that corresponds to your antennae
> > > there is an spot for an external channel change command. Put the
> > > name of your script in there and it'll get called at the
> > > appropriate time with the channel number as the first argument.
> >
> > For the archives: as Isaac said on IRC earlier today, that would
> > entirely disable the internal channel-change code, so the card itself
> > would never change channels, so your script would also have to do the
> > channel changing instead of it getting done internally by Myth.

Jarod Wilson
jarod at wilsonet.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050621/46e77ce5/attachment.pgp

More information about the mythtv-dev mailing list